Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
35 0 0 0 100% 0.415

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.shiro.event 1 0 0 0 100% 0.26
org.apache.shiro.event.support 34 0 0 0 100% 0.155

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

org.apache.shiro.event

Class Tests Errors Failures Skipped Success Rate Time
EventTest 1 0 0 0 100% 0.26

org.apache.shiro.event.support

Class Tests Errors Failures Skipped Success Rate Time
EventListenerComparatorTest 7 0 0 0 100% 0.028
DefaultEventBusTest 12 0 0 0 100% 0.049
AnnotationEventListenerResolverTest 3 0 0 0 100% 0.021
SingleArgumentMethodEventListenerTest 5 0 0 0 100% 0.051
EventClassComparatorTest 7 0 0 0 100% 0.006

Test Cases

[Summary] [Package List] [Test Cases]

EventListenerComparatorTest

testBothNull 0.003
testBothSame 0.019
testBothEventListener 0
testANormalBTypedListener 0
testANull 0
testBNull 0
testATypedListenerBNormalListener 0

DefaultEventBusTest

testPublishNullEvent 0.004
testSimpleSubscribe 0.001
testSubscribeNullInstance 0.002
testUnsubscribe 0.006
testPolymorphicSubscribeMethodsOnlyOneInvoked 0.003
testSubscribeWithErroneousAnnotation 0.003
testSubscribeWithNullResolvedListeners 0.003
testPolymorphicSubscribeMethodsOnlyOneInvokedWithListenerSubclass 0.012
testSetEventListenerResolver 0.002
testSubscribeWithoutAnnotations 0.001
testUnsubscribeNullInstance 0
testContinueThroughListenerExceptions 0.006

AnnotationEventListenerResolverTest

testSetGetAnnotationClass 0.003
testNullInstanceArgument 0.008
testNoAnnotationsArgument 0.008

SingleArgumentMethodEventListenerTest

testAccepts 0.03
testNonPublicMethodSubscriber 0.003
testMethodException 0.011
testInvalidConstruction 0.002
testValidConstruction 0.002

EventTest

testDefault 0.083

EventClassComparatorTest

testBothNull 0.001
testBothSame 0
testANull 0.001
testBNull 0
testUnrelated 0
testBParentOfA 0
testAParentOfB 0.001