Apache Commons logo Commons BCEL

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
101 27 0 0 73.267% 4.492

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.bcel 62 6 0 0 90.323% 0.303
org.apache.bcel.classfile 1 0 0 0 100% 0
org.apache.bcel.util 3 2 0 0 33.333% 0.464
org.apache.bcel.generic 26 10 0 0 61.538% 3.705
org.apache.bcel.verifier 9 9 0 0 0% 0.02

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

org.apache.bcel

Class Tests Errors Failures Skipped Success Rate Time
AnnotationAccessFlagTestCase 1 0 0 0 100% 0.249
AnnotationDefaultAttributeTestCase 1 0 0 0 100% 0
AnonymousClassTestCase 4 0 0 0 100% 0.006
CounterVisitorTestCase 37 0 0 0 100% 0.018
ElementValueGenTestCase 11 2 0 0 81.818% 0.022
EnclosingMethodAttributeTestCase 3 0 0 0 100% 0.004
EnumAccessFlagTestCase 1 0 0 0 100% 0.001
InstructionFinderTestCase 1 1 0 0 0% 0.001
PerformanceTest 1 1 0 0 0% 0.002
PLSETestCase 2 2 0 0 0% 0

org.apache.bcel.classfile

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

org.apache.bcel.util

Class Tests Errors Failures Skipped Success Rate Time
BCELifierTestCase 2 2 0 0 0% 0.448
Class2HTMLTestCase 1 0 0 0 100% 0.016

org.apache.bcel.generic

Class Tests Errors Failures Skipped Success Rate Time
AnnotationGenTestCase 2 2 0 0 0% 0.001
BranchHandleTestCase 4 0 0 0 100% 0.036
FieldAnnotationsTestCase 3 1 0 0 66.667% 0.005
GeneratingAnnotatedClassesTestCase 9 5 0 0 44.444% 0.018
InstructionHandleTestCase 5 0 0 0 100% 0.04
JDKGenericDumpTestCase 1 0 0 0 100% 3.603
MethodGenTestCase 2 2 0 0 0% 0.002

org.apache.bcel.verifier

Class Tests Errors Failures Skipped Success Rate Time
VerifierArrayAccessTestCase 2 2 0 0 0% 0.015
VerifierInvokeTestCase 4 4 0 0 0% 0.002
VerifierReturnTestCase 2 2 0 0 0% 0.001
VerifierTestCase 1 1 0 0 0% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

AnnotationAccessFlagTestCase

testAnnotationClassSaysItIs 0.213

AnnotationDefaultAttributeTestCase

testMethodAnnotations 0

AnonymousClassTestCase

testRegularClassIsNotAnonymous 0.002
testStaticInnerClassIsNotAnonymous 0
testNamedInnerClassIsNotAnonymous 0.002
testAnonymousInnerClassIsAnonymous 0.001

UtilityTestCase

testSignatureToStringWithGenerics 0

CounterVisitorTestCase

testSignatureCount 0.004
testLocalVariableCount 0
testLineNumberCount 0.001
testConstantFloatCount 0
testMethodCount 0
testConstantDoubleCount 0.001
testLocalVariableTypeTableCount 0
testConstantStringCount 0
testConstantLongCount 0
testInnerClassesCount 0
testLineNumberTableCount 0
testConstantClassCount 0.001
testSourceFileCount 0
testSyntheticCount 0
testStackMapEntryCount 0
testCodeCount 0
testConstantFieldrefCount 0
testCodeExceptionCount 0
testLocalVariableTableCount 0
testUnknownCount 0
testConstantNameAndTypeCount 0
testJavaClassCount 0
testFieldCount 0
testDeprecatedCount 0
testAnnotationEntryCount 0
testExceptionTableCount 0.001
testStackMapCount 0
testEnclosingMethodCount 0
testInnerClassCount 0
testAnnotationDefaultCount 0.001
testConstantInterfaceMethodrefCount 0
testConstantPoolCount 0
testAnnotationsCount 0
testConstantIntegerCount 0
testParameterAnnotationCount 0
testConstantValueCount 0
testConstantMethodrefCount 0

ElementValueGenTestCase

testCreateIntegerElementValue 0.012
testCreateLongElementValue 0
testCreateByteElementValue 0
testCreateFloatElementValue 0.002
testCreateStringElementValue 0.001
testCreateClassElementValue 0.007
testCreateEnumElementValue 0
Could not initialize class org.apache.bcel.generic.ObjectType
testCreateCharElementValue 0
testCreateBooleanElementValue 0
testCreateDoubleElementValue 0
testCreateShortElementValue 0

EnclosingMethodAttributeTestCase

testAttributeSerializtion 0.003
testCheckClassLevelNamedInnerClass 0
testCheckMethodLevelNamedInnerClass 0.001

EnumAccessFlagTestCase

testEnumClassSaysItIs 0.001

AnnotationGenTestCase

testConstructMutableAnnotation 0.001
Could not initialize class org.apache.bcel.generic.ObjectType
testVisibleInvisibleAnnotationGen 0
Could not initialize class org.apache.bcel.generic.ObjectType

BranchHandleTestCase

testsetInstructionNull 0.018
testsetInstructionnotBI 0
testsetInstructionBI 0.001
testGetBHnull 0

FieldAnnotationsTestCase

testFieldAnnotationModification 0.001
Could not initialize class org.apache.bcel.generic.ObjectType
testFieldAnnotationEntrys 0
testFieldAnnotationEntrysReadWrite 0.001

GeneratingAnnotatedClassesTestCase

testGenerateMethodLevelAnnotations1 0.008
Could not initialize class org.apache.bcel.generic.Type
testGenerateMethodLevelAnnotations2 0
Could not initialize class org.apache.bcel.generic.Type
testTransformComplexClassToClassGen 0.002
testGenerateClassLevelAnnotations 0.001
Could not initialize class org.apache.bcel.generic.ObjectType
testModifyingClasses1 0
Could not initialize class org.apache.bcel.generic.ObjectType
testModifyingClasses2 0
Could not initialize class org.apache.bcel.generic.ObjectType
testTransformClassToClassGen_SimpleTypes 0
testTransformClassToClassGen_EnumType 0.001
testTransformClassToClassGen_ArrayAndAnnotationTypes 0.002

InstructionHandleTestCase

testBCEL195 0.039
testsetInstructionNull 0
testsetInstructionnotI 0.001
testsetInstructionI 0
testGetIHnull 0

JDKGenericDumpTestCase

testJDKjars 3.603

MethodGenTestCase

testRemoveLocalVariable 0.001
Could not initialize class org.apache.bcel.generic.Type
testRemoveLocalVariables 0.001
Could not initialize class org.apache.bcel.generic.Type

InstructionFinderTestCase

testSearchAll 0.001
Could not initialize class org.apache.bcel.generic.Type

PerformanceTest

testPerformance 0.002
Could not initialize class org.apache.bcel.generic.Type

PLSETestCase

testB79 0
Could not initialize class org.apache.bcel.generic.Type
testB208 0
Could not initialize class org.apache.bcel.generic.Type

BCELifierTestCase

testJavapCompare 0.447
Could not initialize class org.apache.bcel.generic.Type
test 0
Could not initialize class org.apache.bcel.generic.Type

Class2HTMLTestCase

testConvertJavaUtil 0.014

VerifierArrayAccessTestCase

testValidArrayAccess 0.011
Could not initialize class org.apache.bcel.generic.Type
testInvalidArrayAccess 0.004
Could not initialize class org.apache.bcel.generic.Type

VerifierInvokeTestCase

testLegalInvokeVirtual 0
Could not initialize class org.apache.bcel.generic.Type
testLegalInvokeStatic 0
Could not initialize class org.apache.bcel.generic.Type
testLegalInvokeSpecial 0
Could not initialize class org.apache.bcel.generic.Type
testLegalInvokeInterface 0.001
Could not initialize class org.apache.bcel.generic.Type

VerifierReturnTestCase

testInvalidReturn 0
Could not initialize class org.apache.bcel.generic.InstructionFactory
testValidReturn 0.001
Could not initialize class org.apache.bcel.generic.Type

VerifierTestCase

testDefaultMethodValidation 0.002
Could not initialize class org.apache.bcel.generic.Type

Failure Details

[Summary] [Package List] [Test Cases]


testCreateClassElementValue
java.lang.ExceptionInInitializerError
testCreateEnumElementValue
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.ObjectType
testConstructMutableAnnotation
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.ObjectType
testVisibleInvisibleAnnotationGen
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.ObjectType
testFieldAnnotationModification
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.ObjectType
testGenerateMethodLevelAnnotations1
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testGenerateMethodLevelAnnotations2
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testGenerateClassLevelAnnotations
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.ObjectType
testModifyingClasses1
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.ObjectType
testModifyingClasses2
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.ObjectType
testRemoveLocalVariable
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testRemoveLocalVariables
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testSearchAll
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testPerformance
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testB79
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testB208
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testJavapCompare
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
test
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testValidArrayAccess
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testInvalidArrayAccess
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testLegalInvokeVirtual
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testLegalInvokeStatic
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testLegalInvokeSpecial
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testLegalInvokeInterface
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testInvalidReturn
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.InstructionFactory
testValidReturn
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type
testDefaultMethodValidation
java.lang.NoClassDefFoundError: Could not initialize class org.apache.bcel.generic.Type