Summary

Tests Errors Failures Skipped Success Rate Time
144 0 0 0 100% 0.887

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
be.objectify.led.util 20 0 0 0 100% 0.046
be.objectify.led 57 0 0 0 100% 0.554
be.objectify.led.factory.type 1 0 0 0 100% 0.007
be.objectify.led.factory.object 66 0 0 0 100% 0.28

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 12 0 0 0 100% 0.021
StringUtilsTest 8 0 0 0 100% 0.025

be.objectify.led

Class Tests Errors Failures Skipped Success Rate Time
ObjectFactoryRegistryTest 2 0 0 0 100% 0.218
DefaultPropertyContextTest 4 0 0 0 100% 0.013
DefaultFactoryResolverTest 2 0 0 0 100% 0.009
PropertySetterTest 25 0 0 0 100% 0.132
PropertySetterPrimitiveTest 19 0 0 0 100% 0.126
StaticPropertySetterTest 5 0 0 0 100% 0.056

be.objectify.led.factory.type

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

be.objectify.led.factory.object

Class Tests Errors Failures Skipped Success Rate Time
BooleanFactoryTest 4 0 0 0 100% 0.014
ByteObjectFactoryTest 5 0 0 0 100% 0.019
FloatFactoryTest 5 0 0 0 100% 0.018
SetFactoryTest 4 0 0 0 100% 0.026
MapFactoryTest 4 0 0 0 100% 0.027
ShortFactoryTest 5 0 0 0 100% 0.017
DoubleFactoryTest 5 0 0 0 100% 0.019
IntegerFactoryTest 5 0 0 0 100% 0.034
CharacterFactoryTest 4 0 0 0 100% 0.012
StringFactoryTest 4 0 0 0 100% 0.011
ListFactoryTest 4 0 0 0 100% 0.029
EnumFactoryTest 12 0 0 0 100% 0.028
LongFactoryTest 5 0 0 0 100% 0.026

Test Cases

ObjectFactoryRegistryTest

testRegister_nullArray 0.174
testRegister_nullList 0.001

DefaultPropertyContextTest

testValueFromProperty 0.002
testValueFromProvidedProperty 0.001
testOverriddenByPropertyValue 0.001
testOverriddenBySubsequentPropertyValue 0.001

BooleanFactoryTest

testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.003

ByteObjectFactoryTest

testDefaultFactory_invalidPropertyValue 0.006
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.002

FloatFactoryTest

testDefaultFactory_invalidPropertyValue 0.006
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

ContractUtilsTest

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

SetFactoryTest

testDefaultFactory_nullPropertyValue 0.008
testDefaultFactory_zeroLengthPropertyValue 0.002
testDefaultFactory_emptyPropertyValue 0.006
testDefaultFactory_populatedPropertyValue 0.003

DefaultFactoryResolverTest

testDefaultValues 0.003
testResolverWithPopulatedTypeFactoryRegistry 0.003

StringUtilsTest

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

MapFactoryTest

testDefaultFactory_nullPropertyValue 0.007
testDefaultFactory_zeroLengthPropertyValue 0.004
testDefaultFactory_emptyPropertyValue 0.002
testDefaultFactory_populatedPropertyValue 0.006

PropertySetterTest

testString_noPropertySet 0.004
testString_propertySet 0.003
testBoolean_noPropertySet 0.003
testBoolean_propertySet 0.004
testByte_noPropertySet 0.019
testByte_propertySet 0.003
testShort_noPropertySet 0.003
testShort_propertySet 0.003
testInteger_noPropertySet 0.002
testInteger_propertySet 0.002
testLong_noPropertySet 0.003
testLong_propertySet 0.002
testFloat_noPropertySet 0.002
testFloat_propertySet 0.002
testDouble_noPropertySet 0.002
testDouble_propertySet 0.006
testCharacter_noPropertySet 0.003
testCharacter_propertySet 0.003
testFinalProperty 0.003
testEnum 0.004
testStringList 0.003
testIntegerList 0.002
testIntList 0.004
testEnumList 0.003
testMultipleProperties 0.005

EnumTypeFactoryTest

testEnumClassification 0.006

PropertySetterPrimitiveTest

testBoolean_noPropertySet 0.003
testBoolean_propertySet 0.004
testByte_noPropertySet 0.003
testByte_propertySet 0.003
testShort_noPropertySet 0.002
testShort_propertySet 0.017
testInteger_noPropertySet 0.003
testInteger_propertySet 0.009
testLong_noPropertySet 0.004
testLong_propertySet 0.004
testFloat_noPropertySet 0.003
testFloat_propertySet 0.003
testDouble_noPropertySet 0.002
testDouble_propertySet 0.003
testCharacter_noPropertySet 0.003
testCharacter_propertySet 0.013
testFinalProperty 0.003
testMultipleProperties 0.008
testMultiplePrimitiveAndNonPrimitiveProperties 0.008

ShortFactoryTest

testDefaultFactory_invalidPropertyValue 0.008
testDefaultFactory_nullPropertyValue 0
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

DoubleFactoryTest

testDefaultFactory_invalidPropertyValue 0.007
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

IntegerFactoryTest

testDefaultFactory_invalidPropertyValue 0.017
testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

CharacterFactoryTest

testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.002

StringFactoryTest

testDefaultFactory_nullPropertyValue 0.001
testDefaultFactory_zeroLengthPropertyValue 0.001
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0.001

ListFactoryTest

testDefaultFactory_nullPropertyValue 0.015
testDefaultFactory_zeroLengthPropertyValue 0.002
testDefaultFactory_emptyPropertyValue 0.002
testDefaultFactory_populatedPropertyValue 0.003

EnumFactoryTest

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

LongFactoryTest

testDefaultFactory_invalidPropertyValue 0.016
testDefaultFactory_nullPropertyValue 0
testDefaultFactory_zeroLengthPropertyValue 0
testDefaultFactory_emptyPropertyValue 0.001
testDefaultFactory_populatedPropertyValue 0

StaticPropertySetterTest

testFinalProperty 0.017
testStaticValue 0.004
testStaticValueViaInstance 0.002
testStaticAndInstanceValueViaInstance 0.007
testStaticWithInstanceValueViaClass 0.003