use of org.thymeleaf.templateengine.context.dialect.ContextDialect in project thymeleaf-tests by thymeleaf.
the class ContextTest method testContextBase.
@Test
public void testContextBase() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new ContextDialect() }));
executor.setProcessingContextBuilder(new WebProcessingContextBuilder());
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/context/base");
Assert.assertTrue(executor.isAllOK());
}
Aggregations