Summary

TestsErrors FailuresSkippedSuccess RateTime
12753093.701%1.235

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

Package List

PackageTestsErrors FailuresSkippedSuccess RateTime
usecase.sample5000100%0.047
jp.sourceforge.greflect10243093.137%0.859
jp.sourceforge.greflect.impl2010095%0.329

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

usecase.sample

ClassTestsErrors FailuresSkippedSuccess RateTime
TestReflectionSample5000100%0.047

jp.sourceforge.greflect

ClassTestsErrors FailuresSkippedSuccess RateTime
Test01Invoker_01NoTypeVarInstance13000100%0.109
Test01Invoker_02UngenericTypeVarInstance15000100%0.094
Test01Invoker_03PrimitiveParamReturn10000100%0.125
Test01Invoker_11WildcardCapture1301092.308%0.094
Test01Invoker_21InvokeFromUngenericObject22000%0.015
Test01Invoker_31ApplicableMethod10100%0.031
Test01Invoker_41StaticMethod3000100%0.016
Test02Instantiator_01NoTypeVarInstance9000100%0.11
Test02Instantiator_02UngenericTypeVarInstance1310092.308%0.141
Test03Assignable_01UngenericTypeVarInstances4000100%0.016
Test03Assignable_02Primitive1000100%0
Test03Assignable_03WildcardType11000%0
Test03Assignable_04GenericArrayType7000100%0.047
Test04Caster_01NoTypeVarInstance4000100%0.015
Test04Caster_02UngenericTypeVarInstance4000100%0.031
Test04Caster_03GenericTypeVarInstance201050%0.015

jp.sourceforge.greflect.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
Test02Instantiator_11GeneratingByteCode6000100%0.032
Test02Instantiator_12LoadingGeneratedClass6000100%0.282
Test02Instantiator_13GeneraringSignature810087.5%0.015

Test Cases

Test02Instantiator_11GeneratingByteCode

test01_SimpleClass_ObjectParam_Normal0
test02_UngenericClass_NoParam_Normal0.032
test03_UngenericClass_PrimitiveParam_Normal0
test04_GenericClass_Normal0
test05_Over4Param_OtherPrimitiveParam_Normal0
test06_ObjectArray_PrimitiveArray_Normal0

Test02Instantiator_12LoadingGeneratedClass

test02_UngenericClass_NoParam_Normal0.266
test03_UngenericClass_PrimitiveParam_Normal0
test05_Over4Param_OtherPrimitiveParam_Normal0.016
test06_ObjectArray_PrimitiveArray_Normal0
test01_SimpleClass_ObjectParam_Error0
test04_UngenericClass_Twice_Normal0

Test02Instantiator_13GeneraringSignature

test01_SimpleClass_Normal0
test02_Primitive_Error0
test03_ParameterizedType_Normal0
test04_ParameterizedType_Error0
test05_ParameterizedTypeNest_Normal0
test06_GenericArrayType_Normal0
test07_ParameterizedGenericArrayType_Normal0.015
test08_WildcardType_Normal__Deferred 0
The instanciation of type '?' is not supported. Revise the specitication.

Test01Invoker_01NoTypeVarInstance

test00_String_Normal0
test00_StringParam_Error0
test00_StringReturn_Normal0.015
test00_StringReturn_Error0
test01_GenericNestedListParam_Normal0
test01_GenericNestedListParam_Error0
test01_GenericNestedListReturn_Normal0.016
test01_GenericNestedListReturn_Error0
test02_UngenericNestedList_Normal0.016
test03_GenericMap_Normal0.031
test03_GenericMapParam1_Error0.016
test03_GenericMapParam2_Error0
test03_GenericMapReturn_Error0

Test01Invoker_02UngenericTypeVarInstance

test00_String_Normal0
test00_StringParam_Error0.016
test00_StringReturn_Normal0
test00_StringReturn_Error0
test01_GenericNestedListParam_Normal0
test01_GenericNestedListParam_Error0
test01_GenericNestedListReturn_Normal0
test01_GenericNestedListReturn_Error0.015
test02_UngenericNestedList_Normal0
test03_GenericMap_Normal0.016
test03_GenericMapParam1_Error0
test03_GenericMapParam2_Error0
test03_GenericMapReturn_Error0.016
test13_AnotherGenericMap_Normal0
test13_AnotherGenericMapParam1_Error0.015

Test01Invoker_03PrimitiveParamReturn

test00_Boolean_Normal0.078
test01_Byte_Normal0
test02_Char_Normal0
test03_Short_Normal0
test04_Int_Normal0
test05_Long_Normal0
test06_Float_Normal0.016
test07_Double_Normal0
test10_ParamIntToLong_Normal0
test11_ReturnIntToLong_Normal0

Test01Invoker_11WildcardCapture

test00_ParamToReturn_Normal0.016
test00_ParamToReturn_Error0
test01_ListParamToReturn_Normal0.016
test01_ListParamToReturn_Error0
test02_ListParamToListReturn_Normal0.015
test02_ListParamToListReturn_Error0
test03_MapParamToMapReturn_Normal0.016
test03_MapParamToMapReturn1_Error0.016
test03_MapParamToMapReturn2_Error0
test10_ExtendsParamToReturn_Normal0
test10_ExtendsParamToReturn_Error0.015
test11_ExtendsListParamToListReturn_Normal0
test11_ExtendsListParamToListReturn_Error__Deferred 0

Test01Invoker_21InvokeFromUngenericObject

test00_Integer_Normal__Deferred 0.015
The type variable 'Param:T=GenericInvoker:P' must be a Class or a parameterized Class but 'sun.reflect.generics.reflectiveObjects.TypeVariableImpl'. Revise the type variable.
test00_IntegerParam_Error__Deferred 0
The type variable 'Param:T=GenericInvoker:P' must be a Class or a parameterized Class but 'sun.reflect.generics.reflectiveObjects.TypeVariableImpl'. Revise the type variable.

Test01Invoker_31ApplicableMethod

test00__Deferred 0

Test01Invoker_41StaticMethod

test00_NoTypeVar_Normal0
test01_InvokeStaticWithoutTypeParam_Normal__Deferred0
test02_InvokeStaticWithTypeparam_Error0.016

Test02Instantiator_01NoTypeVarInstance

test00_TypeVarInteger0_Normal0.016
test00_TypeVarInteger1_ParamConstructor_Error0
test00_TypeVarInteger2_ParamTypeVar_Error0
test00_TypeVarInteger3_ParamUngeneric_Error0
test00_TypeVarInteger4_ArgumentType_Error0.016
test00_TypeVarInteger5_ArgumentNestedList_Normal0.015
test00_TypeVarInteger6_ArgumentNestedList_Error0.032
test00_TypeVarInteger7_ArgumentMap_Normal0.015
test00_TypeVarInteger8_ArgumentMapType1_Error0.016

Test02Instantiator_02UngenericTypeVarInstance

test00_TypeVarInteger0_Normal0.016
test00_TypeVarInteger1_ParamConstructor_Error0
test00_TypeVarInteger2_ParamTypeVar_Error0.015
test00_TypeVarInteger3_ParamUngeneric_Error0
test00_TypeVarInteger4_ArgumentType_Error0
test00_TypeVarInteger5_ArgumentNestedList_Normal0.016
test00_TypeVarInteger6_ArgumentNestedList_Error0
test00_TypeVarInteger7_ArgumentMap_Normal0.016
test00_TypeVarInteger8_ArgumentMapType1_Error0.015
test00_TypeVarInteger8_ArgumentMapType2_Error0.032
test01_TypeVarNestedList0_Normal 0.015
test01_TypeVarNestedList0_Error0
test02_TypeVarMap0_Normal0.016

Test03Assignable_01UngenericTypeVarInstances

test00_Integer_Normal0
test01_IntegerInheritance_Normal0
test02_List0_Normal0
test03_List2Inheritance_Normal0

Test03Assignable_02Primitive

test000

Test03Assignable_03WildcardType

test01_WildcardParameter_Normal__Deferred 0
The type variable 'class java.util.ArrayList:E' cannot be resolved in the scope 'ArrayList{List:E=E,Iterable:T=E,Collection:E=E,AbstractCollection:E=E,AbstractList:E=E}'. Use ungeneric tecnique.

Test03Assignable_04GenericArrayType

test01_IntegerInheritance_Normal0
test00_IntegerArray_Normal0
test02_ArrayList_Normal0
test03_ObjectAndArray_Normal0.016
test04_NestedObjectAndArray_Normal0
test05_PrimitiveArray_Normal0
test06_NestedPrimitiveArray_Normal0

Test04Caster_01NoTypeVarInstance

test00_NoTypeVar_Normal0
test01_StringParam_Error0
test02_StringReturn_Normal0
test03_StringReturn_Error0.015

Test04Caster_02UngenericTypeVarInstance

test02_StringReturn_Normal0
test03_StringReturn_Error0
test00_Ungeneric_Normal0
test01_UngenericParam_Error0.015

Test04Caster_03GenericTypeVarInstance

test00_SameGeneric_Error0
test01_WildcardReturn_Error__Deferred 0

TestReflectionSample

test01_InvokeSample1_Static0.015
test01_InvokeSample2_Ungeneric0.016
test02_InstantiateSample1_Normal0
test03_InvokeStaticNoTypeVar_Normal0
test04_InvokeStaticWithoutTypeParam_Normal0.016

Failure Details

test08_WildcardType_Normal__Deferred
jp.sourceforge.greflect.TypeViolationException: The instanciation of type '?' is not supported. Revise the specitication.
jp.sourceforge.greflect.impl.Test02Instantiator_13GeneraringSignature:137
test11_ExtendsListParamToListReturn_Error__Deferred
junit.framework.AssertionFailedError
jp.sourceforge.greflect.Test01Invoker_11WildcardCapture:270
test00_Integer_Normal__Deferred
jp.sourceforge.greflect.TypeViolationException: The type variable 'Param:T=GenericInvoker:P' must be a Class or a parameterized Class but 'sun.reflect.generics.reflectiveObjects.TypeVariableImpl'. Revise the type variable.
jp.sourceforge.greflect.Test01Invoker_21InvokeFromUngenericObject:84
test00_IntegerParam_Error__Deferred
jp.sourceforge.greflect.TypeViolationException: The type variable 'Param:T=GenericInvoker:P' must be a Class or a parameterized Class but 'sun.reflect.generics.reflectiveObjects.TypeVariableImpl'. Revise the type variable.
jp.sourceforge.greflect.Test01Invoker_21InvokeFromUngenericObject:93
test00__Deferred
junit.framework.AssertionFailedError
jp.sourceforge.greflect.Test01Invoker_31ApplicableMethod:42
test01_TypeVarNestedList0_Normal
java.lang.reflect.InvocationTargetException
jp.sourceforge.greflect.Test02Instantiator_02UngenericTypeVarInstance:325
test01_WildcardParameter_Normal__Deferred
jp.sourceforge.greflect.UnresolvedTypeVariableException: The type variable 'class java.util.ArrayList:E' cannot be resolved in the scope 'ArrayList{List:E=E,Iterable:T=E,Collection:E=E,AbstractCollection:E=E,AbstractList:E=E}'. Use ungeneric tecnique.
jp.sourceforge.greflect.Test03Assignable_03WildcardType:62
test01_WildcardReturn_Error__Deferred
junit.framework.AssertionFailedError
jp.sourceforge.greflect.Test04Caster_03GenericTypeVarInstance:86