Apache Commons logo Commons BCEL

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
160 0 0 35 78.125% 25.468

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 67 0 0 0 100% 8.246
org.apache.bcel.classfile 2 0 0 0 100% 0.191
org.apache.bcel.util 34 0 0 28 17.647% 2.364
org.apache.bcel.generic 48 0 0 7 85.417% 14.417
org.apache.bcel.verifier 9 0 0 0 100% 0.25

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.2
AnnotationDefaultAttributeTestCase 1 0 0 0 100% 0.002
AnonymousClassTestCase 4 0 0 0 100% 0.004
CounterVisitorTestCase 37 0 0 0 100% 0.015
ElementValueGenTestCase 11 0 0 0 100% 0.012
EnclosingMethodAttributeTestCase 3 0 0 0 100% 0.022
EnumAccessFlagTestCase 1 0 0 0 100% 0.002
HandleTestCase 2 0 0 0 100% 2.921
InstructionFinderTestCase 1 0 0 0 100% 0.004
LocalVariableTypeTableTestCase 1 0 0 0 100% 0.013
PerformanceTest 1 0 0 0 100% 5.044
PLSETestCase 4 0 0 0 100% 0.007

org.apache.bcel.classfile

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

org.apache.bcel.util

Class Tests Errors Failures Skipped Success Rate Time
BCELifierTestCase 2 0 0 0 100% 2.347
Class2HTMLTestCase 1 0 0 0 100% 0.01
ClassPathTestCase 3 0 0 0 100% 0.003
ModularRuntimeImageTestCase 28 0 0 28 0% 0.004

org.apache.bcel.generic

Class Tests Errors Failures Skipped Success Rate Time
AnnotationGenTestCase 2 0 0 0 100% 0.002
BranchHandleTestCase 4 0 0 0 100% 0.026
FieldAnnotationsTestCase 3 0 0 0 100% 0.015
GeneratingAnnotatedClassesTestCase 9 0 0 0 100% 0.102
InstructionHandleTestCase 5 0 0 0 100% 0.003
JdkGenericDumpTestCase 21 0 0 7 66.667% 14.266
MethodGenTestCase 3 0 0 0 100% 0.002
TypeTestCase 1 0 0 0 100% 0.001

org.apache.bcel.verifier

Class Tests Errors Failures Skipped Success Rate Time
VerifierArrayAccessTestCase 2 0 0 0 100% 0.15
VerifierInvokeTestCase 4 0 0 0 100% 0.053
VerifierReturnTestCase 2 0 0 0 100% 0.045
VerifierTestCase 1 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

AnnotationAccessFlagTestCase

testAnnotationClassSaysItIs 0.149

AnnotationDefaultAttributeTestCase

testMethodAnnotations 0

AnonymousClassTestCase

testRegularClassIsNotAnonymous 0
testStaticInnerClassIsNotAnonymous 0.001
testNamedInnerClassIsNotAnonymous 0
testAnonymousInnerClassIsAnonymous 0

ConstantPoolTestCase

testConstantToString 0.171

UtilityTestCase

testSignatureToStringWithGenerics 0

CounterVisitorTestCase

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

ElementValueGenTestCase

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

EnclosingMethodAttributeTestCase

testAttributeSerializtion 0.012
testCheckClassLevelNamedInnerClass 0
testCheckMethodLevelNamedInnerClass 0.007

EnumAccessFlagTestCase

testEnumClassSaysItIs 0

AnnotationGenTestCase

testConstructMutableAnnotation 0
testVisibleInvisibleAnnotationGen 0

BranchHandleTestCase

testsetInstructionNull 0.001
testsetInstructionnotBI 0
testsetInstructionBI 0
testGetBHnull 0

FieldAnnotationsTestCase

testFieldAnnotationModification 0.001
testFieldAnnotationEntrys 0.001
testFieldAnnotationEntrysReadWrite 0.01

GeneratingAnnotatedClassesTestCase

testGenerateMethodLevelAnnotations1 0.028
testGenerateMethodLevelAnnotations2 0.028
testTransformComplexClassToClassGen 0.002
testGenerateClassLevelAnnotations 0.013
testModifyingClasses1 0.009
testModifyingClasses2 0.01
testTransformClassToClassGen_SimpleTypes 0
testTransformClassToClassGen_EnumType 0.005
testTransformClassToClassGen_ArrayAndAnnotationTypes 0.005

InstructionHandleTestCase

testBCEL195 0
testsetInstructionNull 0
testsetInstructionnotI 0
testsetInstructionI 0
testGetIHnull 0

JdkGenericDumpTestCase

testJdkJars[C:\Program Files\Java\jdk-11.0.2] 0.101
testJreModules[C:\Program Files\Java\jdk-11.0.2] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk-11.0.2] 4.619
testJdkJars[C:\Program Files\Java\jdk-9.0.4] 0.352
testJreModules[C:\Program Files\Java\jdk-9.0.4] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk-9.0.4] 4.256
testJdkJars[C:\Program Files\Java\jre7] 1.863
testJreModules[C:\Program Files\Java\jre7] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jre7] 0
testJdkJars[C:\Program Files\Java\jdk1.7.0_80] 0.444
testJreModules[C:\Program Files\Java\jdk1.7.0_80] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk1.7.0_80] 0.001
testJdkJars[C:\Program Files\Java\jre1.8.0_202] 1.442
testJreModules[C:\Program Files\Java\jre1.8.0_202] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jre1.8.0_202] 0.001
testJdkJars[C:\Program Files\Java\jre-9.0.4] 0.33
testJreModules[C:\Program Files\Java\jre-9.0.4] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jre-9.0.4] 0
testJdkJars[C:\Program Files\Java\jdk1.8.0_202] 0.481
testJreModules[C:\Program Files\Java\jdk1.8.0_202] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk1.8.0_202] 0

MethodGenTestCase

testAnnotationsAreUnpacked 0
testRemoveLocalVariable 0
testRemoveLocalVariables 0

TypeTestCase

testBCEL243 0

HandleTestCase

testBranchHandle 2.882
testInstructionHandle 0.038

InstructionFinderTestCase

testSearchAll 0.002

LocalVariableTypeTableTestCase

testWithGenericArguement 0.009

PerformanceTest

testPerformance 5.041

PLSETestCase

testB79 0
testB208 0
testB262 0.002
testB295 0.003

BCELifierTestCase

testJavapCompare 2.34
test 0.001

Class2HTMLTestCase

testConvertJavaUtil 0.007

ClassPathTestCase

testGetResourceAsStream 0
testGetClassFile 0
testGetResource 0

ModularRuntimeImageTestCase

testListJrePackages[C:\Program Files\Java\jdk-11.0.2] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-11.0.2] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-11.0.2] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-11.0.2] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk-9.0.4] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-9.0.4] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-9.0.4] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-9.0.4] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre7] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre7] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre7] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre7] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk1.7.0_80] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk1.7.0_80] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk1.7.0_80] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk1.7.0_80] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre1.8.0_202] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre1.8.0_202] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre1.8.0_202] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre1.8.0_202] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre-9.0.4] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre-9.0.4] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre-9.0.4] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre-9.0.4] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk1.8.0_202] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk1.8.0_202] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk1.8.0_202] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk1.8.0_202] 0
got: <false>, expected: is <true>

VerifierArrayAccessTestCase

testValidArrayAccess 0.107
testInvalidArrayAccess 0.037

VerifierInvokeTestCase

testLegalInvokeVirtual 0.004
testLegalInvokeStatic 0.012
testLegalInvokeSpecial 0.028
testLegalInvokeInterface 0.007

VerifierReturnTestCase

testInvalidReturn 0.03
testValidReturn 0.013

VerifierTestCase

testDefaultMethodValidation 0

Failure Details

[Summary] [Package List] [Test Cases]


testJreModules[C:\Program Files\Java\jdk-11.0.2]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jdk-9.0.4]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jre7]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jdk1.7.0_80]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jre1.8.0_202]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jre-9.0.4]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jdk1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk-11.0.2]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-11.0.2]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-11.0.2]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-11.0.2]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk-9.0.4]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-9.0.4]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-9.0.4]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-9.0.4]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre7]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre7]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre7]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre7]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk1.7.0_80]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk1.7.0_80]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk1.7.0_80]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk1.7.0_80]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre-9.0.4]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre-9.0.4]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre-9.0.4]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre-9.0.4]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk1.8.0_202]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk1.8.0_202]
skipped: got: <false>, expected: is <true>