use of org.thymeleaf.standard.StandardDialect in project thymeleaf-tests by thymeleaf.
the class ConditionalCommentsTest method testConditionalComments.
@Test
public void testConditionalComments() throws Exception {
final TestExecutor executor = new TestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new ConditionalCommentsDialect() }));
executor.execute("classpath:engine20/conditionalcomments");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.standard.StandardDialect in project thymeleaf-tests by thymeleaf.
the class AggregationTest21 method testContext.
@Test
public void testContext() throws Exception {
final TestExecutor executor = new TestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new Dialect01(), new Dialect02() }));
executor.execute("classpath:engine21/aggregation");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.standard.StandardDialect 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());
}
use of org.thymeleaf.standard.StandardDialect in project thymeleaf-tests by thymeleaf.
the class DOM30Test method testDOM.
@Test
public void testDOM() throws Exception {
final TestExecutor executor = new TestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new DOMDialect() }));
executor.execute("classpath:engine30/dom");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.standard.StandardDialect in project thymeleaf-tests by thymeleaf.
the class TestTemplateEngineConfigurationBuilder method build.
public static IEngineConfiguration build() {
final StandardDialect standardDialect = new StandardDialect();
final DialectConfiguration standardDialectConfiguration = new DialectConfiguration(standardDialect);
return new EngineConfiguration(Collections.singleton(standardDialectConfiguration), TextRepositories.createLimitedSizeCacheRepository());
}
Aggregations