Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
157 0 0 0 100% 0.849

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
be.objectify.led.util 22 0 0 0 100% 0.061
be.objectify.led 68 0 0 0 100% 0.506
be.objectify.led.factory.type 1 0 0 0 100% 0.023
be.objectify.led.factory.object 66 0 0 0 100% 0.259

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

be.objectify.led.util

Class Tests Errors Failures Skipped Success Rate Time
ContractUtilsTest 14 0 0 0 100% 0.033
StringUtilsTest 8 0 0 0 100% 0.028

be.objectify.led

Class Tests Errors Failures Skipped Success Rate Time
PropertyDiggerTest 3 0 0 0 100% 0.015
PropertySetterTest 29 0 0 0 100% 0.174
PropertySetterConfigurationTest 2 0 0 0 100% 0.004
DefaultFactoryResolverTest 4 0 0 0 100% 0.019
StaticPropertySetterTest 5 0 0 0 100% 0.049
ObjectFactoryRegistryTest 2 0 0 0 100% 0.111
PropertySetterPrimitiveTest 19 0 0 0 100% 0.123
DefaultPropertyContextTest 4 0 0 0 100% 0.011

be.objectify.led.factory.type

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

be.objectify.led.factory.object

Class Tests Errors Failures Skipped Success Rate Time
BooleanFactoryTest 4 0 0 0 100% 0.026
CharacterFactoryTest 4 0 0 0 100% 0.024
IntegerFactoryTest 5 0 0 0 100% 0.017
ShortFactoryTest 5 0 0 0 100% 0.013
FloatFactoryTest 5 0 0 0 100% 0.022
DoubleFactoryTest 5 0 0 0 100% 0.014
LongFactoryTest 5 0 0 0 100% 0.011
StringFactoryTest 4 0 0 0 100% 0.01
EnumFactoryTest 12 0 0 0 100% 0.024
ListFactoryTest 4 0 0 0 100% 0.029
SetFactoryTest 4 0 0 0 100% 0.025
MapFactoryTest 4 0 0 0 100% 0.027
ByteObjectFactoryTest 5 0 0 0 100% 0.017

Test Cases

[Summary] [Package List] [Test Cases]

BooleanFactoryTest

testDefaultFactory_nullPropertyValue 0.002
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.005
testDefaultFactory_populatedPropertyValue 0.001

PropertyDiggerTest

testByNameOrdering 0.006
testDefaultNaturalOrdering 0.002
testExplicitNaturalOrdering 0.003

ContractUtilsTest

testNotNull_nullValue 0
testNotNull_nullName 0.001
testNotNull_validValue 0.001
testNotNull_validObject_nullName 0.001
testNonNullArray_nullValue 0.001
testNonNullArray_nullName 0.001
testNonNullArray_validValue 0
testNonNullArray_validObject_nullName 0.001
testNonNullArray_nullElement 0.001
testNonNullCollection_nullValue 0
testNonNullCollection_nullName 0.001
testNonNullCollection_validValue 0
testNonNullCollection_validObject_nullName 0
testNonNullCollection_nullElement 0.001

CharacterFactoryTest

testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.002

IntegerFactoryTest

testDefaultFactory_invalidPropertyValue 0.002
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

PropertySetterTest

testString_noPropertySet 0.013
testString_propertySet 0.002
testBoolean_noPropertySet 0.007
testBoolean_propertySet 0.004
testByte_noPropertySet 0.002
testByte_propertySet 0.01
testShort_noPropertySet 0.002
testShort_propertySet 0.002
testInteger_noPropertySet 0.002
testInteger_propertySet 0.003
testLong_noPropertySet 0.002
testLong_propertySet 0.002
testFloat_noPropertySet 0.002
testFloat_propertySet 0.003
testDouble_noPropertySet 0.002
testDouble_propertySet 0.015
testCharacter_noPropertySet 0.002
testCharacter_propertySet 0.002
testFinalProperty_defaultValue 0.002
testFinalProperty_explicitlyDisabled 0.003
testFinalProperty_explicitlyEnabled 0.003
testValidationFailure 0.014
testValidationFailureWithCause 0.004
testEnum 0.007
testStringList 0.002
testIntegerList 0.003
testIntList 0.003
testEnumList 0.003
testMultipleProperties 0.008

ShortFactoryTest

testDefaultFactory_invalidPropertyValue 0.001
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

PropertySetterConfigurationTest

testAllowFinalSetting_defaultValue 0
testAllowFinalSetting 0

FloatFactoryTest

testDefaultFactory_invalidPropertyValue 0.009
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

DefaultFactoryResolverTest

testDefaultValues_defaultConstructor 0.003
testResolverWithPopulatedTypeFactoryRegistry_tfrConstructor 0.002
testResolverWithPopulatedTypeFactoryRegistry_ofrConstructor 0.004
testResolverWithPopulatedTypeFactoryRegistry_ofrTfrConstructor 0.004

StaticPropertySetterTest

testStaticValue 0.017
testStaticValueViaInstance 0.003
testStaticAndInstanceValueViaInstance 0.004
testStaticWithInstanceValueViaClass 0.01
testFinalProperty 0.003

DoubleFactoryTest

testDefaultFactory_invalidPropertyValue 0.002
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.002
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

LongFactoryTest

testDefaultFactory_invalidPropertyValue 0.001
testDefaultFactory_nullPropertyValue 0
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

StringUtilsTest

testIsEmpty_nullString 0.001
testIsEmpty_zeroLengthString 0
testIsEmpty_emptyString 0
testIsEmpty_tab 0.001
testIsEmpty_lineFeed 0.001
testIsEmpty_carriageReturn 0.001
testIsEmpty_variousWhitespaceCharacters 0
testIsEmpty_populatedString 0.001

StringFactoryTest

testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0
testDefaultFactory_populatedPropertyValue 0.001

ObjectFactoryRegistryTest

testRegister_nullArray 0.063
testRegister_nullList 0.001

EnumFactoryTest

testMatchingEntry 0.004
testLeadingSpaces 0
testTrailingSpaces 0
testLeadingAndTrailingSpaces 0
testLeadingTabs 0
testTrailingTabs 0
testLeadingAndTrailingTabs 0
testLeadingNewlines 0
testTrailingNewlines 0
testLeadingAndTrailingNewlines 0
testIncorrectCase 0.002
testMissingValue 0

PropertySetterPrimitiveTest

testBoolean_noPropertySet 0.002
testBoolean_propertySet 0.018
testByte_noPropertySet 0.005
testByte_propertySet 0.003
testShort_noPropertySet 0.003
testShort_propertySet 0.004
testInteger_noPropertySet 0.003
testInteger_propertySet 0.003
testLong_noPropertySet 0.002
testLong_propertySet 0.003
testFloat_noPropertySet 0.003
testFloat_propertySet 0.004
testDouble_noPropertySet 0.003
testDouble_propertySet 0.003
testCharacter_noPropertySet 0.002
testCharacter_propertySet 0.009
testMultipleProperties 0.011
testFinalProperty 0.003
testMultiplePrimitiveAndNonPrimitiveProperties 0.015

DefaultPropertyContextTest

testValueFromProperty 0.002
testValueFromProvidedProperty 0.001
testOverriddenByPropertyValue 0.002
testOverriddenBySubsequentPropertyValue 0.002

ListFactoryTest

testDefaultFactory_nullPropertyValue 0.014
testDefaultFactory_zeroLengthPropertyValue 0.002
testDefaultFactory_emptyPropertyValue 0.003
testDefaultFactory_populatedPropertyValue 0.003

SetFactoryTest

testDefaultFactory_nullPropertyValue 0.008
testDefaultFactory_zeroLengthPropertyValue 0.003
testDefaultFactory_emptyPropertyValue 0.004
testDefaultFactory_populatedPropertyValue 0.003

EnumTypeFactoryTest

testEnumClassification 0.021

MapFactoryTest

testDefaultFactory_nullPropertyValue 0.009
testDefaultFactory_zeroLengthPropertyValue 0.003
testDefaultFactory_emptyPropertyValue 0.003
testDefaultFactory_populatedPropertyValue 0.005

ByteObjectFactoryTest

testDefaultFactory_invalidPropertyValue 0.002
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.002
testDefaultFactory_populatedPropertyValue 0.002