Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.522
org.apache.shiro.event.support 34 0 0 0 100% 0.234

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.522

org.apache.shiro.event.support

Class Tests Errors Failures Skipped Success Rate Time
EventListenerComparatorTest 7 0 0 0 100% 0.061
DefaultEventBusTest 12 0 0 0 100% 0.081
AnnotationEventListenerResolverTest 3 0 0 0 100% 0.029
SingleArgumentMethodEventListenerTest 5 0 0 0 100% 0.054
EventClassComparatorTest 7 0 0 0 100% 0.009

Test Cases

[Summary] [Package List] [Test Cases]

EventListenerComparatorTest

testBothNull 0.019
testBothSame 0.024
testBothEventListener 0.001
testANormalBTypedListener 0.002
testANull 0
testBNull 0
testATypedListenerBNormalListener 0

DefaultEventBusTest

testPublishNullEvent 0.008
testSimpleSubscribe 0.002
testSubscribeNullInstance 0.003
testUnsubscribe 0.011
testPolymorphicSubscribeMethodsOnlyOneInvoked 0.003
testSubscribeWithErroneousAnnotation 0.004
testSubscribeWithNullResolvedListeners 0.005
testPolymorphicSubscribeMethodsOnlyOneInvokedWithListenerSubclass 0.022
testSetEventListenerResolver 0.004
testSubscribeWithoutAnnotations 0
testUnsubscribeNullInstance 0.001
testContinueThroughListenerExceptions 0.012

AnnotationEventListenerResolverTest

testSetGetAnnotationClass 0.006
testNullInstanceArgument 0.007
testNoAnnotationsArgument 0.012

SingleArgumentMethodEventListenerTest

testAccepts 0.025
testNonPublicMethodSubscriber 0.006
testMethodException 0.016
testInvalidConstruction 0.003
testValidConstruction 0.003

EventTest

testDefault 0.142

EventClassComparatorTest

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