use of org.thymeleaf.templateengine.stsm.context.STSMWebProcessingContextBuilder in project thymeleaf-tests by thymeleaf.
the class STSMTest method testSTSMWithoutIntegratedConversion.
@Test
public void testSTSMWithoutIntegratedConversion() throws Exception {
final TestExecutor executor = TestExecutorFactory.createTestExecutor();
executor.setProcessingContextBuilder(new STSMWebProcessingContextBuilder());
executor.setDialects(Arrays.asList(new IDialect[] { SpringSpecificVersionUtils.createSpringStandardDialectInstance() }));
executor.setThrottleStep(this.throttleStep);
executor.execute("classpath:templateengine/stsm");
Assert.assertTrue(executor.isAllOK());
}
Aggregations