BATCH-1745 - removed excessive schema, added test and cleaned up schema

mappings
This commit is contained in:
Will Schipp
2013-01-16 21:35:13 -05:00
committed by Michael Minella
parent 4433e2bd19
commit 85c1d06a7d
5 changed files with 74 additions and 1337 deletions

View File

@@ -0,0 +1,28 @@
package org.springframework.batch.core.configuration.xml;
import static org.junit.Assert.assertTrue;
import javax.annotation.Resource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.batch.core.step.AbstractStep;
import org.springframework.context.ApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
public class AbstractStepParserTest {
@Resource
private ApplicationContext context;
@Test
public void test() throws Exception {
//retrieve the step from the context and see that it's allow is set
AbstractStep abstractStep = context.getBean(AbstractStep.class);
assertTrue(abstractStep.isAllowStartIfComplete());
}
}