Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
108 0 0 0 100% 30.327

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.01
info.magnolia.pages.app.editor.statusbar 7 0 0 0 100% 0.096
info.magnolia.pages.app.editor 8 0 0 0 100% 0.295
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.016
info.magnolia.pages.app.setup 28 0 0 0 100% 21.002
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.017
info.magnolia.pages.app.editor.availability 37 0 0 0 100% 0.084
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.08
info.magnolia.pages.app 2 0 0 0 100% 0.613
info.magnolia.pages.app.action 7 0 0 0 100% 7.839
info.magnolia.pages.app.field 2 0 0 0 100% 0.108
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.167

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

info.magnolia.pages.app.editor.statusbar

Class Tests Errors Failures Skipped Success Rate Time
ActivationStatusTest 5 0 0 0 100% 0.053
StatusBarPresenterTest 2 0 0 0 100% 0.043

info.magnolia.pages.app.editor

Class Tests Errors Failures Skipped Success Rate Time
PageEditorPresenterTest 1 0 0 0 100% 0.036
PagesEditorSubAppTest 7 0 0 0 100% 0.259

info.magnolia.pages.app.editor.parameters

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

info.magnolia.pages.app.setup

Class Tests Errors Failures Skipped Success Rate Time
PagesModuleVersionHandlerTest 28 0 0 0 100% 21.002

info.magnolia.pages.app.editor.pagebar

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

info.magnolia.pages.app.editor.availability

Class Tests Errors Failures Skipped Success Rate Time
IsAreaAddibleRuleTest 3 0 0 0 100% 0.012
IsAreaCreatedRuleTest 5 0 0 0 100% 0.006
IsAreaEditableRuleTest 5 0 0 0 100% 0.008
IsAreaOptionalRuleTest 3 0 0 0 100% 0.002
IsComponentDeletableRuleTest 3 0 0 0 100% 0.002
IsComponentEditableRuleTest 3 0 0 0 100% 0.003
IsComponentMovableRuleTest 3 0 0 0 100% 0.003
IsComponentMovingRuleTest 4 0 0 0 100% 0.014
IsElementTypeRuleTest 4 0 0 0 100% 0.009
IsLocationNotVersionedRuleTest 2 0 0 0 100% 0.009
IsPreviewRuleTest 2 0 0 0 100% 0.016

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

Class Tests Errors Failures Skipped Success Rate Time
LanguageSelectorTest 1 0 0 0 100% 0.013
LanguageSelectorViewTest 1 0 0 0 100% 0.067

info.magnolia.pages.app

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

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
PreviewPreviousVersionActionTest 3 0 0 0 100% 5.719
RestorePreviousVersionActionTest 4 0 0 0 100% 2.12

info.magnolia.pages.app.field

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

info.magnolia.pages.app.dnd

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

Test Cases

[Summary] [Package List] [Test Cases]

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.611
testHasAvailablePageTemplatesWhenNoneExist 0.002

PreviewPreviousVersionActionTest

testExecute 3.305
testExecuteThreeVersion 1.624
testExecuteNoVersion 0.79

RestorePreviousVersionActionTest

testExecute 0.635
testExecuteThreeVersion 0.532
testExecuteNoVersion 0.447
testExecuteDontShowPreview 0.506

TemplateTypeRestrictionDropConstraintTest

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

PageEditorPresenterTest

testSelectingExternalPage 0.036

PagesEditorSubAppTest

testContentChangedExistingNode 0.088
testNodeSelectedUpdatesActionBar 0.08
testContentChangedOnRemovedNode 0.009
testDeactivateComponents 0.049
testStatusUpdatedWhenSubAppStarts 0.013
testPageEditSetsMgnlPreviewToFalse 0.01
testContentChangedOnNonJcrItemIdDoesNotThrowCCE 0.01

IsAreaAddibleRuleTest

testAreaIsAddible 0.005
testAreaIsNotAddible 0.001
testExpectingAreaButIsComponent 0.006

IsAreaCreatedRuleTest

testExpectingNotCreatedAreaIsCreated 0.004
testExpectingNotCreatedAreaIsNotCreated 0
testExpectingCreatedAreaIsCreated 0
testExpectingAreaButIsComponent 0.001
testExpectingCreatedAreaIsNotCreated 0.001

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0.004
testExpectingNotEditableAreaIsNotEditable 0.001
testExpectingAreaButIsComponent 0.001
testExpectingNotEditableAreaIsEditable 0.001
testExpectingEditableAreaIsEditable 0.001

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0.001
testAreaIsOptional 0
testAreaIsNotOptional 0.001

IsComponentDeletableRuleTest

testExpectingComponentButIsArea 0.001
testComponentIsNotDeletable 0.001
testComponentIsDeletable 0

IsComponentEditableRuleTest

testComponentIsEditable 0.001
testExpectingComponentButIsArea 0.001
testComponentIsNotEditable 0.001

IsComponentMovableRuleTest

testComponentIsMovable 0.001
testComponentIsNotMovable 0.001
testExpectingComponentButIsArea 0.001

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0.012
testExpectingComponentNotMovingAndIsMoving 0.001
testExpectingComponentMovingAndIsNotMoving 0.001
testExpectingComponentMovingAndIsMoving 0

IsElementTypeRuleTest

testExpectingComponentElement 0.007
testExpectingAreaElement 0.001
testExpectingPageElement 0.001
testExpectingPageElementButIsArea 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0.009
testNonVersionedLocation 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0.015
testExpectingToBeInPreviewAndIsPreview 0.001

PageBarPresenterTest

testExtensionLifecycle 0.014
testMissingPageBarDefinition 0.003

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0.013

LanguageSelectorViewTest

testAvailableLocales 0.067

PlatformSelectorTest

testIgnoreSettingUnchangedPlatform 0.006
testSettingPlatform 0.001
testLocationUpdateInEdit 0.003
testLocationUpdateInView 0

DefaultPageEditorStatusTest

testUpdateStatusFromLocationWithPlatform 0.016
testUpdateStatusFromLocation 0
testHasLocationChanged 0

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.043
testUpdateActivationStatusOnLocationChange 0.002
testHandlerRegistrationOnAuthorInstance 0.003
testDoNotUpdateActivationStatusForOtherItems 0.004
testHandlerRegistrationOnPublicInstance 0.001

StatusBarPresenterTest

testMissingStatusBarDefinition 0.038
testExtensionLifecycle 0.005

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.091
optionDefinitionFallsbackToId 0.017

PagesModuleVersionHandlerTest

testUpdateTo533UpdatesAreaActions 2.335
testUpdateTo534UpdatesActionbarPageSectionsAvailability 0.943
testUpdateTo502ActionbarNodesUpdated 1.327
testUpdateTo501WithNonExistingLinkDefinition 0.99
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 0.647
updateFrom537BootstrapsNewComponentDialog 0.792
testUpdateTo534 0.704
testUpdateFrom53SetsWritePermissionForPagesBrowserActions 0.561
testUpdateTo51ActionsHaveAvailabilityRule 1.026
testUpdateTo511ImportActionAvailabilityHasRootProperty 0.704
testUpdateTo533UpdatesActionbarSectionAvailability 0.751
testUpdateFrom50 0.923
testUpdateTo536IntroducesIsPublishableRule 0.741
testUpdateFrom524 0.775
testUpdateTo51VersionActionsInstalled 0.724
testUpdateTo54BootstrapsPageEditorExtensions 0.512
updateTo54NewAvailabilityRule 0.46
updateFrom54UpdateAvailabilityRule 0.381
testUpdateTo5dot1ConfirmDeletionIsSetToMultiple 0.689
testUpdateTo54UpdatesPagesAppClass 0.474
testUpdateTo523SetsWritePermissionForPagesBrowserActions 0.564
testUpdateTo51BootstrapsNewCommands 0.728
testUpdateTo502CleanupDeleteAction 0.632
testUpdateTo502HasNewActions 0.544
testUpdateTo501WithExistingLinkDefinition 0.623
testUpdateTo533UpdatesPageEditorActions 0.601
testDialogsAreAddedModalityLevelProperty 0.439
testUpdateTo54UpdatesPagesEditorDescriptor 0.412