Search in sources :

Example 1 with Dialect01

use of org.thymeleaf.templateengine.prepostprocessors.dialect.Dialect01 in project thymeleaf-tests by thymeleaf.

the class PrePostProcessorsTest method testPrePostProcessors.

@Test
public void testPrePostProcessors() throws Exception {
    final TestExecutor executor = TestExecutorFactory.createTestExecutor();
    executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new Dialect01() }));
    executor.setThrottleStep(this.throttleStep);
    executor.execute("classpath:templateengine/prepostprocessors");
    Assert.assertTrue(executor.isAllOK());
}
Also used : TestExecutor(org.thymeleaf.testing.templateengine.engine.TestExecutor) Dialect01(org.thymeleaf.templateengine.prepostprocessors.dialect.Dialect01) StandardDialect(org.thymeleaf.standard.StandardDialect) IDialect(org.thymeleaf.dialect.IDialect) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 IDialect (org.thymeleaf.dialect.IDialect)1 StandardDialect (org.thymeleaf.standard.StandardDialect)1 Dialect01 (org.thymeleaf.templateengine.prepostprocessors.dialect.Dialect01)1 TestExecutor (org.thymeleaf.testing.templateengine.engine.TestExecutor)1