use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class AttrProcessorsTest method testSimpleValue.
@Test
public void testSimpleValue() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/attrprocessors/simplevalue");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class AttrProcessorsTest method testInline.
@Test
public void testInline() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/attrprocessors/inline");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class AttrProcessorsTest method testFixedValue.
@Test
public void testFixedValue() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/attrprocessors/fixedvalue");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class AttrProcessorsTest method testUnless.
@Test
public void testUnless() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/attrprocessors/unless");
Assert.assertTrue(executor.isAllOK());
}
use of org.thymeleaf.testing.templateengine.engine.TestExecutor in project thymeleaf-tests by thymeleaf.
the class AttrProcessorsTest method testReplace.
@Test
public void testReplace() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/attrprocessors/replace");
Assert.assertTrue(executor.isAllOK());
}
Aggregations