Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
114 0 0 0 100% 20.753

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.003
info.magnolia.pages.app.editor.statusbar 7 0 0 0 100% 0.044
info.magnolia.pages.app.editor 8 0 0 0 100% 0.127
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.015
info.magnolia.pages.app.setup 31 0 0 0 100% 14.877
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.013
info.magnolia.pages.app.editor.availability 37 0 0 0 100% 0.06
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.049
info.magnolia.pages.app 2 0 0 0 100% 0.016
info.magnolia.pages.app.action 10 0 0 0 100% 5.43
info.magnolia.pages.app.field 2 0 0 0 100% 0.039
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.08

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.003

info.magnolia.pages.app.editor.statusbar

Class Tests Errors Failures Skipped Success Rate Time
ActivationStatusTest 5 0 0 0 100% 0.026
StatusBarPresenterTest 2 0 0 0 100% 0.018

info.magnolia.pages.app.editor

Class Tests Errors Failures Skipped Success Rate Time
PageEditorPresenterTest 1 0 0 0 100% 0.012
PagesEditorSubAppTest 7 0 0 0 100% 0.115

info.magnolia.pages.app.editor.parameters

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

info.magnolia.pages.app.setup

Class Tests Errors Failures Skipped Success Rate Time
PagesModuleVersionHandlerTest 31 0 0 0 100% 14.877

info.magnolia.pages.app.editor.pagebar

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

info.magnolia.pages.app.editor.availability

Class Tests Errors Failures Skipped Success Rate Time
IsAreaAddibleRuleTest 3 0 0 0 100% 0.019
IsAreaCreatedRuleTest 5 0 0 0 100% 0.005
IsAreaEditableRuleTest 5 0 0 0 100% 0.004
IsAreaOptionalRuleTest 3 0 0 0 100% 0
IsComponentDeletableRuleTest 3 0 0 0 100% 0.001
IsComponentEditableRuleTest 3 0 0 0 100% 0.001
IsComponentMovableRuleTest 3 0 0 0 100% 0.001
IsComponentMovingRuleTest 4 0 0 0 100% 0.004
IsElementTypeRuleTest 4 0 0 0 100% 0.005
IsLocationNotVersionedRuleTest 2 0 0 0 100% 0.005
IsPreviewRuleTest 2 0 0 0 100% 0.015

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

Class Tests Errors Failures Skipped Success Rate Time
LanguageSelectorTest 1 0 0 0 100% 0.008
LanguageSelectorViewTest 1 0 0 0 100% 0.041

info.magnolia.pages.app

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

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
CreateComponentActionTest 3 0 0 0 100% 0.484
PreviewPreviousVersionActionTest 3 0 0 0 100% 3.508
RestorePreviousVersionActionTest 4 0 0 0 100% 1.438

info.magnolia.pages.app.field

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

info.magnolia.pages.app.dnd

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

Test Cases

[Summary] [Package List] [Test Cases]

CreateComponentActionTest

addNewComponentAtTopOfTheArea 0.48
addNewComponentWhenOnlySingleAvailableComponentType 0.002
addNewComponentAtBottomByDefault 0.002

PreviewPreviousVersionActionTest

testExecute 2.02
testExecuteThreeVersion 1.069
testExecuteNoVersion 0.419

RestorePreviousVersionActionTest

testExecute 0.418
testExecuteThreeVersion 0.398
testExecuteNoVersion 0.305
testExecuteDontShowPreview 0.317

TemplateTypeRestrictionDropConstraintTest

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

IsAreaAddibleRuleTest

testAreaIsAddible 0.013
testAreaIsNotAddible 0.001
testExpectingAreaButIsComponent 0.005

IsAreaCreatedRuleTest

testExpectingNotCreatedAreaIsCreated 0.003
testExpectingNotCreatedAreaIsNotCreated 0
testExpectingCreatedAreaIsCreated 0.001
testExpectingAreaButIsComponent 0
testExpectingCreatedAreaIsNotCreated 0.001

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0.003
testExpectingNotEditableAreaIsNotEditable 0
testExpectingAreaButIsComponent 0.001
testExpectingNotEditableAreaIsEditable 0
testExpectingEditableAreaIsEditable 0

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0
testAreaIsOptional 0
testAreaIsNotOptional 0

IsComponentDeletableRuleTest

testExpectingComponentButIsArea 0
testComponentIsNotDeletable 0.001
testComponentIsDeletable 0

IsComponentEditableRuleTest

testComponentIsEditable 0
testExpectingComponentButIsArea 0.001
testComponentIsNotEditable 0

IsComponentMovableRuleTest

testComponentIsMovable 0
testComponentIsNotMovable 0
testExpectingComponentButIsArea 0.001

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0.003
testExpectingComponentNotMovingAndIsMoving 0.001
testExpectingComponentMovingAndIsNotMoving 0
testExpectingComponentMovingAndIsMoving 0

IsElementTypeRuleTest

testExpectingComponentElement 0.004
testExpectingAreaElement 0
testExpectingPageElement 0.001
testExpectingPageElementButIsArea 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0.005
testNonVersionedLocation 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0.014
testExpectingToBeInPreviewAndIsPreview 0.001

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0.008

LanguageSelectorViewTest

testAvailableLocales 0.041

PageBarPresenterTest

testExtensionLifecycle 0.012
testMissingPageBarDefinition 0.001

PlatformSelectorTest

testIgnoreSettingUnchangedPlatform 0.002
testSettingPlatform 0.001
testLocationUpdateInEdit 0
testLocationUpdateInView 0

PageEditorPresenterTest

testSelectingExternalPage 0.012

PagesEditorSubAppTest

testContentChangedExistingNode 0.041
testNodeSelectedUpdatesActionBar 0.02
testContentChangedOnRemovedNode 0.006
testDeactivateComponents 0.028
testStatusUpdatedWhenSubAppStarts 0.006
testPageEditSetsMgnlPreviewToFalse 0.007
testContentChangedOnNonJcrItemIdDoesNotThrowCCE 0.007

DefaultPageEditorStatusTest

testUpdateStatusFromLocationWithPlatform 0.014
testUpdateStatusFromLocation 0
testHasLocationChanged 0.001

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.022
testUpdateActivationStatusOnLocationChange 0.001
testHandlerRegistrationOnAuthorInstance 0.001
testDoNotUpdateActivationStatusForOtherItems 0.001
testHandlerRegistrationOnPublicInstance 0.001

StatusBarPresenterTest

testMissingStatusBarDefinition 0.016
testExtensionLifecycle 0.002

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.028
optionDefinitionFallsbackToId 0.011

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.016
testHasAvailablePageTemplatesWhenNoneExist 0

PagesModuleVersionHandlerTest

updateFrom524 1.279
updateTo533UpdatesActionbarSectionAvailability 0.902
updateFrom53SetsWritePermissionForPagesBrowserActions 0.617
dialogsAreAddedModalityLevelProperty 0.518
updateTo54UpdatesPagesEditorDescriptor 0.465
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 0.474
updateFrom537BootstrapsNewComponentDialog 0.522
updateFrom50 0.66
updateTo534UpdatesActionbarPageSectionsAvailability 0.477
updateTo501WithNonExistingLinkDefinition 0.587
updateTo5dot1ConfirmDeletionIsSetToMultiple 0.544
updateTo51ActionsHaveAvailabilityRule 0.614
updateTo502ActionbarNodesUpdated 0.561
updateTo534 0.396
updateTo51BootstrapsNewCommands 0.475
updateTo536IntroducesIsPublishableRule 0.53
updateTo51VersionActionsInstalled 0.477
updateTo54BootstrapsPageEditorExtensions 0.351
updateTo54NewAvailabilityRule 0.321
updateFrom544AllowToChoosePositionOfNewComponent 0.251
updateFrom544AddsDuplicateComponentAvailabilityRule 0.254
updateTo533UpdatesAreaActions 0.428
updateTo511ImportActionAvailabilityHasRootProperty 0.341
updateTo533UpdatesPageEditorActions 0.448
updateFrom54UpdateAvailabilityRule 0.261
updateTo501WithExistingLinkDefinition 0.426
updateTo502HasNewActions 0.407
updateTo54UpdatesPagesAppClass 0.311
updateTo502CleanupDeleteAction 0.406
updateTo544ConfigureDuplicateComponentAction 0.248
updateTo523SetsWritePermissionForPagesBrowserActions 0.326