Apache Commons logo Commons BCEL

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
116 0 0 0 100% 29.429

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 65 0 0 0 100% 9.839
org.apache.bcel.classfile 2 0 0 0 100% 0.701
org.apache.bcel.util 3 0 0 0 100% 3.478
org.apache.bcel.generic 37 0 0 0 100% 15.055
org.apache.bcel.verifier 9 0 0 0 100% 0.356

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.9
AnnotationDefaultAttributeTestCase 1 0 0 0 100% 0.073
AnonymousClassTestCase 4 0 0 0 100% 0.003
CounterVisitorTestCase 37 0 0 0 100% 0.008
ElementValueGenTestCase 11 0 0 0 100% 0.002
EnclosingMethodAttributeTestCase 3 0 0 0 100% 0.045
EnumAccessFlagTestCase 1 0 0 0 100% 0.004
InstructionFinderTestCase 1 0 0 0 100% 0.003
LocalVariableTypeTableTestCase 1 0 0 0 100% 0.013
PerformanceTest 1 0 0 0 100% 8.777
PLSETestCase 4 0 0 0 100% 0.011

org.apache.bcel.classfile

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

org.apache.bcel.util

Class Tests Errors Failures Skipped Success Rate Time
BCELifierTestCase 2 0 0 0 100% 3.452
Class2HTMLTestCase 1 0 0 0 100% 0.026

org.apache.bcel.generic

Class Tests Errors Failures Skipped Success Rate Time
AnnotationGenTestCase 2 0 0 0 100% 0.003
BranchHandleTestCase 4 0 0 0 100% 0.005
FieldAnnotationsTestCase 3 0 0 0 100% 0.009
GeneratingAnnotatedClassesTestCase 9 0 0 0 100% 0.168
InstructionHandleTestCase 5 0 0 0 100% 0.001
JDKGenericDumpTestCase 10 0 0 0 100% 14.856
MethodGenTestCase 3 0 0 0 100% 0.011
TypeTestCase 1 0 0 0 100% 0.002

org.apache.bcel.verifier

Class Tests Errors Failures Skipped Success Rate Time
VerifierArrayAccessTestCase 2 0 0 0 100% 0.223
VerifierInvokeTestCase 4 0 0 0 100% 0.07
VerifierReturnTestCase 2 0 0 0 100% 0.056
VerifierTestCase 1 0 0 0 100% 0.007

Test Cases

[Summary] [Package List] [Test Cases]

AnnotationAccessFlagTestCase

testAnnotationClassSaysItIs 0.435

AnnotationDefaultAttributeTestCase

testMethodAnnotations 0

AnonymousClassTestCase

testRegularClassIsNotAnonymous 0
testStaticInnerClassIsNotAnonymous 0
testNamedInnerClassIsNotAnonymous 0
testAnonymousInnerClassIsAnonymous 0

ConstantPoolTestCase

testConstantToString 0.694

UtilityTestCase

testSignatureToStringWithGenerics 0

CounterVisitorTestCase

testSignatureCount 0
testLocalVariableCount 0
testLineNumberCount 0
testConstantFloatCount 0
testMethodCount 0
testConstantDoubleCount 0
testLocalVariableTypeTableCount 0
testConstantStringCount 0
testConstantLongCount 0
testInnerClassesCount 0
testLineNumberTableCount 0
testConstantClassCount 0
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
testStackMapCount 0.001
testEnclosingMethodCount 0
testInnerClassCount 0
testAnnotationDefaultCount 0
testConstantInterfaceMethodrefCount 0
testConstantPoolCount 0
testAnnotationsCount 0
testConstantIntegerCount 0
testParameterAnnotationCount 0
testConstantValueCount 0
testConstantMethodrefCount 0

ElementValueGenTestCase

testCreateIntegerElementValue 0
testCreateLongElementValue 0
testCreateByteElementValue 0
testCreateFloatElementValue 0
testCreateStringElementValue 0
testCreateClassElementValue 0
testCreateEnumElementValue 0
testCreateCharElementValue 0
testCreateBooleanElementValue 0
testCreateDoubleElementValue 0
testCreateShortElementValue 0

EnclosingMethodAttributeTestCase

testAttributeSerializtion 0
testCheckClassLevelNamedInnerClass 0
testCheckMethodLevelNamedInnerClass 0

EnumAccessFlagTestCase

testEnumClassSaysItIs 0

AnnotationGenTestCase

testConstructMutableAnnotation 0
testVisibleInvisibleAnnotationGen 0

BranchHandleTestCase

testsetInstructionNull 0
testsetInstructionnotBI 0.001
testsetInstructionBI 0
testGetBHnull 0

FieldAnnotationsTestCase

testFieldAnnotationModification 0
testFieldAnnotationEntrys 0
testFieldAnnotationEntrysReadWrite 0.006

GeneratingAnnotatedClassesTestCase

testGenerateMethodLevelAnnotations1 0.044
testGenerateMethodLevelAnnotations2 0.049
testTransformComplexClassToClassGen 0.006
testGenerateClassLevelAnnotations 0.021
testModifyingClasses1 0.012
testModifyingClasses2 0.014
testTransformClassToClassGen_SimpleTypes 0
testTransformClassToClassGen_EnumType 0.005
testTransformClassToClassGen_ArrayAndAnnotationTypes 0.008

InstructionHandleTestCase

testBCEL195 0
testsetInstructionNull 0
testsetInstructionnotI 0
testsetInstructionI 0
testGetIHnull 0

JDKGenericDumpTestCase

testJDKjars[C:\Program Files\Java\jre-9.0.1] 1.729
testJDKjars[C:\Program Files\Java\jre7] 4.175
testJDKjars[C:\Program Files\Java\jdk1.7.0_80] 0.706
testJDKjars[C:\Program Files\Java\jdk1.6.0_45] 0.553
testJDKjars[C:\Program Files\Java\jre6] 1.815
testJDKjars[C:\Program Files\Java\jdk-10] 0.526
testJDKjars[C:\Program Files\Java\jre-10] 0.501
testJDKjars[C:\Program Files\Java\jdk1.8.0_152] 0.996
testJDKjars[C:\Program Files\Java\jdk-9.0.1] 0.621
testJDKjars[C:\Program Files\Java\jre1.8.0_152] 2.112

MethodGenTestCase

testAnnotationsAreUnpacked 0.002
testRemoveLocalVariable 0.006
testRemoveLocalVariables 0

TypeTestCase

testBCEL243 0

InstructionFinderTestCase

testSearchAll 0

LocalVariableTypeTableTestCase

testWithGenericArguement 0.009

PerformanceTest

testPerformance 8.773

PLSETestCase

testB79 0
testB208 0
testB262 0.004
testB295 0.005

BCELifierTestCase

testJavapCompare 3.446
test 0.004

Class2HTMLTestCase

testConvertJavaUtil 0.025

VerifierArrayAccessTestCase

testValidArrayAccess 0.157
testInvalidArrayAccess 0.063

VerifierInvokeTestCase

testLegalInvokeVirtual 0
testLegalInvokeStatic 0.034
testLegalInvokeSpecial 0.012
testLegalInvokeInterface 0.016

VerifierReturnTestCase

testInvalidReturn 0.031
testValidReturn 0.021

VerifierTestCase

testDefaultMethodValidation 0