Search in sources :

Example 1 with DOMDialect

use of org.thymeleaf.engine20.dom.dialect.DOMDialect 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());
}
Also used : TestExecutor(org.thymeleaf.testing.templateengine.engine.TestExecutor) DOMDialect(org.thymeleaf.engine20.dom.dialect.DOMDialect) StandardDialect(org.thymeleaf.standard.StandardDialect) IDialect(org.thymeleaf.dialect.IDialect) Test(org.junit.Test)

Example 2 with DOMDialect

use of org.thymeleaf.engine20.dom.dialect.DOMDialect 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());
}
Also used : TestExecutor(org.thymeleaf.testing.templateengine.engine.TestExecutor) DOMDialect(org.thymeleaf.engine30.dom.dialect.DOMDialect) StandardDialect(org.thymeleaf.standard.StandardDialect) IDialect(org.thymeleaf.dialect.IDialect) Test(org.junit.Test)

Example 3 with DOMDialect

use of org.thymeleaf.engine20.dom.dialect.DOMDialect 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());
}
Also used : TestExecutor(org.thymeleaf.testing.templateengine.engine.TestExecutor) DOMDialect(org.thymeleaf.engine21.dom.dialect.DOMDialect) StandardDialect(org.thymeleaf.standard.StandardDialect) IDialect(org.thymeleaf.dialect.IDialect) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)3 IDialect (org.thymeleaf.dialect.IDialect)3 StandardDialect (org.thymeleaf.standard.StandardDialect)3 TestExecutor (org.thymeleaf.testing.templateengine.engine.TestExecutor)3 DOMDialect (org.thymeleaf.engine20.dom.dialect.DOMDialect)1 DOMDialect (org.thymeleaf.engine21.dom.dialect.DOMDialect)1 DOMDialect (org.thymeleaf.engine30.dom.dialect.DOMDialect)1