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 = TestExecutorFactory.createTestExecutor();
executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/conditionalcomments");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.standard.StandardDialect 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());
}
use of org.thymeleaf.standard.StandardDialect in project thymeleaf-tests by thymeleaf.
the class DOM20Test 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:engine20/dom");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.standard.StandardDialect 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.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:engine21/conditionalcomments");
Assert.assertTrue(executor.isAllOK());
}
Aggregations