Surefire Report

Summary


TestsErrors FailuresSkippedSuccess RateTime
136000100%5.491

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

Package List


PackageTestsErrors FailuresSkippedSuccess RateTime
net.sourceforge.basher.tasks1000100%0.001
net.sourceforge.basher.internal.impl40000100%4.071
net.sourceforge.basher.internal.tasks4000100%0.035
net.sourceforge.basher.events.impl1000100%0.002
net.sourceforge.basher.impl41000100%1.179
net.sourceforge.basher13000100%0.175
net.sourceforge.basher.events36000100%0.028

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

net.sourceforge.basher.tasks

ClassTestsErrors FailuresSkippedSuccess RateTime
TestAbstractTask1000100%0.001

net.sourceforge.basher.internal.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
TestTaskRunnerImpl4000100%3.343
TestTimeSourceImpl2000100%0.207
TestDefaultBeanShellFilenameComparator4000100%0.002
TestTaskDecoratorImpl10000100%0.318
TestRandomRandomizer2000100%0.002
TestDefaultBeanShellFilenameFilter3000100%0.004
TestRegularExpressionObjectProvider3000100%0.131
TestTaskInvokerImpl12000100%0.064

net.sourceforge.basher.internal.tasks

ClassTestsErrors FailuresSkippedSuccess RateTime
TestThreadIncrementTask4000100%0.035

net.sourceforge.basher.events.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
TestSynchronousEventManager1000100%0.002

net.sourceforge.basher.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
TestInMemoryEntityRegistry4000100%0.019
TestSchedulerImpl18000100%1.033
TestLimitedInMemoryEntityRegistry1000100%0.019
TestTaskInfo3000100%0.004
TestTaskTree3000100%0.008
TestTaskManagerImpl12000100%0.096

net.sourceforge.basher

ClassTestsErrors FailuresSkippedSuccess RateTime
TestExceptions5000100%0.005
TestAverage3000100%0.003
TestTaskExecutionContext4000100%0.166
TestTaskConfiguration1000100%0.001

net.sourceforge.basher.events

ClassTestsErrors FailuresSkippedSuccess RateTime
TestTickEvent9000100%0.008
TestCollectionStoppedEvent9000100%0.004
TestCollectionStartedEvent9000100%0.005
TestPhaseTransitionEvent9000100%0.011

Test Cases

TestInMemoryEntityRegistry

testRegister0
testRegisterManyOfSameType0
testRegisterDifferentTypes0.001
testUnregister0.016

TestSchedulerImpl

testOneThread0.039
testAddOneThread0.035
testAddOneThreadAndStop0.26
testStop0.102
testStart0.001
testStartNullParams0.001
testStartWithUnknownContextName0.001
testSchedulingAtStart0.001
testAddOneThreadWhenMaxReached0.128
testAddManyThreads0.22
testRemoveThreads0.108
testRemoveThreadsWhenNoneToRemove0.002
testInitialization0.001
testRemoveAllThreads0.114
testEnteringSetupPhase0.005
testEnteringWarmupPhase0.003
testEnteringRunPhase0.001
testEnteringRunPhaseWithThreadIncrementation0.001

TestExceptions

testTaskNotRunException0.001
testBasherException0
testBasherExceptionNullCause0
testTaskFailedException0
testTaskFailedExceptionWithNullCause0

TestTickEvent

testValue0.003
testEqualsAgainstNewObject0.001
testEqualsAgainstNull0
testEqualsAgainstUnequalObjects0.001
testEqualsIsConsistentAcrossInvocations0
testEqualsIsReflexive0
testEqualsIsSymmetricAndTransitive0
testHashCodeContract0
testHashCodeIsConsistentAcrossInvocations0

TestLimitedInMemoryEntityRegistry

testLimit0.018

TestTaskInfo

testEquals0.002
testHashCode0.001
testAddFollower0

TestTaskTree

testGetTasksWithWildcard0.005
testGetTasksWithIncludes0.001
testGetTasksWithIncludesAndExcludes0.001

TestTaskManagerImpl

testInitializationEmptyTaskInfoList0.005
testInitializationNotWired0.001
testNotInitialized0
testNullAddTask0
testNullSetTaskInfo0
testInitializationTwoItemTaskInfoList0.002
testInitializationTwoItemTaskInfoListWithFollower0.001
testGetRandomTask0.002
testGetByName0.002
testAddTask0.002
testRemoveTaskExecutionContext0
testGetNextTaskExecutionContext0.001

TestCollectionStoppedEvent

testEqualsHashCode0
testEqualsAgainstNewObject0
testEqualsAgainstNull0
testEqualsAgainstUnequalObjects0
testEqualsIsConsistentAcrossInvocations0.001
testEqualsIsReflexive0
testEqualsIsSymmetricAndTransitive0
testHashCodeContract0
testHashCodeIsConsistentAcrossInvocations0

TestTaskRunnerImpl

testInvoke1.127
testInvokeNullTask1.003
testStopRunning0.202
testInvokeWithError1.005

TestCollectionStartedEvent

testEqualsHashCode0.001
testEqualsAgainstNewObject0
testEqualsAgainstNull0
testEqualsAgainstUnequalObjects0
testEqualsIsConsistentAcrossInvocations0.001
testEqualsIsReflexive0
testEqualsIsSymmetricAndTransitive0
testHashCodeContract0
testHashCodeIsConsistentAcrossInvocations0

TestSynchronousEventManager

testEmitEvent0.002

TestAverage

testAverage0.002
testAverageAllZero0.001
testAverageToString0

TestTimeSourceImpl

testSimple0.105
testReset0.1

TestDefaultBeanShellFilenameComparator

testEquals0
testGreater0
testLess0
testEqualRunLevelDifferentName0

TestTaskExecutionContext

testInvokeTaskSuccessfully0.144
testInvokeTaskThrowsNotRunException0
testInvokeTaskThrowsThrowable0
testIt0

TestTaskDecoratorImpl

testSimpleClassWithSomeTaskMethods0.262
testDetermineExecuteMethodSingleAnnotation0.011
testFullyAnnotatedClass0.003
testSubClassFullyAnnotated0.002
testSubSubClassFullyAnnotatedNotPhaseTest0.003
testDetermineExecuteMethodMoreThanOneAnnotation0.001
testDetermineExecuteMethodAnnotatedMethodNotEmptyParams0.001
testDetermineExecuteMethodNoAnnotationDefaultMethodPresent0.031
testDetermineExecuteMethodNoAnnotationDefaultMethodNotPresent0
testDetermineExecuteMethodNoAnnotationDefaultMethodNotEmptyParams0.001

TestRandomRandomizer

testRandom0
testBiggerRandom0

TestDefaultBeanShellFilenameFilter

testAcceptAll0.002
testDefaultPatternAccept0
testDefaultPatternNotAccept0.001

TestThreadIncrementTask

testInvoke0.032
testNotInvoke0
testMaximumReached0
testInvokeFailed0.001

TestPhaseTransitionEvent

testValues0.005
testEqualsAgainstNewObject0
testEqualsAgainstNull0.001
testEqualsAgainstUnequalObjects0
testEqualsIsConsistentAcrossInvocations0
testEqualsIsReflexive0
testEqualsIsSymmetricAndTransitive0
testHashCodeContract0.001
testHashCodeIsConsistentAcrossInvocations0

TestRegularExpressionObjectProvider

testValid0.063
testInvalid0.001
testUnknownException0

TestTaskConfiguration

testRecalculateWeight0

TestTaskInvokerImpl

testFailed0.028
testNotInvokeWeight0
testInvokeWeight0.001
testNotInvokeBeforeStartTime0.001
testNotInvokeAfterEndTime0.001
testInvokeAfterStartTime0.001
testInvokeBeforeEndTime0.001
testInvokeLessThanMaxInvocations0.001
testInvokeUnlimitedMaxInvocations0.001
testNotInvokeLessThanMaxInvocations0.02
testNotRun0.001
testInvokeFollowers0.001

TestAbstractTask

testExecuteTask0