Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
39 0 0 0 100% 15.128

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
info.magnolia.resources.app.availability 6 0 0 0 100% 0.04
info.magnolia.resources.app.setup 6 0 0 0 100% 12.851
info.magnolia.resources.app.workbench 14 0 0 0 100% 0.178
info.magnolia.resources.app.action 9 0 0 0 100% 0.735
info.magnolia.module.resources.app 4 0 0 0 100% 1.324

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

info.magnolia.resources.app.availability

Class Tests Errors Failures Skipped Success Rate Time
IsEditableRuleTest 1 0 0 0 100% 0
IsFileRuleTest 3 0 0 0 100% 0.002
IsHotfixableRuleTest 2 0 0 0 100% 0.038

info.magnolia.resources.app.setup

Class Tests Errors Failures Skipped Success Rate Time
ResourcesAppModuleVersionHandlerTest 6 0 0 0 100% 12.851

info.magnolia.resources.app.workbench

Class Tests Errors Failures Skipped Success Rate Time
ResourcesContainerTest 14 0 0 0 100% 0.178

info.magnolia.resources.app.action

Class Tests Errors Failures Skipped Success Rate Time
HotfixActivationActionTest 3 0 0 0 100% 0.262
HotfixResourceActionTest 3 0 0 0 100% 0.305
RemoveHotfixActionTest 3 0 0 0 100% 0.168

info.magnolia.module.resources.app

Class Tests Errors Failures Skipped Success Rate Time
EditResourceActionTest 1 0 0 0 100% 0.689
ResourceTemplateColumnFormatterTest 3 0 0 0 100% 0.635

Test Cases

[Summary] [Package List] [Test Cases]

EditResourceActionTest

testOpenSubAppForTemplateName 0.689

ResourceTemplateColumnFormatterTest

testGenerateCell 0.496
testGenerateCellDeleted 0.073
testGenerateCellForBinaryResource 0.066

HotfixActivationActionTest

buildParamsSetsRecursiveParameter 0.139
unPublishSucceeds 0.059
publishActionSucceeds 0.064

HotfixResourceActionTest

canHotfixResource 0.177
cannotHotfixIfResourceAlreadyExists 0.073
canHotfixResourceAtRootLevel 0.055

RemoveHotfixActionTest

canRemoveHotfix 0.082
throwsExceptionIfIsNotOverriding 0.047
throwsExceptionIfOriginIsNotJcr 0.039

IsEditableRuleTest

isAvailableOnlyForEditableResourcePaths 0

IsFileRuleTest

isAvailableForFile 0
isNotAvailableForNonResourcePathItems 0.001
isNotAvailableForFolder 0.001

IsHotfixableRuleTest

isAvailableOnlyForJcrOrigin 0.036
isNotAvailableForNonResourceItems 0.002

ResourcesAppModuleVersionHandlerTest

testUpgradeFrom22 4.583
testUpgradeFrom234MigratesResourcesApp 2.684
testUpgradeFrom21InstallsNewApp 2.927
testUpgradeFrom231CheckThatNodeTypeWasAdjusted 0.749
testUpgradeFrom231CheckHtmlResources 0.827
testUpgradeFrom222 1.081

ResourcesContainerTest

setExpandedReExpandsElementsThatWereOnceExpanded 0.055
setCollapsedExpandsParentsAndPreservesCorrectIndices 0.092
setExpandedLazilyLoadsAdditionalResourcesFromOrigin 0
getParentDoesntReturnNullIndefinitelyForNullInput 0.005
isRootIsOnlyTrueForContainerRoots 0.001
setExpandedTwiceDoesntDuplicatePaths 0.001
getParentReturnsNullForContainerRoots 0
setCollapsedDoesntGoOutOfBoundsWhenCollapsingLastRootId 0
setCollapsedFreesResourcePathsRecursively 0
isOverriding 0.001
cacheMechanismWorks 0.021
rootItemIdsDoesntIncludeOriginRoot 0.001
getItemIdsWithRangeIncludesLastEntryAndDoesntGoOutOfBounds 0.001
setCollapsedSupportsExpandingAndCollapsingItemsWithoutChildren 0