Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
88 0 0 5 94.3% 2.309 s

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
com.codebox.builders 2 0 0 0 100% 0.123 s
com.codebox.util 5 0 0 0 100% 0.007 s
com.codebox.instance 17 0 0 5 70.6% 0.019 s
com.codebox.bean 64 0 0 0 100% 2.160 s

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

com.codebox.builders

- Class Tests Errors Failures Skipped Success Rate Time
ExtensionBuilderTest 2 0 0 0 100% 0.123 s

com.codebox.util

- Class Tests Errors Failures Skipped Success Rate Time
LombokBuilderUtilTest 5 0 0 0 100% 0.007 s

com.codebox.instance

- Class Tests Errors Failures Skipped Success Rate Time
ClassInstanceAnyConstructorExceptionTest 2 0 0 0 100% 0.002 s
ClassInstanceBuilderExceptionTest 2 0 0 0 100% 0.004 s
ClassInstanceRealTest 3 0 0 0 100% 0.004 s
ClassInstanceTest 2 0 0 2 0% 0.001 s
ConstructorInstanceExceptionTest 5 0 0 0 100% 0.008 s
ConstructorInstanceTest 3 0 0 3 0% 0 s

com.codebox.bean

- Class Tests Errors Failures Skipped Success Rate Time
ByteBuddyBeanCopierTest 14 0 0 0 100% 0.095 s
JavaBeanTesterTest 48 0 0 0 100% 2.013 s
ObjectMethodsTest 1 0 0 0 100% 0.045 s
PrivateConstructorTest 1 0 0 0 100% 0.007 s

Test Cases

[Summary] [Package List] [Test Cases]

ByteBuddyBeanCopierTest

testCopyWithFluentSetter 0.040 s
testExtractPropertyNameRejectsNonGetterMethod 0.005 s
testCopyWithEmptyPropertyName 0.001 s
testCopyWrapsGetterInvocationFailures 0.002 s
testUtilityConstructorThrowsAssertionError 0.001 s
testCopyWithSingleCharAndExactGetProperty 0.003 s
testCopyUsesBooleanIsFallbackGetter 0.001 s
testCopySkipsPrimitiveBooleanWhenFallbackIsMethodIsNotBoolean 0.001 s
testCopyWithAcronymGetter 0.001 s
testCopyUsesBooleanFallbackWithMismatchedSetterPropertyName 0.002 s
testCopyWithVoidReturningGetterMethod 0.001 s
testCopySkipsPrimitiveBooleanWhenNoGetter 0 s
testCopyPropertiesAndConverter 0.003 s
testCopyNullSourceOrTarget 0.001 s

JavaBeanTesterTest

loadFullBeanEqualsSkipUnderlying 0.457 s
loadFullBeanSkipUnderlyingData 0.008 s
testGetterSetterFailureIsReported 0.022 s
testSkipBeanPropertiesNullWithExtension 0.805 s
loadFullBean 0.010 s
testExternalizableBean 0.022 s
testClearFalse 0.009 s
testConstructorFalse 0.005 s
testClear 0.003 s
testSampleLombokBuilder 0.025 s
testFullBeanWithExtension 0.062 s
testTemporarySingleMode 0.016 s
testSerializableWithNonSerializableFieldFails 0.013 s
testCheckSerializableOnNonSerializableClassFails 0.005 s
testSkipBeanProperties 0.059 s
testFullBeanSkipUnderlyingDataWithExtension 0.048 s
testNonSerializableInternallyFails 0.008 s
testInstanceOfEqualsInterceptor 0 s
testSkipBeanPropertiesWithExtension 0.039 s
testSkipCanEqualsFalseWithExtension 0.001 s
loadSkipBeanProperties 0.006 s
testDeserializeFailureIsReported 0.003 s
testSkipCanEqualsWithExtension 0.003 s
loadPartialBeanEquals 0.035 s
testSkipCanEquals 0.006 s
testProcessClassCopyFailureIsSwallowed 0.003 s
testCheckEqualsSwallowsEqualsVerifierFailure 0.009 s
testClearFailureIsReported 0.001 s
testNonSerializable 0.003 s
testEqualsWithSetterOnlyProperty 0.002 s
testEqualsSetterFailureIsReported 0.002 s
loadFullBeanEqualsShort 0.015 s
testConstructorFailureIsReported 0.002 s
loadFullBeanEquals 0.024 s
testFullBeanNullExt 0.113 s
testSkipBeanPropertiesNull 0.036 s
testMultiConstructor 0.006 s
testCanEqualInterceptor 0.001 s
testSkipCanEqualsFalse 0.004 s
testSampleLombokBuilderNullExtension 0.004 s
testSerializable 0.003 s
testFullBeanSkipUnderlyingData 0.035 s
testMultiConstructorNullExtension 0.004 s
testFullBean 0.038 s
testConstructor 0.003 s
testCheckSerializableFailureBranch 0.001 s
testDateBeanGetterSetter 0.002 s
testProcessExtensionCopyFailureIsSwallowed 0.002 s

ObjectMethodsTest

objectMethods 0.043 s

PrivateConstructorTest

privateConstructor 0.005 s

ExtensionBuilderTest

testGenerateCoversAlreadyCreatedExtension 0.121 s
extensionBuilder 0.001 s

ClassInstanceAnyConstructorExceptionTest

testAnyConstructorInstantiationException 0.001 s
testAnyConstructorInvocationTargetException 0.001 s

ClassInstanceBuilderExceptionTest

testCreateInstanceWithBuilderInvocationTargetException 0.002 s
testCreateInstanceWithBuilderNoSuchMethodException 0.001 s

ClassInstanceRealTest

newInstanceReturnsNullWhenClassIsNull 0 s
newInstanceReturnsNullWhenOnlyDeprecatedConstructorsExist 0 s
newInstanceThrowsAssertionFailedErrorOnInstantiationException 0.001 s

ClassInstanceTest

newInstanceIllegalAccessException 0 s
- class com.codebox.instance.ClassInstanceTest is @Disabled -
newInstanceInstantiationException 0 s
- class com.codebox.instance.ClassInstanceTest is @Disabled -

ConstructorInstanceExceptionTest

testNewInstanceSuccess 0.001 s
testInaccessibleUtilityClass 0.001 s
testNewInstanceWithInaccessibleConstructorThrowsAssertionFailure 0.001 s
testNewInstanceInstantiationException 0.001 s
testNewInstanceInvocationTargetException 0.001 s

ConstructorInstanceTest

newInstanceInvocationTargetException 0 s
- class com.codebox.instance.ConstructorInstanceTest is @Disabled -
newInstanceIllegalAccessException 0 s
- class com.codebox.instance.ConstructorInstanceTest is @Disabled -
newInstanceInstantiationException 0 s
- class com.codebox.instance.ConstructorInstanceTest is @Disabled -

LombokBuilderUtilTest

testGetLombokBuilderMethodReturnsNullWhenBuilderHasParams 0.001 s
testPrivateConstructor 0 s
testGetLombokBuilderMethodReturnsNullWhenNoBuilder 0 s
testGetLombokBuilderMethodReturnsMethodWhenPresent 0 s
testGetLombokBuilderMethodReturnsNullWhenBuilderNotStatic 0 s

Failure Details

[Summary] [Package List] [Test Cases]


newInstanceIllegalAccessException
- skipped: class com.codebox.instance.ClassInstanceTest is @Disabled
newInstanceInstantiationException
- skipped: class com.codebox.instance.ClassInstanceTest is @Disabled
newInstanceInvocationTargetException
- skipped: class com.codebox.instance.ConstructorInstanceTest is @Disabled
newInstanceIllegalAccessException
- skipped: class com.codebox.instance.ConstructorInstanceTest is @Disabled
newInstanceInstantiationException
- skipped: class com.codebox.instance.ConstructorInstanceTest is @Disabled