Search in sources :

Example 1 with MarkupDialect

use of org.thymeleaf.templateengine.elementprocessors.dialect.MarkupDialect in project thymeleaf-tests by thymeleaf.

the class ElementProcessorsTest method testElementMarkupProcessors.

@Test
public void testElementMarkupProcessors() throws Exception {
    final TestExecutor executor = TestExecutorFactory.createTestExecutor();
    executor.setDialects(Arrays.asList(new IDialect[] { new StandardDialect(), new MarkupDialect() }));
    executor.setThrottleStep(this.throttleStep);
    executor.execute("classpath:templateengine/elementprocessors/markup");
    Assert.assertTrue(executor.isAllOK());
}
Also used : TestExecutor(org.thymeleaf.testing.templateengine.engine.TestExecutor) MarkupDialect(org.thymeleaf.templateengine.elementprocessors.dialect.MarkupDialect) 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 MarkupDialect (org.thymeleaf.templateengine.elementprocessors.dialect.MarkupDialect)1 TestExecutor (org.thymeleaf.testing.templateengine.engine.TestExecutor)1