use of org.thymeleaf.templateengine.templateboundaries.dialect.TemplateBoundariesDialect in project thymeleaf-tests by thymeleaf.
the class TemplateBoundariesTest method testGTVGXHTML.
@Test
public void testGTVGXHTML() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new TemplateBoundariesDialect() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/gtvg_xhtml");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.templateboundaries.dialect.TemplateBoundariesDialect in project thymeleaf-tests by thymeleaf.
the class TemplateBoundariesTest method testConditionalComments.
@Test
public void testConditionalComments() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new TemplateBoundariesDialect() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/conditionalcomments");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.templateboundaries.dialect.TemplateBoundariesDialect in project thymeleaf-tests by thymeleaf.
the class TemplateBoundariesTest method testAttrProcessor.
@Test
public void testAttrProcessor() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new TemplateBoundariesDialect() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/attrprocessors");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.templateengine.templateboundaries.dialect.TemplateBoundariesDialect in project thymeleaf-tests by thymeleaf.
the class TemplateBoundariesTest method testGTVGHTML5.
@Test
public void testGTVGHTML5() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new TemplateBoundariesDialect() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/gtvg_html5");
Assert.assertTrue(executor.isAllOK());
}
Aggregations