use of org.thymeleaf.engine30.context.dialect.ContextDialect in project thymeleaf-tests by thymeleaf.
the class ContextTest20 method testContext.
@Test
public void testContext() throws Exception {
final TestExecutor executor = new TestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new ContextDialect() }));
executor.execute("classpath:engine20/context");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.engine30.context.dialect.ContextDialect in project thymeleaf-tests by thymeleaf.
the class ContextTest30 method testContext.
@Test
public void testContext() throws Exception {
final TestExecutor executor = new TestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new ContextDialect() }));
executor.execute("classpath:engine30/context");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.engine30.context.dialect.ContextDialect in project thymeleaf-tests by thymeleaf.
the class ContextTest21 method testContext.
@Test
public void testContext() throws Exception {
final TestExecutor executor = new TestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new ContextDialect() }));
executor.execute("classpath:engine21/context");
Assert.assertTrue(executor.isAllOK());
}
Aggregations