Apache Commons logo Commons BCEL

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
207 0 0 56 72.947% 60.579

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.verifier.structurals 1 0 0 0 100% 0.018
org.apache.bcel.verifier.statics 1 0 0 0 100% 0.009
org.apache.bcel 67 0 0 0 100% 11.684
org.apache.bcel.classfile 4 0 0 0 100% 0.427
org.apache.bcel.util 62 0 0 44 29.032% 4.258
org.apache.bcel.generic 62 0 0 11 82.258% 43.952
org.apache.bcel.verifier 10 0 0 1 90% 0.231

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

org.apache.bcel.verifier.structurals

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

org.apache.bcel.verifier.statics

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

org.apache.bcel

Class Tests Errors Failures Skipped Success Rate Time
AnnotationAccessFlagTestCase 1 0 0 0 100% 0.554
AnnotationDefaultAttributeTestCase 1 0 0 0 100% 0.014
AnonymousClassTestCase 4 0 0 0 100% 0.024
CounterVisitorTestCase 37 0 0 0 100% 0.018
ElementValueGenTestCase 11 0 0 0 100% 0.032
EnclosingMethodAttributeTestCase 3 0 0 0 100% 0.015
EnumAccessFlagTestCase 1 0 0 0 100% 0.016
HandleTestCase 2 0 0 0 100% 3.024
InstructionFinderTestCase 1 0 0 0 100% 0.015
LocalVariableTypeTableTestCase 1 0 0 0 100% 0.01
PerformanceTest 1 0 0 0 100% 7.956
PLSETestCase 4 0 0 0 100% 0.006

org.apache.bcel.classfile

Class Tests Errors Failures Skipped Success Rate Time
CodeExceptionTestCase 1 0 0 0 100% 0.034
ConstantPoolTestCase 1 0 0 0 100% 0.304
LocalVariableTestCase 1 0 0 0 100% 0.038
UtilityTestCase 1 0 0 0 100% 0.051

org.apache.bcel.util

Class Tests Errors Failures Skipped Success Rate Time
BCELifierTestCase 2 0 0 0 100% 4.183
Class2HTMLTestCase 2 0 0 0 100% 0.022
ClassPathRepositoryTestCase 8 0 0 0 100% 0.01
ClassPathTestCase 3 0 0 0 100% 0.011
LruCacheClassPathRepositoryTestCase 3 0 0 0 100% 0.017
ModularRuntimeImageTestCase 44 0 0 44 0% 0.015

org.apache.bcel.generic

Class Tests Errors Failures Skipped Success Rate Time
AnnotationGenTestCase 2 0 0 0 100% 0.01
BranchHandleTestCase 4 0 0 0 100% 0.015
FieldAnnotationsTestCase 3 0 0 0 100% 0.037
GeneratingAnnotatedClassesTestCase 9 0 0 0 100% 0.022
InstructionHandleTestCase 5 0 0 0 100% 0.039
JdkGenericDumpTestCase 33 0 0 11 66.667% 43.808
MethodGenTestCase 5 0 0 0 100% 0.01
TypeTestCase 1 0 0 0 100% 0.011

org.apache.bcel.verifier

Class Tests Errors Failures Skipped Success Rate Time
JiraBcel291TestCase 1 0 0 1 0% 0.022
VerifierArrayAccessTestCase 2 0 0 0 100% 0.066
VerifierInvokeTestCase 4 0 0 0 100% 0.084
VerifierReturnTestCase 2 0 0 0 100% 0.049
VerifierTestCase 1 0 0 0 100% 0.01

Test Cases

[Summary] [Package List] [Test Cases]

AnnotationAccessFlagTestCase

testAnnotationClassSaysItIs 0.404

AnnotationDefaultAttributeTestCase

testMethodAnnotations 0

AnonymousClassTestCase

testRegularClassIsNotAnonymous 0.001
testStaticInnerClassIsNotAnonymous 0
testNamedInnerClassIsNotAnonymous 0.001
testAnonymousInnerClassIsAnonymous 0

CodeExceptionTestCase

testReferenceToConstant 0.005

ConstantPoolTestCase

testConstantToString 0.288

LocalVariableTestCase

testReferenceToConstant 0

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.001
testUnknownCount 0.002
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
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.001
testCreateShortElementValue 0

EnclosingMethodAttributeTestCase

testAttributeSerializtion 0
testCheckClassLevelNamedInnerClass 0
testCheckMethodLevelNamedInnerClass 0

EnumAccessFlagTestCase

testEnumClassSaysItIs 0.001

AnnotationGenTestCase

testConstructMutableAnnotation 0
testVisibleInvisibleAnnotationGen 0

BranchHandleTestCase

testsetInstructionNull 0
testsetInstructionnotBI 0.001
testsetInstructionBI 0
testGetBHnull 0

FieldAnnotationsTestCase

testFieldAnnotationModification 0
testFieldAnnotationEntrys 0
testFieldAnnotationEntrysReadWrite 0

GeneratingAnnotatedClassesTestCase

testGenerateMethodLevelAnnotations1 0
testGenerateMethodLevelAnnotations2 0
testTransformComplexClassToClassGen 0
testGenerateClassLevelAnnotations 0
testModifyingClasses1 0
testModifyingClasses2 0
testTransformClassToClassGen_SimpleTypes 0
testTransformClassToClassGen_EnumType 0
testTransformClassToClassGen_ArrayAndAnnotationTypes 0

InstructionHandleTestCase

testBCEL195 0
testsetInstructionNull 0
testsetInstructionnotI 0
testsetInstructionI 0
testGetIHnull 0

JdkGenericDumpTestCase

testJdkJars[C:\Program Files\Java\jdk-9.0.4] 1.947
testJreModules[C:\Program Files\Java\jdk-9.0.4] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk-9.0.4] 7.697
testJdkJars[C:\Program Files\Java\jdk-12.0.2] 0.004
testJreModules[C:\Program Files\Java\jdk-12.0.2] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk-12.0.2] 6.216
testJdkJars[C:\Program Files\Java\jre7] 2.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.691
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
testJdkJars[C:\Program Files\Java\openjdk\jdk-14] 0.012
testJreModules[C:\Program Files\Java\openjdk\jdk-14] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\openjdk\jdk-14] 5.087
testJdkJars[C:\Program Files\Java\openjdk\jdk-15] 0.004
testJreModules[C:\Program Files\Java\openjdk\jdk-15] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\openjdk\jdk-15] 4.793
testJdkJars[C:\Program Files\Java\jre-9.0.4] 0.56
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\openjdk\jdk-13.0.2] 0.011
testJreModules[C:\Program Files\Java\openjdk\jdk-13.0.2] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\openjdk\jdk-13.0.2] 5.392
testJdkJars[C:\Program Files\Java\jdk1.8.0_251] 0.718
testJreModules[C:\Program Files\Java\jdk1.8.0_251] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk1.8.0_251] 0
testJdkJars[C:\Program Files\Java\jdk-11.0.7] 0.008
testJreModules[C:\Program Files\Java\jdk-11.0.7] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jdk-11.0.7] 4.902
testJdkJars[C:\Program Files\Java\jre1.8.0_251] 2.146
testJreModules[C:\Program Files\Java\jre1.8.0_251] 0
got: <false>, expected: is <true>
testJdkModules[C:\Program Files\Java\jre1.8.0_251] 0

MethodGenTestCase

testAnnotationsAreUnpacked 0
testRemoveLocalVariable 0
testRemoveLocalVariables 0
testInvalidNullMethodBody_MailDateFormat 0
testInvalidNullMethodBody_EmptyStaticInit 0

TypeTestCase

testBCEL243 0

HandleTestCase

testBranchHandle 2.95
testInstructionHandle 0.068

InstructionFinderTestCase

testSearchAll 0

LocalVariableTypeTableTestCase

testWithGenericArguement 0.003

PerformanceTest

testPerformance 7.95

PLSETestCase

testB79 0
testB208 0
testB262 0
testB295 0

BCELifierTestCase

testJavapCompare 4.174
testStart 0.001

Class2HTMLTestCase

testReferenceToConstant 0
testConvertJavaUtil 0.008

ClassPathRepositoryTestCase

testEmptyInput 0
testMemorySensitiveClassPathRepository 0
testClassWithoutPackage 0
testLruCacheClassPathRepository 0
testClassPath 0
testClassPathRepository 0
testNoClassNotFound 0
testNullInput 0

ClassPathTestCase

testGetResourceAsStream 0
testGetClassFile 0
testGetResource 0

LruCacheClassPathRepositoryTestCase

testZeroCacheSize 0
testLeastRecentlyUsedEviction 0
testCacheEviction 0

ModularRuntimeImageTestCase

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\jdk-12.0.2] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-12.0.2] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-12.0.2] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-12.0.2] 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\openjdk\jdk-14] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\openjdk\jdk-14] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\openjdk\jdk-14] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\openjdk\jdk-14] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\openjdk\jdk-15] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\openjdk\jdk-15] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\openjdk\jdk-15] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\openjdk\jdk-15] 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\openjdk\jdk-13.0.2] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\openjdk\jdk-13.0.2] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\openjdk\jdk-13.0.2] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\openjdk\jdk-13.0.2] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk1.8.0_251] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk1.8.0_251] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk1.8.0_251] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk1.8.0_251] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk-11.0.7] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-11.0.7] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-11.0.7] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-11.0.7] 0
got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre1.8.0_251] 0
got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre1.8.0_251] 0
got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre1.8.0_251] 0
got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre1.8.0_251] 0
got: <false>, expected: is <true>

JiraBcel291TestCase

0
skipped

Pass2VerifierTestCase

testReferenceToConstant 0

UninitializedObjectTypeTestCase

testReferenceToConstant 0

VerifierArrayAccessTestCase

testValidArrayAccess 0
testInvalidArrayAccess 0.049

VerifierInvokeTestCase

testLegalInvokeVirtual 0
testLegalInvokeStatic 0.013
testLegalInvokeSpecial 0.049
testLegalInvokeInterface 0.011

VerifierReturnTestCase

testInvalidReturn 0.025
testValidReturn 0.015

VerifierTestCase

testDefaultMethodValidation 0

Failure Details

[Summary] [Package List] [Test Cases]


testJreModules[C:\Program Files\Java\jdk-9.0.4]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jdk-12.0.2]
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\openjdk\jdk-14]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\openjdk\jdk-15]
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\openjdk\jdk-13.0.2]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jdk1.8.0_251]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jdk-11.0.7]
skipped: got: <false>, expected: is <true>
testJreModules[C:\Program Files\Java\jre1.8.0_251]
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\jdk-12.0.2]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-12.0.2]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-12.0.2]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-12.0.2]
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\openjdk\jdk-14]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\openjdk\jdk-14]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\openjdk\jdk-14]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\openjdk\jdk-14]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\openjdk\jdk-15]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\openjdk\jdk-15]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\openjdk\jdk-15]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\openjdk\jdk-15]
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\openjdk\jdk-13.0.2]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\openjdk\jdk-13.0.2]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\openjdk\jdk-13.0.2]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\openjdk\jdk-13.0.2]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk1.8.0_251]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk1.8.0_251]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk1.8.0_251]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk1.8.0_251]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jdk-11.0.7]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jdk-11.0.7]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jdk-11.0.7]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jdk-11.0.7]
skipped: got: <false>, expected: is <true>
testListJrePackages[C:\Program Files\Java\jre1.8.0_251]
skipped: got: <false>, expected: is <true>
testListJreModules[C:\Program Files\Java\jre1.8.0_251]
skipped: got: <false>, expected: is <true>
testListJreModule[C:\Program Files\Java\jre1.8.0_251]
skipped: got: <false>, expected: is <true>
testListJreModulePackageDir[C:\Program Files\Java\jre1.8.0_251]
skipped: got: <false>, expected: is <true>
skipped: skipped