Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.statusbar 8 0 0 0 100% 0.041
info.magnolia.pages.app.action 11 0 0 0 100% 4.407
info.magnolia.pages.app.editor.availability 41 0 0 0 100% 0.088
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.066
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.015
info.magnolia.pages.app.editor 8 0 0 0 100% 0.164
info.magnolia.pages.app 2 0 0 0 100% 0.009
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.018
info.magnolia.pages.app.setup 32 0 0 0 100% 14.324
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.109
info.magnolia.pages.app.editor.pagebar.platformselector 4 0 0 0 100% 0.007
info.magnolia.pages.app.field 2 0 0 0 100% 0.046

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

info.magnolia.pages.app.editor.statusbar

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

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
CreateComponentActionTest 3 0 0 0 100% 0.345
CreatePageActionTest 1 0 0 0 100% 0.087
PreviewPreviousVersionActionTest 3 0 0 0 100% 2.657
RestorePreviousVersionActionTest 4 0 0 0 100% 1.318

info.magnolia.pages.app.editor.availability

Class Tests Errors Failures Skipped Success Rate Time
IsAreaAddibleRuleTest 3 0 0 0 100% 0.017
IsAreaCreatedRuleTest 9 0 0 0 100% 0.008
IsAreaEditableRuleTest 5 0 0 0 100% 0.022
IsAreaOptionalRuleTest 3 0 0 0 100% 0.006
IsComponentDeletableRuleTest 3 0 0 0 100% 0.005
IsComponentEditableRuleTest 3 0 0 0 100% 0.002
IsComponentMovableRuleTest 3 0 0 0 100% 0.003
IsComponentMovingRuleTest 4 0 0 0 100% 0.004
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.012
LanguageSelectorViewTest 1 0 0 0 100% 0.054

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

Class Tests Errors Failures Skipped Success Rate Time
PageEditorPresenterTest 1 0 0 0 100% 0.013
PagesEditorSubAppTest 7 0 0 0 100% 0.151

info.magnolia.pages.app

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

info.magnolia.pages.app.editor.parameters

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

info.magnolia.pages.app.setup

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

info.magnolia.pages.app.dnd

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

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

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

info.magnolia.pages.app.field

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

Test Cases

[Summary] [Package List] [Test Cases]

CreateComponentActionTest

addNewComponentAtTopOfTheArea 0.341
addNewComponentWhenOnlySingleAvailableComponentType 0.002
addNewComponentAtBottomByDefault 0.002

CreatePageActionTest

executeNoPagePropertiesDialog 0.087

PreviewPreviousVersionActionTest

testExecute 1.574
testExecuteThreeVersion 0.698
testExecuteNoVersion 0.385

RestorePreviousVersionActionTest

testExecute 0.371
testExecuteThreeVersion 0.416
testExecuteNoVersion 0.26
testExecuteDontShowPreview 0.271

TemplateTypeRestrictionDropConstraintTest

testProxiedTemplateDefinitions 0.103
notAllowedAsChild 0.002
allowedAsChild 0.001
testNotAllowedBeforeAndAfter 0.002
testAllowedBeforeAndAfter 0
allowedAfterBeforeForRootItemsIsAlwaysEnabled 0.001

IsAreaAddibleRuleTest

testAreaIsAddible 0.012
testAreaIsNotAddible 0
testExpectingAreaButIsComponent 0.005

IsAreaCreatedRuleTest

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

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0.016
testExpectingNotEditableAreaIsNotEditable 0.001
testExpectingAreaButIsComponent 0.001
testExpectingNotEditableAreaIsEditable 0.001
testExpectingEditableAreaIsEditable 0.003

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0.005
testAreaIsOptional 0
testAreaIsNotOptional 0.001

IsComponentDeletableRuleTest

testExpectingComponentButIsArea 0.001
testComponentIsNotDeletable 0.001
testComponentIsDeletable 0.003

IsComponentEditableRuleTest

testComponentIsEditable 0.001
testExpectingComponentButIsArea 0.001
testComponentIsNotEditable 0

IsComponentMovableRuleTest

testComponentIsMovable 0.002
testComponentIsNotMovable 0
testExpectingComponentButIsArea 0.001

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0.003
testExpectingComponentNotMovingAndIsMoving 0
testExpectingComponentMovingAndIsNotMoving 0.001
testExpectingComponentMovingAndIsMoving 0

IsElementTypeRuleTest

testExpectingComponentElement 0.002
testExpectingAreaElement 0.001
testExpectingPageElement 0.001
testExpectingPageElementButIsArea 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0.004
testNonVersionedLocation 0.001

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0.011
testExpectingToBeInPreviewAndIsPreview 0.001

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0.012

LanguageSelectorViewTest

testAvailableLocales 0.054

PageBarPresenterTest

testExtensionLifecycle 0.014
testMissingPageBarDefinition 0.001

PlatformSelectorTest

testIgnoreSettingUnchangedPlatform 0.005
testSettingPlatform 0.001
testLocationUpdateInEdit 0
testLocationUpdateInView 0.001

PageEditorPresenterTest

testSelectingExternalPage 0.013

PagesEditorSubAppTest

testContentChangedExistingNode 0.035
testNodeSelectedUpdatesActionBar 0.024
testContentChangedOnRemovedNode 0.009
testDeactivateComponents 0.048
testStatusUpdatedWhenSubAppStarts 0.01
testPageEditSetsMgnlPreviewToFalse 0.012
testContentChangedOnNonJcrItemIdDoesNotThrowCCE 0.013

DefaultPageEditorStatusTest

testUpdateStatusFromLocationWithPlatform 0.017
testUpdateStatusFromLocation 0
testHasLocationChanged 0.001

ActivationStatusTest

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

StatusBarPresenterTest

testMissingStatusBarDefinition 0.012
testExtensionLifecycle 0.003

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.032
optionDefinitionFallsbackToId 0.014

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.009
testHasAvailablePageTemplatesWhenNoneExist 0

PagesModuleVersionHandlerTest

updateFrom524 0.929
updateFrom545 0.304
updateTo533UpdatesActionbarSectionAvailability 0.533
updateFrom53SetsWritePermissionForPagesBrowserActions 0.501
dialogsAreAddedModalityLevelProperty 0.428
updateTo54UpdatesPagesEditorDescriptor 0.515
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 0.403
updateFrom537BootstrapsNewComponentDialog 0.677
updateFrom50 0.654
updateTo534UpdatesActionbarPageSectionsAvailability 0.378
updateTo501WithNonExistingLinkDefinition 0.431
updateTo5dot1ConfirmDeletionIsSetToMultiple 0.459
updateTo51ActionsHaveAvailabilityRule 0.501
updateTo502ActionbarNodesUpdated 0.525
updateTo534 0.348
updateTo51BootstrapsNewCommands 0.42
updateTo536IntroducesIsPublishableRule 0.465
updateTo51VersionActionsInstalled 0.526
updateTo54BootstrapsPageEditorExtensions 0.337
updateTo54NewAvailabilityRule 0.313
updateFrom544AllowToChoosePositionOfNewComponent 0.252
updateFrom544AddsDuplicateComponentAvailabilityRule 0.258
updateTo533UpdatesAreaActions 0.434
updateTo511ImportActionAvailabilityHasRootProperty 0.314
updateTo533UpdatesPageEditorActions 0.437
updateFrom54UpdateAvailabilityRule 0.249
updateTo501WithExistingLinkDefinition 0.558
updateTo502HasNewActions 0.481
updateTo54UpdatesPagesAppClass 0.406
updateTo502CleanupDeleteAction 0.54
updateTo544ConfigureDuplicateComponentAction 0.311
updateTo523SetsWritePermissionForPagesBrowserActions 0.437