Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
352 0 0 0 100% 5.592

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.springframework.batch.core.step.item 64 0 0 0 100% 0.969
org.springframework.batch.core.resource 11 0 0 0 100% 0.203
org.springframework.batch.core.converter 9 0 0 0 100% 0
org.springframework.batch.core.step.tasklet 15 0 0 0 100% 0.031
org.springframework.batch.core.launch.support 24 0 0 0 100% 0.75
org.springframework.batch.core.job 14 0 0 0 100% 0.063
org.springframework.batch.core.configuration.support 11 0 0 0 100% 0.234
org.springframework.batch.core.repository.support 12 0 0 0 100% 0.344
org.springframework.batch.core.repository 10 0 0 0 100% 0
org.springframework.batch.core 97 0 0 0 100% 0.328
org.springframework.batch.core.step 2 0 0 0 100% 0
org.springframework.batch.core.listener 17 0 0 0 100% 0.016
org.springframework.batch.core.launch 6 0 0 0 100% 0.094
org.springframework.batch.core.repository.dao 60 0 0 0 100% 2.56

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.springframework.batch.core.step.item

Class Tests Errors Failures Skipped Success Rate Time
ItemOrientedStepTests 28 0 0 0 100% 0.172
ItemSkipPolicyItemHandlerTests 8 0 0 0 100% 0.031
RepeatOperationsStepFactoryBeanTests 3 0 0 0 100% 0.015
SimpleRetryExceptionHandlerTests 3 0 0 0 100% 0.016
SimpleStepFactoryBeanTests 5 0 0 0 100% 0.078
SkipLimitReadFailurePolicyTests 3 0 0 0 100% 0
SkipLimitStepFactoryBeanTests 7 0 0 0 100% 0.234
StatefulRetryStepFactoryBeanTests 4 0 0 0 100% 0.063
StepExecutorInterruptionTests 3 0 0 0 100% 0.36

org.springframework.batch.core.resource

Class Tests Errors Failures Skipped Success Rate Time
JdbcCursorItemReaderPreparedStatementIntegrationTests 1 0 0 0 100% 0.047
StepExecutionPreparedStatementSetterTests 3 0 0 0 100% 0.14
StepExecutionResourceProxyTests 7 0 0 0 100% 0.016

org.springframework.batch.core.converter

Class Tests Errors Failures Skipped Success Rate Time
DefaultJobParametersConverterTests 9 0 0 0 100% 0

org.springframework.batch.core.step.tasklet

Class Tests Errors Failures Skipped Success Rate Time
TaskletAdapterTests 3 0 0 0 100% 0
TaskletStepTests 12 0 0 0 100% 0.031

org.springframework.batch.core.launch.support

Class Tests Errors Failures Skipped Success Rate Time
CommandLineJobRunnerTests 4 0 0 0 100% 0.703
ScheduledJobParametersFactoryTests 6 0 0 0 100% 0.016
SimpleExportedJobLauncherTests 10 0 0 0 100% 0.015
SimpleJvmExitCodeMapperTests 4 0 0 0 100% 0.016

org.springframework.batch.core.job

Class Tests Errors Failures Skipped Success Rate Time
SimpleJobTests 14 0 0 0 100% 0.063

org.springframework.batch.core.configuration.support

Class Tests Errors Failures Skipped Success Rate Time
JobRegistryBeanPostProcessorTests 7 0 0 0 100% 0.219
MapJobRegistryTests 4 0 0 0 100% 0.015

org.springframework.batch.core.repository.support

Class Tests Errors Failures Skipped Success Rate Time
JobRepositoryFactoryBeanTests 3 0 0 0 100% 0.016
SimpleJobRepositoryIntegrationTests 6 0 0 0 100% 0.328
SimpleJobRepositoryTests 3 0 0 0 100% 0

org.springframework.batch.core.repository

Class Tests Errors Failures Skipped Success Rate Time
DuplicateJobExceptionTests 2 0 0 0 100% 0
JobExecutionAlreadyRunningExceptionTests 2 0 0 0 100% 0
JobInstanceAlreadyCompleteExceptionTests 2 0 0 0 100% 0
JobRestartExceptionTests 2 0 0 0 100% 0
NoSuchJobExceptionTests 2 0 0 0 100% 0

org.springframework.batch.core

Class Tests Errors Failures Skipped Success Rate Time
BatchStatusTests 5 0 0 0 100% 0.016
EntityTests 13 0 0 0 100% 0.015
JobExecutionExceptionTests 2 0 0 0 100% 0
JobExecutionTests 15 0 0 0 100% 0.109
JobInstanceTests 3 0 0 0 100% 0.016
JobInterruptedExceptionTests 2 0 0 0 100% 0.11
JobParametersBuilderTests 3 0 0 0 100% 0
JobParametersTests 23 0 0 0 100% 0.015
SpringBeanJobTests 3 0 0 0 100% 0.016
StepContributionTests 2 0 0 0 100% 0
StepExecutionTests 26 0 0 0 100% 0.031

org.springframework.batch.core.step

Class Tests Errors Failures Skipped Success Rate Time
ThreadStepInterruptionPolicyTests 2 0 0 0 100% 0

org.springframework.batch.core.listener

Class Tests Errors Failures Skipped Success Rate Time
CompositeChunkListenerTests 2 0 0 0 100% 0
CompositeItemReadListenerTests 4 0 0 0 100% 0
CompositeItemWriteListenerTests 4 0 0 0 100% 0
CompositeJobExecutionListenerTests 3 0 0 0 100% 0
CompositeStepExecutionListenerTests 4 0 0 0 100% 0.016

org.springframework.batch.core.launch

Class Tests Errors Failures Skipped Success Rate Time
SimpleJobLauncherTests 6 0 0 0 100% 0.094

org.springframework.batch.core.repository.dao

Class Tests Errors Failures Skipped Success Rate Time
JdbcJobDaoQueryTests 1 0 0 0 100% 0
JdbcJobDaoTests 22 0 0 0 100% 0.468
JdbcJobExecutionDaoTests 5 0 0 0 100% 0.093
JdbcJobInstanceDaoTests 3 0 0 0 100% 1.593
JdbcStepExecutionDaoTests 10 0 0 0 100% 0.312
MapJobExecutionDaoTests 5 0 0 0 100% 0.063
MapJobInstanceDaoTests 3 0 0 0 100% 0
MapStepExecutionDaoTests 10 0 0 0 100% 0.031
NoSuchBatchDomainObjectExceptionTests 1 0 0 0 100% 0

Test Cases

BatchStatusTests

testToString 0
testGetStatus 0
testGetStatusWrongCode 0
testGetStatusNullCode 0
testSerialization 0.016

JobRegistryBeanPostProcessorTests

testInitialization 0
testBeforeInitialization 0
testAfterInitializationWithWrongType 0
testAfterInitializationWithCorrectType 0
testAfterInitializationWithDuplicate 0
testUnregisterOnDestroy 0
testExecutionWithApplicationContext 0.203

MapJobRegistryTests

testUnregister 0
testReplaceDuplicateConfiguration 0
testRealDuplicateConfiguration 0
testGetJobConfigurations 0

DefaultJobParametersConverterTests

testGetParameters 0
testGetParametersWithDateFormat 0
testGetParametersWithBogusDate 0
testGetParametersWithNumberFormat 0
testGetParametersWithBogusLong 0
testGetParametersWithDouble 0
testGetProperties 0
testEmptyArgs 0
testNullArgs 0

EntityTests

testToString 0
testHashCode 0
testHashCodeNullId 0
testGetVersion 0
testIncrementVersion 0
testIncrementVersionTwice 0
testEqualsSelf 0
testEqualsSelfWithNullId 0
testEqualsEntityWithNullId 0
testEqualsEntity 0
testEqualsEntityWrongId 0
testEqualsObject 0
testEqualsNull 0

SimpleJobTests

testFailed 0
testExitStatusReturned 0.016
testRunNormally 0
testRunNormallyWithListener 0
testRunWithSimpleStepExecutor 0
testExecutionContextIsSet 0
testInterrupted 0
testFailedWithListener 0
testFailedWithError 0.016
testStepShouldNotStart 0
testNoSteps 0
testNotExecutedIfAlreadyStopped 0
testRestart 0
testInterruptWithListener 0.016

JobExecutionExceptionTests

testExceptionString 0
testExceptionStringThrowable 0

JobExecutionTests

testToString 0
testGetStatus 0
testJobExecution 0
testGetEndTime 0
testIsRunning 0
testIsRunningWithStoppedExecution 0
testGetStartTime 0
testGetJobId 0
testGetJobIdForNullJob 0
testGetJob 0
testGetExitCode 0
testContextContainsInfo 0
testAddAndRemoveStepExecution 0
testStop 0
testToStringWithNullJob 0

JobInstanceTests

testGetJob 0
testGetName 0
testCreateWithNulls 0

JobInterruptedExceptionTests

testExceptionString 0
testExceptionStringThrowable 0

JobParametersBuilderTests

testToJobRuntimeParamters 0
testOrderedTypes 0
testOrderedStrings 0

JobParametersTests

testEqualsSelf 0
testEqualsNull 0
testBadLongKeyException 0
testBadLongConstructorException 0
testBadDoubleConstructorException 0
testBadStringConstructorException 0
testBadDateConstructorException 0
testGetString 0
testGetStringParameters 0
testGetLong 0
testGetLongParameters 0
testGetDouble 0
testGetDoubleParameters 0
testGetDate 0
testGetDateParameters 0
testIsEmptyWhenEmpty 0
testIsEmptyWhenNotEmpty 0
testEquals 0
testEqualsDifferent 0
testEqualsWrongType 0
testToStringOrder 0
testHashCodeEqualWhenEmpty 0
testHashCodeEqualWhenNotEmpty 0

SimpleJobLauncherTests

testRun 0.016
testTaskExecutor 0
testRunWithException 0.063
testRunWithError 0
testInitialiseWithoutRepository 0
testInitialiseWithRepository 0

CommandLineJobRunnerTests

testMain 0.125
testJobAlreadyRunning 0.234
testWithNoParameters 0.125
testDestroyCallback 0.219

ScheduledJobParametersFactoryTests

testGetParameters 0
testGetParametersWithDateFormat 0.016
testGetParametersWithBogusDate 0
testGetProperties 0
testEmptyArgs 0
testNullArgs 0

SimpleExportedJobLauncherTests

testIsRunning 0
testStop 0
testAfterPropertiesSet 0
testAfterPropertiesSetWithLauncher 0
testGetStatistics 0
testGetStatisticsWithContent 0
testAlreadyRunning 0
testRunNonExistentJob 0
testRunJobWithParameters 0
testRunJobWithParametersAndFactory 0

SimpleJvmExitCodeMapperTests

testGetExitCodeWithpPredefinedCodes 0
testGetExitCodeWithPredefinedCodesOverridden 0
testGetExitCodeWithCustomCode 0
testGetExitCodeWithDefaultCode 0

CompositeChunkListenerTests

testBeforeChunk 0
testAfterChunk 0

CompositeItemReadListenerTests

testBeforeRead 0
testAfterRead 0
testOnReadError 0
testSetListners 0

CompositeItemWriteListenerTests

testSetListners 0
testBeforeWrite 0
testAfterWrite 0
testOnWriteError 0

CompositeJobExecutionListenerTests

testSetListeners 0
testSetListener 0
testOpen 0

CompositeStepExecutionListenerTests

testSetListeners 0.016
testSetListener 0
testOpen 0
testOnError 0

JdbcJobDaoQueryTests

testTablePrefix 0

JdbcJobDaoTests

testUpdateJobExecutionWithLongExitCode 0.031
testVersionIsNotNullForJob 0
testVersionIsNotNullForJobExecution 0.015
testFindNonExistentJob 0.016
testFindJob 0.015
testFindJobWithNullRuntime 0.016
testCreateJobWithExistingName 0.016
testUpdateJobExecution 0.015
testSaveJobExecution 0.016
testUpdateInvalidJobExecution 0
testUpdateNullIdJobExection 0.015
testIncrementExecutionCount 0
testZeroExecutionCount 0
testJobWithSimpleJobIdentifier 0.031
testJobWithDefaultJobIdentifier 0.031
testFindJobExecutions 0
testFindJobsWithProperties 0
testGetLastJobExecution 0.016
testCreateDuplicateInstance 0.015
testCreationAddsVersion 0.016
testSaveAddsVersionAndId 0.109
testUpdateIncrementsVersion 0.031

JdbcJobExecutionDaoTests

testSaveAndFind 0.031
testSaveAddsIdAndVersion 0.016
testGetExecutionCount 0.015
testUpdateExecution 0.016
testGetLastExecution 0.015

JdbcJobInstanceDaoTests

testCreateDuplicateInstance 1.578
testCreationAddsVersion 0
testCreateAndRetrieve 0.015

JdbcStepExecutionDaoTests

testUpdateExecution 0.062
testSaveExecutionAssignsIdAndVersion 0
testSaveAndFindExecution 0.031
testGetForNotExistingJobExecution 0
testSaveExecutionWithIdAlreadySet 0
testSaveExecutionWithVersionAlreadySet 0
testSaveAndFindContext 0.016
testUpdateContext 0.046
testConcurrentModificationException 0.016
testStoreInteger 0.031

MapJobExecutionDaoTests

testSaveAndFind 0.031
testSaveAddsIdAndVersion 0
testGetExecutionCount 0
testUpdateExecution 0
testGetLastExecution 0

MapJobInstanceDaoTests

testCreateDuplicateInstance 0
testCreationAddsVersion 0
testCreateAndRetrieve 0

MapStepExecutionDaoTests

testUpdateExecution 0
testSaveExecutionAssignsIdAndVersion 0
testSaveAndFindExecution 0.016
testGetForNotExistingJobExecution 0
testSaveExecutionWithIdAlreadySet 0
testSaveExecutionWithVersionAlreadySet 0
testSaveAndFindContext 0
testUpdateContext 0
testConcurrentModificationException 0
testStoreInteger 0.015

NoSuchBatchDomainObjectExceptionTests

testCreateException 0

DuplicateJobExceptionTests

testExceptionString 0
testExceptionStringThrowable 0

JobExecutionAlreadyRunningExceptionTests

testExceptionString 0
testExceptionStringThrowable 0

JobInstanceAlreadyCompleteExceptionTests

testExceptionString 0
testExceptionStringThrowable 0

JobRestartExceptionTests

testExceptionString 0
testExceptionStringThrowable 0

NoSuchJobExceptionTests

testExceptionString 0
testExceptionStringThrowable 0

JobRepositoryFactoryBeanTests

testNoDatabaseType 0.016
testInvalidDatabaseType 0
testCreateRepository 0

SimpleJobRepositoryIntegrationTests

testCreateAndFind 0.25
testCreateAndFindWithNoStartDate 0.016
testRunNonRestartableJobInstanceTwice 0.016
testGetStepExecutionCountAndLastStepExecution 0.031
testSaveExecutionContext 0.015
testOnlyOneJobExecutionAllowedRunning 0

SimpleJobRepositoryTests

testSaveOrUpdateInvalidJobExecution 0
testSaveOrUpdateValidJobExecution 0
testSaveOrUpdateStepExecutionException 0

JdbcCursorItemReaderPreparedStatementIntegrationTests

testRead 0.031

StepExecutionPreparedStatementSetterTests

testAfterPropertiesSet 0.125
testSetValues 0
testNonExistentProperties 0

StepExecutionResourceProxyTests

testToString 0.016
testCreateFileName 0
testNullFilePattern 0
testNonStandardFilePattern 0
testNonStandardFilePatternWithJobParameters 0
testResoureLoaderAware 0
testToStringWithNullDelegate 0

SpringBeanJobTests

testBeanName 0.016
testBeanNameWithBeanDefinition 0
testBeanNameWithParentBeanDefinition 0

ItemOrientedStepTests

testStepExecutor 0
testChunkExecutor 0
testRepository 0
testIncrementRollbackCount 0.016
testExitCodeDefaultClassification 0
testExitCodeCustomClassification 0.016
testNonRestartedJob 0
testSuccessfulExecutionWithExecutionContext 0.015
testSuccessfulExecutionWithFailureOnSaveOfExecutionContext 0
testNoSaveExecutionAttributesRestartableJob 0
testRestartJobOnNonRestartableTasklet 0
testStreamManager 0.016
testDirectlyInjectedItemStream 0
testDirectlyInjectedListener 0
testListenerCalledBeforeStreamOpened 0.015
testAfterStep 0
testDirectlyInjectedListenerOnError 0.016
testDirectlyInjectedStreamWhichIsAlsoReader 0
testStatusForInterruptedException 0
testStatusForNormalFailure 0
testStatusForErrorFailure 0.016
testStatusForResetFailedException 0
testStatusForCommitFailedException 0.015
testStatusForFinalUpdateFailedException 0
testStatusForCloseFailedException 0.016
testRestartAfterFailureInFirstChunk 0
testStepToCompletion 0
testStepFailureInAfterStepCallback 0.016

ItemSkipPolicyItemHandlerTests

testReadWithNoSkip 0.015
testReadWithSkip 0
testWriteWithNoSkip 0
testHandleWithSkip 0
testWriteWithSkipAfterMark 0
testWriteWithSkipAndItemKeyGenerator 0
testWriteWithSkipWhenMutating 0
testWriteWithSkipCapacitBreached 0.016

RepeatOperationsStepFactoryBeanTests

testType 0
testDefaultValue 0
testStepOperationsWithoutChunkListener 0.015

SimpleRetryExceptionHandlerTests

testRethrowWhenRetryExhausted 0
testNoRethrowWhenRetryNotExhausted 0
testRethrowWhenFatal 0

SimpleStepFactoryBeanTests

testSimpleJob 0.016
testSimpleJobWithItemListeners 0.031
testExceptionTerminates 0
testChunkListeners 0.031
testCommitIntervalMustBeGreaterThanZero 0

SkipLimitReadFailurePolicyTests

testLimitExceed 0
testNonSkippableException 0
testSkip 0

SkipLimitStepFactoryBeanTests

testSkip 0.078
testFatalException 0.015
testSkipOverLimit 0
testSkipOverLimitOnRead 0.047
testSkipOnReadNotDoubleCounted 0.031
testSkipOnWriteNotDoubleCounted 0.032
testDefaultSkipPolicy 0.031

StatefulRetryStepFactoryBeanTests

testType 0
testDefaultValue 0.016
testRecovery 0.031
testSkipAndRetry 0.016

StepExecutorInterruptionTests

testInterruptChunk 0.125
testInterruptStep 0.125
testInterruptOnInterruptedException 0.11

TaskletAdapterTests

testExecuteWithExitStatus 0
testMapResultWithNull 0
testMapResultWithNonNull 0

TaskletStepTests

testSuccessfulExecutionWithExecutionContext 0
testSuccessfulExecutionWithFailureOnSaveOfExecutionContext 0
testStepFailureInAfterStepCallback 0
testTaskletMandatory 0
testRepositoryMandatory 0
testSuccessfulExecution 0
testSuccessfulExecutionWithStepContext 0
testFailureExecution 0
testSuccessfulExecutionWithListener 0
testExceptionExecution 0
testExceptionError 0
testJobInterrupted 0

ThreadStepInterruptionPolicyTests

testCheckInterruptedNotComplete 0
testCheckInterruptedComplete 0

StepContributionTests

testIncrementTaskCount 0
testIncrementCommitCount 0

StepExecutionTests

testToString 0
testGetStatus 0
testHashCode 0
testGetEndTime 0
testGetStartTime 0
testGetJobId 0
testGetExitCode 0
testStepExecution 0
testStepExecutionWithNullId 0
testGetCommitCount 0
testGetTaskCount 0
testGetJobExecution 0
testApplyContribution 0
testTerminateOnly 0
testToStringWithNullName 0
testExecutionContext 0
testEqualsWithSameIdentifier 0
testEqualsWithNull 0
testEqualsWithNullIdentifiers 0
testEqualsWithNullJob 0
testEqualsWithNullStep 0
testEqualsWithSelf 0
testEqualsWithDifferent 0
testEqualsWithNullStepId 0
testHashCodeWithNullIds 0
testHashCodeViaHashSet 0