Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
117 0 0 0 100% 16.142

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 7 0 0 0 100% 0.025
info.magnolia.pages.app.action 12 0 0 0 100% 3.553
info.magnolia.pages.app.editor.availability 37 0 0 0 100% 0.042
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.009
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.01
info.magnolia.pages.app.editor 8 0 0 0 100% 0.099
info.magnolia.pages.app 2 0 0 0 100% 0.012
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.014
info.magnolia.pages.app.setup 32 0 0 0 100% 12.328
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.017
info.magnolia.pages.app.editor.pagebar.platformselector 4 0 0 0 100% 0.003
info.magnolia.pages.app.field 2 0 0 0 100% 0.03

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 5 0 0 0 100% 0.013
StatusBarPresenterTest 2 0 0 0 100% 0.012

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
CreateComponentActionTest 3 0 0 0 100% 0.389
CreatePageActionTest 2 0 0 0 100% 0.32
PreviewPreviousVersionActionTest 3 0 0 0 100% 1.933
RestorePreviousVersionActionTest 4 0 0 0 100% 0.911

info.magnolia.pages.app.editor.availability

Class Tests Errors Failures Skipped Success Rate Time
IsAreaAddibleRuleTest 3 0 0 0 100% 0.011
IsAreaCreatedRuleTest 5 0 0 0 100% 0.005
IsAreaEditableRuleTest 5 0 0 0 100% 0.005
IsAreaOptionalRuleTest 3 0 0 0 100% 0.001
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.003
IsLocationNotVersionedRuleTest 2 0 0 0 100% 0.003
IsPreviewRuleTest 2 0 0 0 100% 0.007

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

Class Tests Errors Failures Skipped Success Rate Time
LanguageSelectorTest 1 0 0 0 100% 0.004
LanguageSelectorViewTest 1 0 0 0 100% 0.005

info.magnolia.pages.app.editor.pagebar

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

info.magnolia.pages.app.editor

Class Tests Errors Failures Skipped Success Rate Time
PageEditorPresenterTest 1 0 0 0 100% 0.008
PagesEditorSubAppTest 7 0 0 0 100% 0.091

info.magnolia.pages.app

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

info.magnolia.pages.app.editor.parameters

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

info.magnolia.pages.app.setup

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

info.magnolia.pages.app.dnd

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

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

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

Test Cases

[Summary] [Package List] [Test Cases]

CreateComponentActionTest

addNewComponentAtTopOfTheArea 0.385
addNewComponentWhenOnlySingleAvailableComponentType 0.002
addNewComponentAtBottomByDefault 0.002

CreatePageActionTest

executeNoPagePropertiesDialog 0.08
createFormDialogPresenter 0.24

PreviewPreviousVersionActionTest

testExecute 1.314
testExecuteThreeVersion 0.36
testExecuteNoVersion 0.259

RestorePreviousVersionActionTest

testExecute 0.272
testExecuteThreeVersion 0.269
testExecuteNoVersion 0.181
testExecuteDontShowPreview 0.189

TemplateTypeRestrictionDropConstraintTest

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

IsAreaAddibleRuleTest

testAreaIsAddible 0.007
testAreaIsNotAddible 0
testExpectingAreaButIsComponent 0.004

IsAreaCreatedRuleTest

testExpectingNotCreatedAreaIsCreated 0.002
testExpectingNotCreatedAreaIsNotCreated 0.001
testExpectingCreatedAreaIsCreated 0
testExpectingAreaButIsComponent 0.001
testExpectingCreatedAreaIsNotCreated 0.001

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0.003
testExpectingNotEditableAreaIsNotEditable 0.001
testExpectingAreaButIsComponent 0
testExpectingNotEditableAreaIsEditable 0.001
testExpectingEditableAreaIsEditable 0

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0
testAreaIsOptional 0
testAreaIsNotOptional 0.001

IsComponentDeletableRuleTest

testExpectingComponentButIsArea 0
testComponentIsNotDeletable 0.001
testComponentIsDeletable 0

IsComponentEditableRuleTest

testComponentIsEditable 0
testExpectingComponentButIsArea 0
testComponentIsNotEditable 0.001

IsComponentMovableRuleTest

testComponentIsMovable 0
testComponentIsNotMovable 0.001
testExpectingComponentButIsArea 0

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0.003
testExpectingComponentNotMovingAndIsMoving 0
testExpectingComponentMovingAndIsNotMoving 0.001
testExpectingComponentMovingAndIsMoving 0

IsElementTypeRuleTest

testExpectingComponentElement 0.002
testExpectingAreaElement 0
testExpectingPageElement 0.001
testExpectingPageElementButIsArea 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0.003
testNonVersionedLocation 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0.007
testExpectingToBeInPreviewAndIsPreview 0

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0.004

LanguageSelectorViewTest

testAvailableLocales 0.005

PageBarPresenterTest

testExtensionLifecycle 0.01
testMissingPageBarDefinition 0

PlatformSelectorTest

testIgnoreSettingUnchangedPlatform 0.002
testSettingPlatform 0
testLocationUpdateInEdit 0
testLocationUpdateInView 0.001

PageEditorPresenterTest

testSelectingExternalPage 0.008

PagesEditorSubAppTest

testContentChangedExistingNode 0.023
testNodeSelectedUpdatesActionBar 0.018
testContentChangedOnRemovedNode 0.007
testDeactivateComponents 0.024
testStatusUpdatedWhenSubAppStarts 0.006
testPageEditSetsMgnlPreviewToFalse 0.007
testContentChangedOnNonJcrItemIdDoesNotThrowCCE 0.006

DefaultPageEditorStatusTest

testUpdateStatusFromLocationWithPlatform 0.013
testUpdateStatusFromLocation 0
testHasLocationChanged 0.001

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.009
testUpdateActivationStatusOnLocationChange 0.001
testHandlerRegistrationOnAuthorInstance 0.001
testDoNotUpdateActivationStatusForOtherItems 0.001
testHandlerRegistrationOnPublicInstance 0.001

StatusBarPresenterTest

testMissingStatusBarDefinition 0.01
testExtensionLifecycle 0.002

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.019
optionDefinitionFallsbackToId 0.011

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.012
testHasAvailablePageTemplatesWhenNoneExist 0

PagesModuleVersionHandlerTest

updateFrom524 0.691
updateFrom545 0.351
updateTo533UpdatesActionbarSectionAvailability 0.572
updateFrom53SetsWritePermissionForPagesBrowserActions 0.385
dialogsAreAddedModalityLevelProperty 0.377
updateTo54UpdatesPagesEditorDescriptor 0.333
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 0.258
updateFrom537BootstrapsNewComponentDialog 0.453
updateFrom50 0.506
updateTo534UpdatesActionbarPageSectionsAvailability 0.375
updateTo501WithNonExistingLinkDefinition 0.457
updateTo5dot1ConfirmDeletionIsSetToMultiple 0.471
updateTo51ActionsHaveAvailabilityRule 0.464
updateTo502ActionbarNodesUpdated 0.429
updateTo534 0.316
updateTo51BootstrapsNewCommands 0.457
updateTo536IntroducesIsPublishableRule 0.494
updateTo51VersionActionsInstalled 0.419
updateTo54BootstrapsPageEditorExtensions 0.332
updateTo54NewAvailabilityRule 0.307
updateFrom544AllowToChoosePositionOfNewComponent 0.225
updateFrom544AddsDuplicateComponentAvailabilityRule 0.229
updateTo533UpdatesAreaActions 0.445
updateTo511ImportActionAvailabilityHasRootProperty 0.335
updateTo533UpdatesPageEditorActions 0.402
updateFrom54UpdateAvailabilityRule 0.231
updateTo501WithExistingLinkDefinition 0.392
updateTo502HasNewActions 0.373
updateTo54UpdatesPagesAppClass 0.288
updateTo502CleanupDeleteAction 0.405
updateTo544ConfigureDuplicateComponentAction 0.241
updateTo523SetsWritePermissionForPagesBrowserActions 0.315