Summary

TestsErrors FailuresSkippedSuccess RateTime
429000100%13.223

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

Package List

PackageTestsErrors FailuresSkippedSuccess RateTime
net.sf.dozer.functional_tests.recursive2000100%0.079
net.sf.dozer.util.mapping.classmap2000100%0
net.sf.dozer.util.mapping.fieldmapper00000%0
net.sf.dozer.functional_tests.proxied142000100%6.657
net.sf.dozer.util.mapping.propertydescriptor1000100%0
net.sf.dozer.util.mapping.vo00000%0
net.sf.dozer.util.mapping.cache19000100%0.016
net.sf.dozer.util.mapping.copybyreference8000100%0.032
net.sf.dozer.util.mapping.config3000100%0.015
net.sf.dozer.util.mapping.factory3000100%0.031
net.sf.dozer.util.mapping.jmx7000100%0
net.sf.dozer.util.mapping.converters20000100%0.016
net.sf.dozer.util.mapping.util35000100%0.08
net.sf.dozer.util.mapping12000100%0.39
net.sf.dozer.util.mapping.vo.allowedexceptions00000%0
net.sf.dozer.util.mapping.stats21000100%0.016
net.sf.dozer.functional_tests154000100%5.891

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

net.sf.dozer.functional_tests.recursive

ClassTestsErrors FailuresSkippedSuccess RateTime
ProxiedRecursiveTest1000100%0.063
RecursiveTest1000100%0.016

net.sf.dozer.util.mapping.classmap

ClassTestsErrors FailuresSkippedSuccess RateTime
ClassMapTest2000100%0

net.sf.dozer.util.mapping.fieldmapper

ClassTestsErrors FailuresSkippedSuccess RateTime
TestCustomFieldMapper00000%0

net.sf.dozer.functional_tests.proxied

ClassTestsErrors FailuresSkippedSuccess RateTime
ProxiedBiDirectionalMappingTest3000100%1.218
ProxiedCustomConverterMappingTest14000100%0.344
ProxiedDeepMappingTest4000100%0.219
ProxiedDeepMappingWithIndexTest4000100%0.172
ProxiedGranularDozerBeanMapperTest42000100%1.953
ProxiedIndexMappingTest11000100%0.188
ProxiedInheritanceAbstractClassMappingTest5000100%0.063
ProxiedInheritanceMappingTest12000100%0.734
ProxiedMapperTest21000100%1.031
ProxiedMapTypeTest23000100%0.719
ProxiedTrimStringsTest3000100%0.016

net.sf.dozer.util.mapping.propertydescriptor

ClassTestsErrors FailuresSkippedSuccess RateTime
GetterSetterPropertyDescriptorTest1000100%0

net.sf.dozer.util.mapping.vo

ClassTestsErrors FailuresSkippedSuccess RateTime
TestCustomConverterHashMapObject00000%0
TestCustomConverterHashMapPrimeObject00000%0
TestCustomConverterObject00000%0
TestCustomConverterObjectPrime00000%0
TestObject00000%0
TestObjectPrime00000%0
TestObjectPrime200000%0
TestReferenceFoo00000%0
TestReferenceFooPrime00000%0
TestReferenceObject00000%0
TestReferencePrimeObject00000%0

net.sf.dozer.util.mapping.cache

ClassTestsErrors FailuresSkippedSuccess RateTime
CacheEntryTest2000100%0
CacheKeyFactoryTest2000100%0
CacheTest7000100%0
DozerCacheManagerTest8000100%0.016

net.sf.dozer.util.mapping.copybyreference

ClassTestsErrors FailuresSkippedSuccess RateTime
GlobalReferenceTest4000100%0.016
SubclassReferenceTest4000100%0.016
TestA00000%0
TestB00000%0

net.sf.dozer.util.mapping.config

ClassTestsErrors FailuresSkippedSuccess RateTime
GlobalSettingsTest3000100%0.015

net.sf.dozer.util.mapping.factory

ClassTestsErrors FailuresSkippedSuccess RateTime
JAXBBeanFactoryTest3000100%0.031

net.sf.dozer.util.mapping.jmx

ClassTestsErrors FailuresSkippedSuccess RateTime
DozerAdminControllerTest2000100%0
DozerStatisticsControllerTest5000100%0

net.sf.dozer.util.mapping.converters

ClassTestsErrors FailuresSkippedSuccess RateTime
ConverterTest3000100%0
CustomConverterContainerTest1000100%0
PrimitiveOrWrapperConverterTest14000100%0.016
StringConverterTest2000100%0
TestCustomConverter00000%0
TestCustomHashMapConverter00000%0

net.sf.dozer.util.mapping.util

ClassTestsErrors FailuresSkippedSuccess RateTime
CollectionUtilsTest11000100%0
DestBeanCreatorTest2000100%0.032
LoaderTest4000100%0
MappingsParserTest3000100%0
MappingUtilsTest8000100%0.016
MappingValidatorTest1000100%0
ReflectionUtilsTest5000100%0.016
TestDataFactory00000%0
XMLParserTest1000100%0.016

net.sf.dozer.util.mapping

ClassTestsErrors FailuresSkippedSuccess RateTime
DozerBeanMapperTest11000100%0.39
DozerInitializerTest1000100%0

net.sf.dozer.util.mapping.vo.allowedexceptions

ClassTestsErrors FailuresSkippedSuccess RateTime
TestException00000%0

net.sf.dozer.util.mapping.stats

ClassTestsErrors FailuresSkippedSuccess RateTime
GlobalStatisticsTest1000100%0
StatisticEntryTest3000100%0
StatisticManagerTest10000100%0
StatisticTest7000100%0.016

net.sf.dozer.functional_tests

ClassTestsErrors FailuresSkippedSuccess RateTime
BiDirectionalMappingTest3000100%0.734
CustomConverterMappingTest14000100%0.125
DeepMappingTest4000100%0.062
DeepMappingWithIndexTest4000100%0.031
GranularDozerBeanMapperTest42000100%0.5
IndexMappingTest11000100%0.079
InheritanceAbstractClassMappingTest5000100%0.078
InheritanceMappingTest12000100%0.281
InterfacePerformanceTest1000100%2.188
MapperTest21000100%0.766
MapTypeTest23000100%0.437
MultiThreadedTest1000100%0.032
PerformanceTest6000100%0.172
TrimStringsTest3000100%0.015
XMLBeansMappingTest4000100%0.391

Test Cases

BiDirectionalMappingTest

testSimpleBidirectional0
testBidirectionalWithCustomMapping0.015
testManyObjects0.719

CustomConverterMappingTest

testSimpleCustomConverter0
testSimpleCustomConverter_ImplicitMapping0
testSimpleCustomConverter_ImplicitMappingWithInheritance0.016
testSimpleCustomConverter_NullSrcValue0
testArrayToStringCustomConverter0
testCustomConverterMapping0.016
testCustomConverterWithPrimitive0.015
testCustomConverterHashMapMapping0.032
testFieldCustomConverter0
testFieldCustomConverter_NullSrcValue0
testFieldCustomConverter_CustomMapType0.015
testFieldCustomConverter_HashMapField0
testFieldCustomConverter_WithCustomConverterId0.016
testCustomConverter_MapNullFalse0

DeepMappingTest

testDeepMapping0.031
testDeepPropertyOneWay0.016
testDeepInterfaceWithHint0.015
testDeepMapping_UsingCustomGetSetMethods0

DeepMappingWithIndexTest

testDeepMappingWithIndexOnSrcField0
testDeepMappingWithIndexOnDestField0
testDeepMapIndexed0
testDeepMapInvIndexed0

GranularDozerBeanMapperTest

testInterface0.015
testNoDefaultConstructor0
testFieldAccessible0.016
testOverloadGetSetMethods0
testFieldCreateMethod0.015
testIntegerToString0.016
testMapNull_MappingLevel0
testMapNull_MappingLevel20
testMapEmptyString_MappingLevel0
testMapEmptyString_MappingLevel20
testMapNull_ClassLevel0.015
testMapEmptyString_ClassLevel0
testContextMappingWithNestedContext0.016
testArrayToSortedSet0
testSortedSetToArray0
testSetToSortedSet0
testSortedSetToSet0
testSetPrivateField0
testStringToIndexedSet_UsingHint0.016
testAllowedExceptions0.015
testAllowedExceptions_Implicit0
testPrimitiveArrayToList0
testPrimitiveArrayToList_UsingHint0
testCustomFieldMapper0
testPrivateConstructor0
testSetMapping_UppercaseFieldNameInXML0
testGlobalBeanFactoryAppliedToDefaultMappings0
testStringToDateMapping0.032
testMethodMapping0.015
testNoReadMethod0.016
testNoReadMethodSameClassTypes0.109
testNoReadMethod_GetterOnlyWithParams0.016
testNoWriteMethod0.031
testNoWriteMethodSameClassTypes0.016
testNullField0.015
testNullField20.016
testNullToPrimitive0.015
testGlobalRelationshipType0.016
testClassMapRelationshipType0
testRemoveOrphans0.016
testOrphanRemovalSet0
testOrphanRemovalList0

IndexMappingTest

testMap10
testMap1Inv0.016
testMap30
testNulls0.016
testNullsInv0
testNestedArray0.015
testNotNullNestedIndexAtoD0
testNullNestedIndexAtoD0
testNotNullNestedIndexDtoA0.016
testNullNestedIndexDtoA0.016
testStringToIndexedSet_UsingMapSetMethod0

InheritanceAbstractClassMappingTest

testCustomMappingForAbstractClasses0.031
testNoCustomMappingForAbstractClasses0
testAbstractDestClassThrowsException0
testNoCustomMappingForAbstractClasses_SubclassAttrsAppliedToAbstractClasses0.047
testNoCustomMappingForSubclasses_CustomMappingForAbstractClasses0

InheritanceMappingTest

testCustomMappingForSuperClasses0
testNoCustomMappingForSuperClasses0.016
testNoCustomMappingForSuperClasses_SubclassAttrsAppliedToSuperClasses0
testNoCustomMappingForSubclasses_CustomMappingForSuperClasses0
testGeneralInheritance0.031
testGeneralInheritance20.015
testInheritanceWithAbstractClassOrInterfaceAsDestination0.032
testComplexSuperClassMapping0.047
testSuperClassMapping0.109
testKM10.016
testKM20
testInterfaceInheritance_GetterSetterAtDifferentLevels0.015

InterfacePerformanceTest

testInterface2.188

MapperTest

testNoSourceValueIterateFieldMap0.016
testCustomGetterSetterMap0.031
testNoClassMappings0
testImplicitInnerObject0.031
testMapField0.032
testSetField0.031
testListField0.125
testListUsingDestHint0.031
testExcludeFields0.031
testGeneralMapping0.032
testMappingNoDestSpecified0.047
testGeneralMappingPassByReference0.031
testLongToLongMapping0.031
testNoWildcards0.109
testHydrateAndMore0.032
testDeepProperties0.047
testOneWayMapping0.015
testHintedOnlyConverter0.016
testSelfMapping0.016
testSetToArray0.031
testSetToList0.016

MapTypeTest

testMapToVo0.015
testMapToVo_CustomMappings0
testMapToVoUsingMapId0.016
testMapToVoUsingMapId_FieldExclude0
testNestedMapToVoUsingMapId0.016
testMapToVo_NoCustomMappings0
testVoToMap_NoCustomMappings0
testMapToMap0.046
testMapToMapExistingDestination0.032
testPropertyClassLevelMap0.031
testPropertyClassLevelMap20.094
testPropertyClassLevelMapBack0.031
testPropertyToMap0.016
testPropertyToCustomMap0.031
testPropertyToClassLevelMap0.031
testPropertyToCustomClassLevelMap0.031
testMapGetSetMethod_ClassLevel0
testMapGetSetMethod_FieldLevel0.016
testDateFormat_CustomMapType0
testMapType_NestedMapToVo_NoCustomMappings0
testMapType_MapToVo_CustomMapping_NoMapId0.016
testNestedCustomMap0.015
testMapToVoUsingMapInterface0

MultiThreadedTest

testMultiThreadedMapping0.032

PerformanceTest

testMapping10.094
testMapping20
testMapping30
testMapping40.016
testMapping50
testMapping60.047

ProxiedBiDirectionalMappingTest

testSimpleBidirectional0.015
testBidirectionalWithCustomMapping0.031
testManyObjects1.172

ProxiedCustomConverterMappingTest

testSimpleCustomConverter0
testSimpleCustomConverter_ImplicitMapping0.016
testSimpleCustomConverter_ImplicitMappingWithInheritance0.016
testSimpleCustomConverter_NullSrcValue0
testArrayToStringCustomConverter0.015
testCustomConverterMapping0.047
testCustomConverterWithPrimitive0.11
testCustomConverterHashMapMapping0.093
testFieldCustomConverter0
testFieldCustomConverter_NullSrcValue0
testFieldCustomConverter_CustomMapType0
testFieldCustomConverter_HashMapField0.016
testFieldCustomConverter_WithCustomConverterId0.015
testCustomConverter_MapNullFalse0

ProxiedDeepMappingTest

testDeepMapping0.047
testDeepPropertyOneWay0.125
testDeepInterfaceWithHint0.015
testDeepMapping_UsingCustomGetSetMethods0.032

ProxiedDeepMappingWithIndexTest

testDeepMappingWithIndexOnSrcField0.11
testDeepMappingWithIndexOnDestField0.031
testDeepMapIndexed0
testDeepMapInvIndexed0.031

ProxiedGranularDozerBeanMapperTest

testInterface0.14
testNoDefaultConstructor0
testFieldAccessible0.235
testOverloadGetSetMethods0.062
testFieldCreateMethod0.031
testIntegerToString0.032
testMapNull_MappingLevel0.062
testMapNull_MappingLevel20.016
testMapEmptyString_MappingLevel0
testMapEmptyString_MappingLevel20.015
testMapNull_ClassLevel0.11
testMapEmptyString_ClassLevel0.015
testContextMappingWithNestedContext0.125
testArrayToSortedSet0.016
testSortedSetToArray0.047
testSetToSortedSet0.062
testSortedSetToSet0
testSetPrivateField0.032
testStringToIndexedSet_UsingHint0.031
testAllowedExceptions0.015
testAllowedExceptions_Implicit0.032
testPrimitiveArrayToList0.031
testPrimitiveArrayToList_UsingHint0
testCustomFieldMapper0.031
testPrivateConstructor0
testSetMapping_UppercaseFieldNameInXML0.094
testGlobalBeanFactoryAppliedToDefaultMappings0
testStringToDateMapping0.187
testMethodMapping0.094
testNoReadMethod0.063
testNoReadMethodSameClassTypes0.031
testNoReadMethod_GetterOnlyWithParams0.031
testNoWriteMethod0.047
testNoWriteMethodSameClassTypes0.031
testNullField0.031
testNullField20.032
testNullToPrimitive0.078
testGlobalRelationshipType0.015
testClassMapRelationshipType0
testRemoveOrphans0.032
testOrphanRemovalSet0
testOrphanRemovalList0

ProxiedIndexMappingTest

testMap10.032
testMap1Inv0.031
testMap30.015
testNulls0.016
testNullsInv0.016
testNestedArray0.015
testNotNullNestedIndexAtoD0.032
testNullNestedIndexAtoD0
testNotNullNestedIndexDtoA0.015
testNullNestedIndexDtoA0.016
testStringToIndexedSet_UsingMapSetMethod0

ProxiedInheritanceAbstractClassMappingTest

testCustomMappingForAbstractClasses0.015
testNoCustomMappingForAbstractClasses0
testAbstractDestClassThrowsException0
testNoCustomMappingForAbstractClasses_SubclassAttrsAppliedToAbstractClasses0.016
testNoCustomMappingForSubclasses_CustomMappingForAbstractClasses0.016

ProxiedInheritanceMappingTest

testCustomMappingForSuperClasses0.031
testNoCustomMappingForSuperClasses0
testNoCustomMappingForSuperClasses_SubclassAttrsAppliedToSuperClasses0
testNoCustomMappingForSubclasses_CustomMappingForSuperClasses0
testGeneralInheritance0.047
testGeneralInheritance20.094
testInheritanceWithAbstractClassOrInterfaceAsDestination0.063
testComplexSuperClassMapping0.359
testSuperClassMapping0.031
testKM10.031
testKM20.047
testInterfaceInheritance_GetterSetterAtDifferentLevels0.016

ProxiedMapperTest

testNoSourceValueIterateFieldMap0.047
testCustomGetterSetterMap0.046
testNoClassMappings0.016
testImplicitInnerObject0.031
testMapField0.172
testSetField0.031
testListField0.016
testListUsingDestHint0.031
testExcludeFields0.032
testGeneralMapping0.031
testMappingNoDestSpecified0.078
testGeneralMappingPassByReference0.062
testLongToLongMapping0.016
testNoWildcards0.031
testHydrateAndMore0.047
testDeepProperties0.141
testOneWayMapping0.047
testHintedOnlyConverter0.031
testSelfMapping0.047
testSetToArray0.031
testSetToList0.047

ProxiedMapTypeTest

testMapToVo0.109
testMapToVo_CustomMappings0.016
testMapToVoUsingMapId0.015
testMapToVoUsingMapId_FieldExclude0
testNestedMapToVoUsingMapId0.031
testMapToVo_NoCustomMappings0
testVoToMap_NoCustomMappings0.032
testMapToMap0.047
testMapToMapExistingDestination0.078
testPropertyClassLevelMap0.062
testPropertyClassLevelMap20.016
testPropertyClassLevelMapBack0.031
testPropertyToMap0.016
testPropertyToCustomMap0.031
testPropertyToClassLevelMap0.031
testPropertyToCustomClassLevelMap0.11
testMapGetSetMethod_ClassLevel0.015
testMapGetSetMethod_FieldLevel0.016
testDateFormat_CustomMapType0
testMapType_NestedMapToVo_NoCustomMappings0.015
testMapType_MapToVo_CustomMapping_NoMapId0
testNestedCustomMap0.032
testMapToVoUsingMapInterface0

ProxiedTrimStringsTest

testTrimStrings_Global0
testTrimStrings_ClassMapLevel0.016
testTrimStrings_ImplicitMapping0

ProxiedRecursiveTest

testConvertWithSubClass0.063

RecursiveTest

testConvertWithSubClass0.016

TrimStringsTest

testTrimStrings_Global0
testTrimStrings_ClassMapLevel0.015
testTrimStrings_ImplicitMapping0

XMLBeansMappingTest

testXmlBeans0.344
testInterfaceInheritanceViaXmlBeans_PojoToXmlBean0.031
testInterfaceInheritanceViaXmlBeans_XmlBeanToPojo0
testXmlBeansWithNullFields0.016

CacheEntryTest

testConstructor0
testHashCodeAndEquals0

CacheKeyFactoryTest

testCreateKey0
testCreateKey20

CacheTest

testPutGetFromCache0
testMaximumCacheSize0
testMaximumCacheSize_Zero0
testClear0
testGetMaxSize0
testGetNull0
testPutNull0

DozerCacheManagerTest

testCreateNew0
testAddGetExistsCache0
testGetUnknownCache0
testAddDuplicateCachesSingleton0
testAddDuplicateCachesNonSingleton0
testGetStatisticTypes0
testClearAllCacheEntries0
testGetCaches0

ClassMapTest

testAddFieldMappings0
testSetFieldMappings0

GlobalSettingsTest

testLoadDefaultPropFile_Default0.015
testLoadDefaultPropFile_NotFound0
testLoadPropFile_SpecifiedViaSysProp0

ConverterTest

testAccessors0
testInvalidDateInput0
testInvalidCalendarInput0

CustomConverterContainerTest

testSetConverters0

PrimitiveOrWrapperConverterTest

testConvertPrimitiveOrWrapperEmptyString0
testConvertPrimitiveOrWrapperEmptyString20
testConvertInteger0
testConvertIntegerWithFailure0
testConvertDouble0.016
testConvertFloat0
testConvertLong0
testConvertBigDecimal0
testConvertBigInteger0
testConvertShort0
testConvertDate0
testConvertBoolean0
testConvertStringPositiveScalar0
testConvertStringNegativeScalar0

StringConverterTest

testDateToString_NoDateFormatSpecified0
testCalendarToString_NoDateFormatSpecified0

TestCustomConverter

TestCustomHashMapConverter

GlobalReferenceTest

testBase0
testSubclassSource0
testReference0.016
testReferenceSubclassSource0

SubclassReferenceTest

testBase0
testSubclassSource0.016
testReference0
testReferenceSubclassSource0

TestA

TestB

DozerBeanMapperTest

testGeneralMapping0.031
testNoSourceObject0
testNoDestinationClass0
testNullDestObj0
testMapIdDoesNotExist0
testNoMappingFilesSpecified0
testInjectMapperUsingSpring0.203
testSpringNoMappingFilesSpecified0.015
testDetectDuplicateMapping0
testCustomBeanFactory0.094
testEventListeners0.031

DozerInitializerTest

testIsInitialized0

JAXBBeanFactoryTest

testCreateBeanForSimpleJaxbClass0.031
testCreateBeanClassNotFoundException0
testCreateBeanForInnerJaxbClass0

TestCustomFieldMapper

DozerAdminControllerTest

testSetStatisticsEnabled0
testGetCurrentVersion0

DozerStatisticsControllerTest

testIsStatisticsEnabled0
testGetStatisticValues0
testGetStatisticEntries0
testGetStatisticEntries_UnknownType0
testGetStatisticValue_UnknownType0

GetterSetterPropertyDescriptorTest

testGetReadMethod0

GlobalStatisticsTest

testGetInstance0

StatisticEntryTest

testConstructor0
testEquals0
testIncrement0

StatisticManagerTest

testGetStatisticTypes0
testSetStatisticsEnabled0
testAddAndGetStatistic0
testClearAll0
testGetStatiticNotFound0
testIncrementMissingParams0
testGetStatisticValue0
testGetStatisticValueException0
testAddDuplicateStatistic0
testIncrementUnknownTypeAndKey0

StatisticTest

testConstructor0
testClear0
testEquals0
testAddGetEntries0
testGetEntryWithDefaultKey0
testGetEntryWithDefaultKeyNotFound0
testAddNull0

CollectionUtilsTest

testIsList0
testIsSet0
testIsArray0
testIsPrimitiveArray0
testIsPrimitiveArray_False0
testGetValueFromCollection0
testLengthOfCollection0
testCreateNewSet_Default0
testCreateNewSet_SortedSetDefault0
testCreateNewSet_FromExistingSet0
testConvertPrimitiveArrayToList0

DestBeanCreatorTest

testCreatDestBeanNoFactory0
testCreatBeanFromFactory0

LoaderTest

testResourceNotFound0
testGetResource_FileOutsideOfClasspath0
testGetResource_FileOutsideOfClasspath_NotFound0
testGetResource_FileOutsideOfClasspath_InvalidFormat0

MappingsParserTest

testDetectDuplicateMapping0
testDuplicateMapIds0
testEmptyMappings0

MappingUtilsTest

testIsBlankOrNull0
testOverridenFields0
testGetClassWithoutPackage0.016
testThrowMappingException_MappingException0
testThrowMappingException_RuntimeException0
testThrowMappingException_CheckedException0
testIsProxy0
testGetRealSuperclass0

MappingValidatorTest

testValidateMappingRequest_NullSrcObj0

ReflectionUtilsTest

testGetMethod_NotFound0
testGetDeepFieldHierarchy_NonDeepField0
testGetDeepFieldHierarchy_NotExists0
testGetPropertyDescriptors_InterfaceInheritance0.016
testFindPropertyDescriptor_InterfaceInheritance0

TestDataFactory

XMLParserTest

testParse0.016

TestException

TestCustomConverterHashMapObject

TestCustomConverterHashMapPrimeObject

TestCustomConverterObject

TestCustomConverterObjectPrime

TestObject

TestObjectPrime

TestObjectPrime2

TestReferenceFoo

TestReferenceFooPrime

TestReferenceObject

TestReferencePrimeObject