Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
121 0 0 0 100% 27.623

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.pages.app.editor.pagebar.platformselector 4 0 0 0 100% 0.004
info.magnolia.pages.app.editor.statusbar 8 0 0 0 100% 0.037
info.magnolia.pages.app.editor 8 0 0 0 100% 0.116
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.013
info.magnolia.pages.app.setup 32 0 0 0 100% 20.875
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.015
info.magnolia.pages.app.editor.availability 41 0 0 0 100% 0.067
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.04
info.magnolia.pages.app 2 0 0 0 100% 0.01
info.magnolia.pages.app.action 11 0 0 0 100% 6.31
info.magnolia.pages.app.field 2 0 0 0 100% 0.043
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.093

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

info.magnolia.pages.app.editor.pagebar.platformselector

Class Tests Errors Failures Skipped Success Rate Time
PlatformSelectorTest 4 0 0 0 100% 0.004

info.magnolia.pages.app.editor.statusbar

Class Tests Errors Failures Skipped Success Rate Time
ActivationStatusTest 6 0 0 0 100% 0.022
StatusBarPresenterTest 2 0 0 0 100% 0.015

info.magnolia.pages.app.editor

Class Tests Errors Failures Skipped Success Rate Time
PageEditorPresenterTest 1 0 0 0 100% 0.011
PagesEditorSubAppTest 7 0 0 0 100% 0.105

info.magnolia.pages.app.editor.parameters

Class Tests Errors Failures Skipped Success Rate Time
DefaultPageEditorStatusTest 3 0 0 0 100% 0.013

info.magnolia.pages.app.setup

Class Tests Errors Failures Skipped Success Rate Time
PagesModuleVersionHandlerTest 32 0 0 0 100% 20.875

info.magnolia.pages.app.editor.pagebar

Class Tests Errors Failures Skipped Success Rate Time
PageBarPresenterTest 2 0 0 0 100% 0.015

info.magnolia.pages.app.editor.availability

Class Tests Errors Failures Skipped Success Rate Time
IsAreaAddibleRuleTest 3 0 0 0 100% 0.026
IsAreaCreatedRuleTest 9 0 0 0 100% 0.009
IsAreaEditableRuleTest 5 0 0 0 100% 0.006
IsAreaOptionalRuleTest 3 0 0 0 100% 0.001
IsComponentDeletableRuleTest 3 0 0 0 100% 0.001
IsComponentEditableRuleTest 3 0 0 0 100% 0
IsComponentMovableRuleTest 3 0 0 0 100% 0
IsComponentMovingRuleTest 4 0 0 0 100% 0.003
IsElementTypeRuleTest 4 0 0 0 100% 0.004
IsLocationNotVersionedRuleTest 2 0 0 0 100% 0.005
IsPreviewRuleTest 2 0 0 0 100% 0.012

info.magnolia.pages.app.editor.pagebar.languageselector

Class Tests Errors Failures Skipped Success Rate Time
LanguageSelectorTest 1 0 0 0 100% 0.009
LanguageSelectorViewTest 1 0 0 0 100% 0.031

info.magnolia.pages.app

Class Tests Errors Failures Skipped Success Rate Time
PagesContentAppTest 2 0 0 0 100% 0.01

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
CreateComponentActionTest 3 0 0 0 100% 0.501
CreatePageActionTest 1 0 0 0 100% 0.105
PreviewPreviousVersionActionTest 3 0 0 0 100% 3.93
RestorePreviousVersionActionTest 4 0 0 0 100% 1.774

info.magnolia.pages.app.field

Class Tests Errors Failures Skipped Success Rate Time
TemplateSelectorFieldFactoryTest 2 0 0 0 100% 0.043

info.magnolia.pages.app.dnd

Class Tests Errors Failures Skipped Success Rate Time
TemplateTypeRestrictionDropConstraintTest 6 0 0 0 100% 0.093

Test Cases

[Summary] [Package List] [Test Cases]

CreateComponentActionTest

addNewComponentAtTopOfTheArea 0.495
addNewComponentWhenOnlySingleAvailableComponentType 0.002
addNewComponentAtBottomByDefault 0.004

CreatePageActionTest

executeNoPagePropertiesDialog 0.105

PreviewPreviousVersionActionTest

testExecute 2.332
testExecuteThreeVersion 1.079
testExecuteNoVersion 0.519

RestorePreviousVersionActionTest

testExecute 0.612
testExecuteThreeVersion 0.488
testExecuteNoVersion 0.343
testExecuteDontShowPreview 0.331

TemplateTypeRestrictionDropConstraintTest

testProxiedTemplateDefinitions 0.089
notAllowedAsChild 0.001
allowedAsChild 0.001
testNotAllowedBeforeAndAfter 0.001
testAllowedBeforeAndAfter 0.001
allowedAfterBeforeForRootItemsIsAlwaysEnabled 0

IsAreaAddibleRuleTest

testAreaIsAddible 0.019
testAreaIsNotAddible 0
testExpectingAreaButIsComponent 0.007

IsAreaCreatedRuleTest

expectingNotCreatedAreaIsNotCreated 0.004
expectingCreatedAreaIsCreated 0
expectingCreatedAreaIsNotCreated 0.001
expectingAreaButIsComponent 0
nonOptionalAndNotCreatedAreaIsConsideredCreated 0.001
expectingNotCreatedAreaIsCreated 0.001
optionalAndNotCreatedAreaIsNotConsideredCreated 0.001
nonOptionalAndCreatedAreaIsConsideredCreated 0.001
optionalAndCreatedAreaIsConsideredCreated 0

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0.004
testExpectingNotEditableAreaIsNotEditable 0.001
testExpectingAreaButIsComponent 0
testExpectingNotEditableAreaIsEditable 0
testExpectingEditableAreaIsEditable 0.001

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0
testAreaIsOptional 0.001
testAreaIsNotOptional 0

IsComponentDeletableRuleTest

testExpectingComponentButIsArea 0
testComponentIsNotDeletable 0.001
testComponentIsDeletable 0

IsComponentEditableRuleTest

testComponentIsEditable 0
testExpectingComponentButIsArea 0
testComponentIsNotEditable 0

IsComponentMovableRuleTest

testComponentIsMovable 0
testComponentIsNotMovable 0
testExpectingComponentButIsArea 0

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0.003
testExpectingComponentNotMovingAndIsMoving 0
testExpectingComponentMovingAndIsNotMoving 0
testExpectingComponentMovingAndIsMoving 0

IsElementTypeRuleTest

testExpectingComponentElement 0.003
testExpectingAreaElement 0
testExpectingPageElement 0.001
testExpectingPageElementButIsArea 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0.005
testNonVersionedLocation 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0.012
testExpectingToBeInPreviewAndIsPreview 0

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0.009

LanguageSelectorViewTest

testAvailableLocales 0.031

PageBarPresenterTest

testExtensionLifecycle 0.014
testMissingPageBarDefinition 0.001

PlatformSelectorTest

testIgnoreSettingUnchangedPlatform 0.002
testSettingPlatform 0.001
testLocationUpdateInEdit 0.001
testLocationUpdateInView 0

PageEditorPresenterTest

testSelectingExternalPage 0.011

PagesEditorSubAppTest

testContentChangedExistingNode 0.033
testNodeSelectedUpdatesActionBar 0.02
testContentChangedOnRemovedNode 0.006
testDeactivateComponents 0.028
testStatusUpdatedWhenSubAppStarts 0.006
testPageEditSetsMgnlPreviewToFalse 0.006
testContentChangedOnNonJcrItemIdDoesNotThrowCCE 0.006

DefaultPageEditorStatusTest

testUpdateStatusFromLocationWithPlatform 0.012
testUpdateStatusFromLocation 0.001
testHasLocationChanged 0

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.016
updateActivationStatusWhenCurrentItemDoesNotExist 0.002
testUpdateActivationStatusOnLocationChange 0.001
testHandlerRegistrationOnAuthorInstance 0.001
testDoNotUpdateActivationStatusForOtherItems 0.001
testHandlerRegistrationOnPublicInstance 0.001

StatusBarPresenterTest

testMissingStatusBarDefinition 0.013
testExtensionLifecycle 0.002

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.03
optionDefinitionFallsbackToId 0.013

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.01
testHasAvailablePageTemplatesWhenNoneExist 0

PagesModuleVersionHandlerTest

updateFrom524 1.321
updateFrom545 0.409
updateTo533UpdatesActionbarSectionAvailability 1.024
updateFrom53SetsWritePermissionForPagesBrowserActions 0.758
dialogsAreAddedModalityLevelProperty 0.642
updateTo54UpdatesPagesEditorDescriptor 0.6
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 0.509
updateFrom537BootstrapsNewComponentDialog 0.74
updateFrom50 0.841
updateTo534UpdatesActionbarPageSectionsAvailability 0.679
updateTo501WithNonExistingLinkDefinition 0.777
updateTo5dot1ConfirmDeletionIsSetToMultiple 0.781
updateTo51ActionsHaveAvailabilityRule 0.771
updateTo502ActionbarNodesUpdated 0.897
updateTo534 0.564
updateTo51BootstrapsNewCommands 0.534
updateTo536IntroducesIsPublishableRule 0.749
updateTo51VersionActionsInstalled 0.603
updateTo54BootstrapsPageEditorExtensions 0.443
updateTo54NewAvailabilityRule 0.374
updateFrom544AllowToChoosePositionOfNewComponent 0.321
updateFrom544AddsDuplicateComponentAvailabilityRule 0.367
updateTo533UpdatesAreaActions 0.63
updateTo511ImportActionAvailabilityHasRootProperty 0.503
updateTo533UpdatesPageEditorActions 0.664
updateFrom54UpdateAvailabilityRule 0.521
updateTo501WithExistingLinkDefinition 0.818
updateTo502HasNewActions 0.776
updateTo54UpdatesPagesAppClass 0.604
updateTo502CleanupDeleteAction 0.737
updateTo544ConfigureDuplicateComponentAction 0.399
updateTo523SetsWritePermissionForPagesBrowserActions 0.519