Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
126 0 0 0 100% 19.048

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
info.smart_tools.smartactors.core.iscope 6 0 0 0 100% 0.409
info.smart_tools.smartactors.core.scope_provider 6 0 0 0 100% 1.518
info.smart_tools.smartactors.core.istrategy_container 3 0 0 0 100% 0.608
info.smart_tools.smartactors.core.strategy_container 1 0 0 0 100% 1.094
info.smart_tools.smartactors.core.iobserver 3 0 0 0 100% 0.582
info.smart_tools.smartactors.core.ioc 5 0 0 0 100% 1.58
info.smart_tools.smartactors.core.named_keys_storage 1 0 0 0 100% 1.7
info.smart_tools.smartactors.core.scope_creation_event_handler 5 0 0 0 100% 1.475
info.smart_tools.smartactors.core.recursive_strategy_container 6 0 0 0 100% 1.502
info.smart_tools.smartactors.core.ioc_container 9 0 0 0 100% 1.583
info.smart_tools.smartactors.core.scope_guard 6 0 0 0 100% 0.405
info.smart_tools.smartactors.core.singleton_strategy 2 0 0 0 100% 0.31
info.smart_tools.smartactors.core.iresolve_dependency_strategy 3 0 0 0 100% 0.289
info.smart_tools.smartactors.core.string_ioc_key 14 0 0 0 100% 0.385
info.smart_tools.smartactors.core.iioccontainer 10 0 0 0 100% 0.47
info.smart_tools.smartactors.core.resolve_by_name_ioc_with_lambda_strategy 5 0 0 0 100% 0.603
info.smart_tools.smartactors.core.recursive_scope 12 0 0 0 100% 0.5
info.smart_tools.smartactors.core.iscope_provider_container 3 0 0 0 100% 0.298
info.smart_tools.smartactors.core.iserver 6 0 0 0 100% 0.415
info.smart_tools.smartactors.core.create_new_instance_strategy 4 0 0 0 100% 0.696
info.smart_tools.smartactors.core.scope_provider_container 12 0 0 0 100% 1.505
info.smart_tools.smartactors.core.server_with_ioc 1 0 0 0 100% 0.721
info.smart_tools.smartactors.core.resolve_by_name_ioc_strategy 3 0 0 0 100% 0.4

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

info.smart_tools.smartactors.core.iscope

Class Tests Errors Failures Skipped Success Rate Time
ScopeFactoryExceptionTest 3 0 0 0 100% 0.404
ScopeExceptionTest 3 0 0 0 100% 0.005

info.smart_tools.smartactors.core.scope_provider

Class Tests Errors Failures Skipped Success Rate Time
ScopeProviderTest 6 0 0 0 100% 1.518

info.smart_tools.smartactors.core.istrategy_container

Class Tests Errors Failures Skipped Success Rate Time
StrategyContainerExceptionTest 3 0 0 0 100% 0.608

info.smart_tools.smartactors.core.strategy_container

Class Tests Errors Failures Skipped Success Rate Time
StrategyContainerTest 1 0 0 0 100% 1.094

info.smart_tools.smartactors.core.iobserver

Class Tests Errors Failures Skipped Success Rate Time
ObserverExecuteExceptionTest 3 0 0 0 100% 0.582

info.smart_tools.smartactors.core.ioc

Class Tests Errors Failures Skipped Success Rate Time
IocTest 5 0 0 0 100% 1.58

info.smart_tools.smartactors.core.named_keys_storage

Class Tests Errors Failures Skipped Success Rate Time
KeysTest 1 0 0 0 100% 1.7

info.smart_tools.smartactors.core.scope_creation_event_handler

Class Tests Errors Failures Skipped Success Rate Time
ScopeCreationEventHandlerTest 5 0 0 0 100% 1.475

info.smart_tools.smartactors.core.recursive_strategy_container

Class Tests Errors Failures Skipped Success Rate Time
StrategyContainerScopeTest 1 0 0 0 100% 0.303
EmptyStrategyContainerTest 3 0 0 0 100% 0.089
StrategyContainerTest 2 0 0 0 100% 1.11

info.smart_tools.smartactors.core.ioc_container

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

info.smart_tools.smartactors.core.scope_guard

Class Tests Errors Failures Skipped Success Rate Time
ScopeGuardExceptionTest 3 0 0 0 100% 0.002
ScopeGuardTest 3 0 0 0 100% 0.403

info.smart_tools.smartactors.core.singleton_strategy

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

info.smart_tools.smartactors.core.iresolve_dependency_strategy

Class Tests Errors Failures Skipped Success Rate Time
ResolveDependencyStrategyExceptionTest 3 0 0 0 100% 0.289

info.smart_tools.smartactors.core.string_ioc_key

Class Tests Errors Failures Skipped Success Rate Time
KeyTest 14 0 0 0 100% 0.385

info.smart_tools.smartactors.core.iioccontainer

Class Tests Errors Failures Skipped Success Rate Time
ResolutionExceptionTest 4 0 0 0 100% 0.004
RegistrationExceptionTest 3 0 0 0 100% 0.391
DeletionExceptionTest 3 0 0 0 100% 0.075

info.smart_tools.smartactors.core.resolve_by_name_ioc_with_lambda_strategy

Class Tests Errors Failures Skipped Success Rate Time
ResolveByNameIocStrategyTest 5 0 0 0 100% 0.603

info.smart_tools.smartactors.core.recursive_scope

Class Tests Errors Failures Skipped Success Rate Time
RecursiveScopeTest 10 0 0 0 100% 0.011
RecursiveScopeFactoryTest 2 0 0 0 100% 0.489

info.smart_tools.smartactors.core.iscope_provider_container

Class Tests Errors Failures Skipped Success Rate Time
ScopeProviderExceptionTest 3 0 0 0 100% 0.298

info.smart_tools.smartactors.core.iserver

Class Tests Errors Failures Skipped Success Rate Time
ServerExecutionExceptionTest 3 0 0 0 100% 0.411
ServerInitializeExceptionTest 3 0 0 0 100% 0.004

info.smart_tools.smartactors.core.create_new_instance_strategy

Class Tests Errors Failures Skipped Success Rate Time
CreateNewInstanceStrategyTest 4 0 0 0 100% 0.696

info.smart_tools.smartactors.core.scope_provider_container

Class Tests Errors Failures Skipped Success Rate Time
ScopeProviderContainerTest 12 0 0 0 100% 1.505

info.smart_tools.smartactors.core.server_with_ioc

Class Tests Errors Failures Skipped Success Rate Time
ServerTest 1 0 0 0 100% 0.721

info.smart_tools.smartactors.core.resolve_by_name_ioc_strategy

Class Tests Errors Failures Skipped Success Rate Time
ResolveByNameIocStrategyTest 3 0 0 0 100% 0.4

Test Cases

[Summary] [Package List] [Test Cases]

ResolveDependencyStrategyExceptionTest

checkMessageAndCauseMethod 0.005
checkCauseMethod 0.001
checkMessageMethod 0.001

StrategyContainerExceptionTest

checkMessageAndCauseMethod 0.006
checkCauseMethod 0
checkMessageMethod 0.001

ResolutionExceptionTest

checkMessageAndCauseMethod 0
checkCauseMethod 0
checkMessageMethod 0
checkOfResolutionMethod 0.001

RegistrationExceptionTest

checkMessageAndCauseMethod 0.003
checkCauseMethod 0
checkMessageMethod 0

DeletionExceptionTest

checkMessageAndCauseMethod 0
checkCauseMethod 0
checkMessageMethod 0

ScopeFactoryExceptionTest

checkMessageAndCauseMethod 0.006
checkCauseMethod 0
checkMessageMethod 0

ScopeExceptionTest

checkMessageAndCauseMethod 0
checkCauseMethod 0.001
checkMessageMethod 0

ObserverExecuteExceptionTest

checkMessageAndCauseMethod 0.011
checkCauseMethod 0.005
checkMessageMethod 0.003

ScopeProviderExceptionTest

checkMessageAndCauseMethod 0.004
checkCauseMethod 0
checkMessageMethod 0.046

ScopeProviderContainerTest

checkGetterSetterCreator 1.088
checkDeletion 0
checkScopeProviderExceptionByGetCurrent 0
checkScopeProviderExceptionByAdd 0
checkScopeProviderExceptionByGet 0.001
checkCreation 0
checkSetCurrentGetCurrent 0
checkScopeProviderExceptionByCreate 0
checkScopeProviderExceptionByDelete 0
checkSubscribeOnCreationNewScope 0.089
checkClearListOfSubscribers 0.001
checkScopeProviderExceptionOnSubscribeOnCreationNewScope 0

RecursiveScopeTest

checkRecursiveLogic 0
checkCreationWithParent 0
checkStoringAndGettingValue 0
checkGettingAbsentValue 0
checkScopeExceptionOnSet 0.001
checkCreation 0
checkScopeExceptionOnDelete 0
checkValueDeletion 0
checkAbsentValueDeletion 0
checkEqualKeysUsage 0

RecursiveScopeFactoryTest

checkScopeCreation 0.012
checkScopeFactoryException 0.003

ScopeProviderTest

checkCreateScope 0.017
checkGetCurrentScopeSetCurrentScope 0.803
checkAddScopeAndGetScope 0.077
checkSubscribeOnCreationNewScope 0.116
checkClearListOfSubscribers 0.002
checkDeleteScope 0.007

KeyTest

testPassIncompatibleType_isFalse 0.08
checkIllegalArgumentExceptionOnNull 0
checkIllegalArgumentExceptionOnEmpty 0
testHashcode_twoUnEqualObjects_produceDifferentNumber 0
testEquals_isReflexive_isSymmetric 0
checkMapResolution 0
testEquals_isTransitive 0
testEqual_ToSelf 0
testHashcode_twoEqualsObjects_produceSameNumber 0
testNullReference_isFalse 0
testEquals_isConsistent 0
checkToString 0
testHashcode_isConsistent 0
checkMapResolutionWithSameKeys 0

ContainerTest

checkResolutionException 0.093
checkGetKeyForKeyStorage 0
checkGetIocGuid 0
checkRegistration 1.101
checkRegistrationException 0
checkRemove 0.002
checkDeletionException 0
checkResolve 0.007
checkContainerCreation 0

IocTest

checkDeletion 0.202
checkGetKeyForKeyStorage 0.005
checkResolution 0.003
checkGetIocGuid 0.001
checkRegistration 0.089

ScopeGuardExceptionTest

checkMessageAndCauseMethod 0
checkCauseMethod 0
checkMessageMethod 0.001

ScopeGuardTest

checkGuard 0.083
checkGuardInResourceTry 0
checkScopeGuardExceptionOnGuard 0

StrategyContainerTest

checkRegistrationResolutionDeletion 0.782

CreateNewInstanceStrategyTest

checkResolveDependencyStrategyExceptionOnWrongArgs 0.273
checkIllegalArgumentExceptionOnNull 0
checkStrategyCreation 0
checkStrategyCreationWithArgs 0

SingletonStrategyTest

checkStrategyResolution 0.006
checkSingletonStrategyCreation 0

ServerExecutionExceptionTest

checkMessageAndCauseMethod 0.006
checkCauseMethod 0.001
checkMessageMethod 0.001

ServerInitializeExceptionTest

checkMessageAndCauseMethod 0
checkCauseMethod 0
checkMessageMethod 0

KeysTest

checkGetOrAdd 1.391

ResolveByNameIocStrategyTest

checkStrategyResolutionOnceCallInternalStrategy 0.283
checkStrategyCreation 0.002
checkIllegalArgumentException 0
checkStrategyResolutionCallInternalStrategy 0.001
checkStrategyResolutionException 0.001

ServerTest

checkServer 0.397

ResolveByNameIocStrategyTest

checkStrategyResolution 0.085
checkStrategyCreation 0
checkStrategyResolutionException 0

ScopeCreationEventHandlerTest

checkHandlerExecution 1.02
checkIllegalArgumentExceptionOnHandlerExecution 0.001
checkHandlerCreation 0.001
checkObserverExecuteExceptionOnHandlerExecution 0.068
checkIllegalExceptionOnHandlerCreation 0

StrategyContainerScopeTest

testSystemIOC 0.303

EmptyStrategyContainerTest

testRegister 0.086
testResolve 0
testRemove 0

StrategyContainerTest

testRegistrationResolutionDeletion 0.88
testRecursiveResolution 0