use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class Conversion5Test method testConversion.
@Test
public void testConversion() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new Conversion3WebProcessingContextBuilder());
executor.setDialects(Arrays.asList(new IDialect[] { new ConversionTestDialect5() }));
executor.execute("classpath:templateengine/conversion/conversion5");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class DataPrefixAttrProcessorsTest method testRemove.
@Test
public void testRemove() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.execute("classpath:templateengine/dataprefix/attrprocessors/remove");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class DataPrefixAttrProcessorsTest method testReplace.
@Test
public void testReplace() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.execute("classpath:templateengine/dataprefix/attrprocessors/replace");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class DataPrefixAttrProcessorsTest method testIf.
@Test
public void testIf() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.execute("classpath:templateengine/dataprefix/attrprocessors/if");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class DataPrefixAttrProcessorsTest method testEach.
@Test
public void testEach() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.execute("classpath:templateengine/dataprefix/attrprocessors/each");
Assert.assertTrue(executor.isAllOK());
}
Aggregations