Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
77 0 0 0 100% 0.472

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
test.de.smartics.ci.config.hudson 4 0 0 0 100% 0.011
test.de.smartics.ci.config.utils 12 0 0 0 100% 0.007
de.smartics.ci.config.load 18 0 0 0 100% 0.172
test.de.smartics.ci.config.maven 15 0 0 0 100% 0.002
test.de.smartics.ci.config.load 28 0 0 0 100% 0.28

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

test.de.smartics.ci.config.hudson

Class Tests Errors Failures Skipped Success Rate Time
HudsonConfigScmElementTest 4 0 0 0 100% 0.011

test.de.smartics.ci.config.utils

Class Tests Errors Failures Skipped Success Rate Time
JDomUtilsMergeTest 7 0 0 0 100% 0.003
JDomUtilsCalcXPathTest 4 0 0 0 100% 0.002
JDomUtilsTest 1 0 0 0 100% 0.002

de.smartics.ci.config.load

Class Tests Errors Failures Skipped Success Rate Time
DocumentMergerTest 9 0 0 0 100% 0.171
HudsonJobConfigTest 3 0 0 0 100% 0
HudsonJobDocumentFixerTest 2 0 0 0 100% 0
MavenInfoApplierTest 4 0 0 0 100% 0.001

test.de.smartics.ci.config.maven

Class Tests Errors Failures Skipped Success Rate Time
MavenConfigTest 3 0 0 0 100% 0.001
MavenPomScmTest 12 0 0 0 100% 0.001

test.de.smartics.ci.config.load

Class Tests Errors Failures Skipped Success Rate Time
HudsonJobConfigLoaderTest 4 0 0 0 100% 0.054
LocationManagerTest 5 0 0 0 100% 0.093
LoaderPlanTest 1 0 0 0 100% 0.004
LoaderPlanConstructionTest 4 0 0 0 100% 0.002
LoaderPlanObjectTest 10 0 0 0 100% 0.124
LocationManagerConstructionTest 3 0 0 0 100% 0.001
LoaderPlanLoaderTest 1 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

HudsonJobConfigLoaderTest

rejectsNullPlan 0
rejectsEmptyPlan 0.001
loadProjectWithOverridingConfigs 0.03
loadProjectToConfigInstance 0.023

LocationManagerTest

allowsToAddAFileLocation 0.001
allowsNotNullToBeAddedAsAFileLocation 0.001
signalsMissingResources 0
opensResourcesFromKnownLocations 0.001
rejectsInvalidFiles 0.09

MavenConfigTest

allowsToAccessAllProperties 0
requiresMavenSettingsOnConstruction 0
requiresMavenPomOnConstruction 0.001

LoaderPlanTest

allowsToAddConfigurationNames 0.004

DocumentMergerTest

allowsTargetDocumentToBeNullSoThatNewDocumentIsReturned 0.012
allowsNewDocumentToBeNullSoThatTargetDocumentIsReturned 0
mergesIdenticalEntryStructures 0.127
addsNewEntries 0.005
overridesSomeElementsOfEntries 0.006
overridesMoreElementsOfEntries 0.005
mergesIdenticalElementStructures 0.005
overridesSomeElementsNoEntries 0.005
overridesMoreElementsNoEntries 0.006

MavenPomScmTest

rejectsNullAsConnectionString 0.001
rejectsBlankAsConnectionString 0
rejectsConnectionStringNotConformingToFormat 0
rejectsConnectionStringNotStartingWithScmPrefix 0
rejectsConnectionStringNotProvidingScmType 0
rejectsConnectionStringNotProvidingScmTypeButHttpProtocol 0
rejectsConnectionStringNotProvidingScmTypeButHttpsProtocol 0
rejectsConnectionStringContainingOnlyScmPrefix 0
rejectsConnectionStringContainingNoUrl 0
rejectsConnectionStringMissingScmTypeDelimiter 0
readsScmInfoFromScmConnectionString 0
rejectsUnknownScmType 0

HudsonJobConfigTest

requiresAnIdOnConstruction 0
requiresTheXmlRepresentation 0
allowsToAccessAllProperties 0

JDomUtilsMergeTest

rejectsIfTargetIsNull 0
rejectsIfToBeMergedIsNull 0
rejectsIfRootElementsDoNotHaveTheSameName 0
mergesTwoElementsWithoutContent 0.001
mergesTwoElementsWithContent 0
mergesTwoElementsWithIdenticalContent 0.001
recognizesElementDisorders 0.001

HudsonConfigScmElementTest

addsScmElementIfNoneIsPresent 0.003
addsScmElementIfPresentWithoutUrl 0.003
addsScmElementIfPresentWithUrl 0.003
addsScmElementIfPresentWithLocations 0.002

LoaderPlanConstructionTest

allowsNoBlankIdInConstruction 0
requiresAMavenConfig 0
providesValidToStringWithoutElements 0.002
providesValidToStringWithElements 0

LoaderPlanObjectTest

equalsIsReflexive 0.009
equalsIsSymmetric 0.015
equalsIsTransitive 0.051
equalsIsConsistent 0.012
equalsReturnFalseOnNull 0.003
equalsReturnFalseOnInstanceOfOtherType 0.004
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.012
hashCodeProducesUnequalHashCodesForUnequalInstances 0.012
toStringRunsWithoutFailure 0.003

HudsonJobDocumentFixerTest

removesCascadingChildrenNamesElement 0
removesCascadingJobPropertiesElement 0

MavenInfoApplierTest

addsScmInfo 0
acceptsThatNoScmInfoIsProvided 0
addsProjectInfo 0
addsProjectDescription 0

JDomUtilsCalcXPathTest

rejectsIfElementIsNull 0
calcsPathFromDocumentRootIfNullArgumentIsPassed 0
calcsPathRelativeToGivenRootElement 0
rootElementIsNotRequiredToBeADirectChildOfTheDocumentsRoot 0

LocationManagerConstructionTest

allowsConstructionWithoutParentClassLoader 0
allowsConstructionWithParentClassLoader 0.001
allowsConstructionWithNullParentClassLoader 0

JDomUtilsTest

providesConstructor 0.002

LoaderPlanLoaderTest

loadsMultipleLoaderInformationFromOneConfigurationFile 0.002