Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
30 0 0 0 100% 1.954

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
net.sourceforge.beanjector.injector 4 0 0 0 100% 0.023
net.sourceforge.beanjector.provider 26 0 0 0 100% 1.931

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

net.sourceforge.beanjector.injector

Class Tests Errors Failures Skipped Success Rate Time
InjectorTest 4 0 0 0 100% 0.023

net.sourceforge.beanjector.provider

Class Tests Errors Failures Skipped Success Rate Time
EjbProviderTest 9 0 0 0 100% 0.233
PersistenceContextProviderTest 3 0 0 0 100% 1.632
NewInstanceProviderTest 5 0 0 0 100% 0.028
ResourceProviderTest 4 0 0 0 100% 0.016
SingleInstanceProviderTest 1 0 0 0 100% 0.003
SimpleInstanceProviderTest 4 0 0 0 100% 0.019

Test Cases

EjbProviderTest

testProvideByMappedName 0.089
testProvideLocalByName1 0.034
testProvideLocalByName2 0.005
testProvideRemoteByName1 0.031
testProvideRemoteByName2 0.011
testProvideLocalByClassName1 0.005
testProvideLocalByClassName2 0.003
testProvideRemoteByClassName1 0.004
testProvideRemoteByClassName2 0.003

PersistenceContextProviderTest

testGetDefaultPersistenceUnitName 1.303
testProvideDefault 0.16
testProvideByUnitName 0.165

NewInstanceProviderTest

testProvideOK 0.01
testProvideKO 0.003
testProvideInjectOK 0.006
testProvideInjectKO 0.003
testProvideDefaultImplementation 0.002

InjectorTest

testInject 0.011
testInjectPropertyGetter 0.003
testInjectPropertySetter 0.002
testInjectException 0.001

ResourceProviderTest

testProvideByMappedName 0.003
testProvideByNameWithPrefix 0.002
testProvideByName 0.002
testProvideByClassName 0.004

SingleInstanceProviderTest

testProvideOK 0.001

SimpleInstanceProviderTest

testProvideWithScopeDefault 0.01
testProvideWithScopePrototype 0.002
testProvideWithScopeSingleton 0.002
testProvideWithScopeUnknown 0.002