Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
45 0 0 0 100% 2.514

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.org.usurper.utils 7 0 0 0 100% 0.004
org.org.usurper 38 0 0 0 100% 2.51

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

org.org.usurper.utils

Class Tests Errors Failures Skipped Success Rate Time
ReflectionUtilsTest 7 0 0 0 100% 0.004

org.org.usurper

Class Tests Errors Failures Skipped Success Rate Time
JPetStoreDomainTest 1 0 0 0 100% 0.072
UnderTheCarpetTest 1 0 0 0 100% 0.003
UsurperGeneratorTest 22 0 0 0 100% 0.345
UsurperSpringTest 14 0 0 0 100% 2.09

Test Cases

JPetStoreDomainTest

testDomainObjects 0.071

UnderTheCarpetTest

testBlah 0.001

UsurperGeneratorTest

testGenerateObject 0.001
testGenerateImmutableObject 0
testGenerateImmutableWithChildObject 0.055
testGenerateImmutableWithChildObjectArray 0.077
testGenerateImmutableWithChildObjectCollections 0.09
testGenerateImmutableObjectWithChosenConstructor 0.001
testGeneratePartiallyImmutableObject 0.003
testBestConstructorSelection 0.005
testGenerateObjectWithInterface 0.001
testGenerateImmutableObjectWithInterface 0
testGenerateObjectWithEnum 0.002
testGenerateImmutableObjectWithEnum 0.001
testGenerateObjectWithChilds 0.002
testGenerateObjectWithCollectionChilds 0.01
testGenerateObjectWithVOCollectionChilds 0.047
testGenerateObjectWithArrayChilds 0.013
testGenerateObjectWithVOArrayChilds 0.015
testGenerateObjectWithNoHandlerForProperty 0.002
testGenerateObjectWithListOfValuesSpecificPropertyHandler 0.003
testGenerateObjectWithSpecificPropertyHandler 0.001
testGenerateObjectWithPropertyTypeHandler 0
testGenerateCollection 0.003

UsurperSpringTest

testGenerateObject 0.077
testGenerateList 0.035
testGenerateSet 0.022
testGenerateMap 0.043
testGenerateObjectWithNamespaceHandler 0.675
testGenerateListWithNamespaceHandler 0.467
testGenerateSetWithNamespaceHandler 0.147
testGenerateMapWithNamespaceHandler 0.091
testMethodInterceptor 0.184
testMethodInterceptorWithNamespaceHandler 0.058
testMethodInterceptorWithNamespaceHandlerAndImmutables 0.102
testGenerateSetup 0.005
testGenerateSetupWithXMLConfig 0.051
testGenerateSetupWithNamespaceHandler 0.076

ReflectionUtilsTest

testGetGenericTypeOfConstructor 0
testGetGenericTypesField 0
testGetField 0.001
testSetPropertyByName 0
testSetArrayPropertyByName 0
testSetPropertyBySetter 0
testSetArrayPropertyBySetter 0