Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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

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

org.apache.shiro.event.support

Class Tests Errors Failures Skipped Success Rate Time
AnnotationEventListenerResolverTest 3 0 0 0 100% 0.056
DefaultEventBusTest 12 0 0 0 100% 0.117
EventClassComparatorTest 7 0 0 0 100% 0.01
EventListenerComparatorTest 7 0 0 0 100% 0.011
SingleArgumentMethodEventListenerTest 5 0 0 0 100% 0.047

Test Cases

[Summary] [Package List] [Test Cases]

EventTest

testDefault 0.124

AnnotationEventListenerResolverTest

testSetGetAnnotationClass 0.015
testNullInstanceArgument 0.01
testNoAnnotationsArgument 0.016

DefaultEventBusTest

testPublishNullEvent 0.016
testSimpleSubscribe 0.003
testSubscribeNullInstance 0.03
testUnsubscribe 0.01
testPolymorphicSubscribeMethodsOnlyOneInvoked 0.005
testSubscribeWithErroneousAnnotation 0.004
testSubscribeWithNullResolvedListeners 0.005
testPolymorphicSubscribeMethodsOnlyOneInvokedWithListenerSubclass 0.022
testSetEventListenerResolver 0.003
testSubscribeWithoutAnnotations 0
testUnsubscribeNullInstance 0.001
testContinueThroughListenerExceptions 0.011

EventClassComparatorTest

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

EventListenerComparatorTest

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

SingleArgumentMethodEventListenerTest

testAccepts 0.023
testNonPublicMethodSubscriber 0.006
testMethodException 0.01
testInvalidConstruction 0.002
testValidConstruction 0.004