OPEN - issue BATCH-170: Concurrent modification of StepExecution when running an asynchrounous step operation

http://opensource.atlassian.com/projects/spring/browse/BATCH-170

Fix broken tests.
This commit is contained in:
dsyer
2007-12-19 13:48:29 +00:00
parent 37696b45f4
commit 17d3397594
5 changed files with 53 additions and 388 deletions

View File

@@ -49,6 +49,14 @@ public class EntityTests extends TestCase {
assertEquals(null, entity.getVersion());
}
/**
* Test method for {@link org.springframework.batch.core.domain.Entity#getVersion()}.
*/
public void testIncrementVersion() {
entity.incrementVersion();
assertEquals(new Integer(0), entity.getVersion());
}
/**
* @throws Exception
*/