use of org.thymeleaf.templateengine.springintegration.context.SpringIntegrationWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class SpringIntegrationTest method testExpression.
@Test
public void testExpression() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new SpringIntegrationWebProcessingContextBuilder());
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/springintegration/expression");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.springintegration.context.SpringIntegrationWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class SpringIntegrationTest method testExpressionCompiledSpEL.
@Test
public void testExpressionCompiledSpEL() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new SpringIntegrationWebProcessingContextBuilder());
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance(true) }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/springintegration/expression");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.springintegration.context.SpringIntegrationWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class SpringIntegrationTest method testFormCompiledSpEL.
@Test
public void testFormCompiledSpEL() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new SpringIntegrationWebProcessingContextBuilder());
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance(true) }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/springintegration/form");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.springintegration.context.SpringIntegrationWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class SpringIntegrationTest method testBeansCompiledSpEL.
@Test
public void testBeansCompiledSpEL() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new SpringIntegrationWebProcessingContextBuilder("classpath:templateengine/springintegration/applicationContext-beans.xml"));
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance(true) }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/springintegration/beans");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.springintegration.context.SpringIntegrationWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class SpringIntegrationTest method testBeans.
@Test
public void testBeans() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new SpringIntegrationWebProcessingContextBuilder("classpath:templateengine/springintegration/applicationContext-beans.xml"));
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/springintegration/beans");
Assert.assertTrue(executor.isAllOK());
}
Aggregations