@Test public void testExpression() throws Exception { final TestExecutor executor = new TestExecutor(); executor.setProcessingContextBuilder(new SpringIntegrationWebProcessingContextBuilder()); executor.setDialects( Arrays.asList( new IDialect[] {SpringSpecificVersionUtils.createSpringStandardDialectInstance()})); executor.execute("classpath:engine/springintegration/expression"); Assert.assertTrue(executor.isAllOK()); }
@Test public void testUrlsWithout() throws Exception { final SpringWebProcessingContextBuilder contextBuilder = new SpringWebProcessingContextBuilder(); contextBuilder.setApplicationContextConfigLocation( "classpath:engine30spring31/requestdata/applicationContext-without.xml"); final TestExecutor executor = new TestExecutor(); executor.setProcessingContextBuilder(contextBuilder); executor.setDialects( Arrays.asList( new IDialect[] {SpringSpecificVersionUtils.createSpringStandardDialectInstance()})); executor.execute("classpath:engine30spring31/requestdata/urlswithout"); Assert.assertTrue(executor.isAllOK()); }