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:engine30/conditionalcomments");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.standard.StandardDialect in project thymeleaf-tests by thymeleaf.
the class DOM21Test 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:engine21/dom");
Assert.assertTrue(executor.isAllOK());
}
Aggregations