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