use of org.thymeleaf.templateengine.springintegration.context.ErrorsSpringIntegrationWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class SpringIntegrationTest method testErrors.
@Test
public void testErrors() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new ErrorsSpringIntegrationWebProcessingContextBuilder());
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/springintegration/errors");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.springintegration.context.ErrorsSpringIntegrationWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class SpringIntegrationTest method testErrorsCompiledSpEL.
@Test
public void testErrorsCompiledSpEL() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new ErrorsSpringIntegrationWebProcessingContextBuilder());
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance(true) }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/springintegration/errors");
Assert.assertTrue(executor.isAllOK());
}
Aggregations