|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractTransactionalDataSourceSpringContextTests org.springframework.batch.core.repository.support.SimpleJobRepositoryIntegrationTests
public class SimpleJobRepositoryIntegrationTests
Repository tests using JDBC DAOs (rather than mocks).
Constructor Summary | |
---|---|
SimpleJobRepositoryIntegrationTests()
|
Method Summary | |
---|---|
protected String[] |
getConfigLocations()
|
void |
setJobRepository(SimpleJobRepository jobRepository)
|
void |
testCreateAndFind()
Create two job executions for same job+parameters tuple. |
void |
testCreateAndFindWithNoStartDate()
Create two job executions for same job+parameters tuple. |
void |
testGetStepExecutionCountAndLastStepExecution()
Save multiple StepExecutions for the same step and check the returned count and last execution are correct. |
void |
testOnlyOneJobExecutionAllowedRunning()
If JobExecution is already running, exception will be thrown in attempt to create new execution. |
void |
testRunNonRestartableJobInstanceTwice()
Non-restartable JobInstance can be run only once - attempt to run existing non-restartable JobInstance causes error. |
void |
testSaveExecutionContext()
Save execution context and retrieve it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleJobRepositoryIntegrationTests()
Method Detail |
---|
protected String[] getConfigLocations()
public void setJobRepository(SimpleJobRepository jobRepository)
public void testCreateAndFind() throws Exception
Exception
public void testCreateAndFindWithNoStartDate() throws Exception
Exception
public void testRunNonRestartableJobInstanceTwice() throws Exception
Exception
public void testGetStepExecutionCountAndLastStepExecution() throws Exception
Exception
public void testSaveExecutionContext() throws Exception
Exception
public void testOnlyOneJobExecutionAllowedRunning() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |