org.springframework.batch.core.repository.support
Class SimpleJobRepositoryTests
java.lang.Object
TestCase
org.springframework.batch.core.repository.support.SimpleJobRepositoryTests
public class SimpleJobRepositoryTests
- extends TestCase
Test SimpleJobRepository. The majority of test cases are tested using
EasyMock, however, there were some issues with using it for the stepExecutionDao when
testing finding or creating steps, so an actual mock class had to be written.
- Author:
- Lucas Ward
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleJobRepositoryTests
public SimpleJobRepositoryTests()
setUp
public void setUp()
throws Exception
- Throws:
Exception
testSaveOrUpdateInvalidJobExecution
public void testSaveOrUpdateInvalidJobExecution()
testSaveOrUpdateValidJobExecution
public void testSaveOrUpdateValidJobExecution()
throws Exception
- Throws:
Exception
testSaveOrUpdateStepExecutionException
public void testSaveOrUpdateStepExecutionException()
Copyright © 2008 SpringSource. All Rights Reserved.