Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
157 0 0 1 99.363% 61.591

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.column 3 0 0 0 100% 0.511
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.01
info.magnolia.pages.app.editor.pagebar.nativepagepreviewlink 3 0 0 1 66.667% 0.004
info.magnolia.pages.app.editor.pagebar.platformselector 5 0 0 0 100% 0.001
info.magnolia.pages.app.editor.statusbar 5 0 0 0 100% 0.038
info.magnolia.pages.app.action 16 0 0 0 100% 1.671
info.magnolia.pages.app.editor.availability 41 0 0 0 100% 0.011
info.magnolia.pages.app.editor 16 0 0 0 100% 1.083
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.004
info.magnolia.pages.app 5 0 0 0 100% 0.46
info.magnolia.pages.app.editor.action 2 0 0 0 100% 0.006
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.019
info.magnolia.pages.app.setup 44 0 0 0 100% 57.163
info.magnolia.pages.app.editor.compatibility.statusbar 2 0 0 0 100% 0.02
info.magnolia.pages.app.field 2 0 0 0 100% 0.059
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.531

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

info.magnolia.pages.app.column

Class Tests Errors Failures Skipped Success Rate Time
PageNameColumnFormatterTest 3 0 0 0 100% 0.511

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

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

info.magnolia.pages.app.editor.pagebar.nativepagepreviewlink

Class Tests Errors Failures Skipped Success Rate Time
NativePagePreviewLinkViewImplTest 1 0 0 1 0% 0
NativePagePreviewLinkTest 2 0 0 0 100% 0.004

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

Class Tests Errors Failures Skipped Success Rate Time
PlatformSelectorTest 5 0 0 0 100% 0.001

info.magnolia.pages.app.editor.statusbar

Class Tests Errors Failures Skipped Success Rate Time
ActivationStatusTest 5 0 0 0 100% 0.038

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
ChangeComponentTemplateActionTest 1 0 0 0 100% 0.009
PreviewPreviousVersionActionTest 3 0 0 0 100% 0.489
PasteComponentActionTest 2 0 0 0 100% 0.396
CopyComponentActionTest 1 0 0 0 100% 0.024
CreatePageActionTest 1 0 0 0 100% 0.058
RestorePreviousVersionActionTest 4 0 0 0 100% 0.664
CreateComponentActionTest 4 0 0 0 100% 0.031

info.magnolia.pages.app.editor.availability

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

info.magnolia.pages.app.editor

Class Tests Errors Failures Skipped Success Rate Time
PageEditorPresenterTest 3 0 0 0 100% 0
PagesEditorSubAppTest 8 0 0 0 100% 1.055
PagesJcrContentConnectorTest 5 0 0 0 100% 0.028

info.magnolia.pages.app.editor.pagebar

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

info.magnolia.pages.app

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

info.magnolia.pages.app.editor.action

Class Tests Errors Failures Skipped Success Rate Time
PagesActionExecutorTest 2 0 0 0 100% 0.006

info.magnolia.pages.app.editor.parameters

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

info.magnolia.pages.app.setup

Class Tests Errors Failures Skipped Success Rate Time
PagesModuleVersionHandlerTest 44 0 0 0 100% 57.163

info.magnolia.pages.app.editor.compatibility.statusbar

Class Tests Errors Failures Skipped Success Rate Time
StatusBarPresenterCompatibilityTest 2 0 0 0 100% 0.02

info.magnolia.pages.app.field

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

info.magnolia.pages.app.dnd

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

Test Cases

[Summary] [Package List] [Test Cases]

ChangeComponentTemplateActionTest

execute 0.007

PlatformSelectorTest

platformTypeIdIsTheSameRegardlessOfOrientation 0
testIgnoreSettingUnchangedPlatform 0
testSettingPlatform 0
testLocationUpdateInEdit 0
testLocationUpdateInView 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0
testExpectingToBeInPreviewAndIsPreview 0

PagesActionExecutorTest

testActionInstantiationWithoutElement 0.002
testActionInstantiationWithElement 0.002

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.049
optionDefinitionFallsbackToId 0.01

IsElementTypeRuleTest

testExpectingComponentElement 0
testExpectingAreaElement 0
testExpectingPageElement 0
testExpectingPageElementButIsArea 0

TemplateTypeRestrictionDropConstraintTest

notAllowedAsChild 0.418
allowedAsChild 0
notAllowedBeforeAndAfter 0.002
proxiedTemplateDefinitions 0.056
allowedBeforeAndAfter 0.001
allowedAfterBeforeForRootItemsIsAlwaysEnabled 0.001

LanguageSelectorViewTest

testAvailableLocales 0.008

PreviewPreviousVersionActionTest

testExecute 0.163
testExecuteThreeVersion 0.144
testExecuteNoVersion 0.18

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0

IsAreaAddibleRuleTest

testAreaIsAddible 0
testAreaIsNotAddible 0
testExpectingAreaButIsComponent 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0
testNonVersionedLocation 0

PasteComponentActionTest

pasteSingleComponent 0.236
pasteMultipleComponents 0.158

PageEditorPresenterTest

i18nKeysAreFetchedOnPresenterStart 0
statusUpdatedWhenSubAppStarts 0
selectingExternalPage 0

PageBarPresenterTest

testExtensionLifecycle 0
testMissingPageBarDefinition 0.002

IsComponentEditableRuleTest

testComponentIsEditable 0
testExpectingComponentButIsArea 0
testComponentIsNotEditable 0

StatusBarPresenterCompatibilityTest

testMissingStatusBarDefinition 0.016
testExtensionLifecycle 0.002

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0
testAreaIsOptional 0
testAreaIsNotOptional 0

CopyComponentActionTest

copySingleComponent 0.023

PagesEditorSubAppTest

contentChangedOnRemovedNode 0.545
parametersAreUpdatedOnContentChangedEvent 0.105
contentChangedOnNonJcrItemIdDoesNotThrowCCE 0.072
nodeSelectedUpdatesActionBar 0.082
contentChangedExistingNode 0.065
initialLocaleRespectsDefaultLocale 0.066
deactivateComponents 0.062
pageEditSetsMgnlPreviewToFalse 0.055

NativePagePreviewLinkViewImplTest

createLinkView 0
PAGES-167 issue with mocking static AdmincentralFlavour.get()

CreatePageActionTest

executeNoPagePropertiesDialog 0.056

PageNameColumnFormatterTest

statusNoUriConflict 0.199
statusUriConflict 0.142
statusVirtualUriConflictDetectByVirtualUriRegistry 0.159

RestorePreviousVersionActionTest

testExecute 0.213
testExecuteThreeVersion 0.168
testExecuteNoVersion 0.137
testExecuteDontShowPreview 0.143

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0
testExpectingComponentNotMovingAndIsMoving 0
testExpectingComponentMovingAndIsNotMoving 0
testExpectingComponentMovingAndIsMoving 0

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.004
testHasAvailablePageTemplatesWhenNoneExist 0.005

PagesJcrContentConnectorTest

testCreatingItemFromOptionalNotCreatedArea 0.001
testCreatingItemFromComponent 0.006
testCreatingItemFromArea 0.007
testCreatingItemFromPage 0.005
testGetElementFromItemId 0.006

DefaultPageEditorStatusTest

hasLocationChanged 0.002
updateStatusFromLocationWithPlatform 0.015
updateStatusFromLocation 0

IsAreaCreatedRuleTest

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

NativePagePreviewLinkTest

updateLinkIncludesVersionWhenLocationChanges 0.002
updateLinkWhenLocationChanges 0

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0
testExpectingNotEditableAreaIsNotEditable 0
testExpectingAreaButIsComponent 0
testExpectingNotEditableAreaIsEditable 0
testExpectingEditableAreaIsEditable 0.001

PagesContentClipboardTest

pasteSingleComponent 0.143
dontPasteWhenOneTemplateIsNotCompatible 0.15
sessionDoesNotHavePendingChanges 0.153

PagesModuleVersionHandlerTest

updateFrom524 2.921
updateFrom545 1.156
updateFrom552 0.697
updateFrom553 0.554
updateFrom554 0.48
updateFrom561 0.357
updateTo533UpdatesActionbarSectionAvailability 1.62
updateFrom53SetsWritePermissionForPagesBrowserActions 1.515
dialogsAreAddedModalityLevelProperty 1.547
updateTo54UpdatesPagesEditorDescriptor 1.277
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 0.999
updateFrom550ChangeNameOfThePositionPropertyForComponents 0.636
updateFrom537BootstrapsNewComponentDialog 3.278
updateFrom50 1.756
updateFrom547RemovesUntitledProperty 0.785
updateTo534UpdatesActionbarPageSectionsAvailability 1.299
updateTo501WithNonExistingLinkDefinition 1.719
updateFrom555DisableCopyActionOnDeletedItem 0.363
updateTo5dot1ConfirmDeletionIsSetToMultiple 1.671
updateTo51ActionsHaveAvailabilityRule 1.647
updateTo502ActionbarNodesUpdated 1.706
updateTo534 1.246
testUpdateFrom54InstallsContentConnector 0.762
updateFrom57AndCheckContentTypeSupport 0.263
updateTo51BootstrapsNewCommands 1.64
updateTo536IntroducesIsPublishableRule 2.295
updateTo51VersionActionsInstalled 1.646
updateTo54BootstrapsPageEditorExtensions 1.197
updateTo54NewAvailabilityRule 1.102
updateFrom544AllowToChoosePositionOfNewComponent 0.842
updateFrom544AddsDuplicateComponentAvailabilityRule 0.876
updateTo533UpdatesAreaActions 1.344
updateTo511ImportActionAvailabilityHasRootProperty 1.59
updateTo533UpdatesPageEditorActions 1.415
updateFrom548InstallCopyAndPasteActions 0.88
updateFrom54UpdateAvailabilityRule 1.066
updateTo501WithExistingLinkDefinition 2.277
updateFrom550AddsFrameResolutionExtensionToStatusBar 0.683
updateTo502HasNewActions 1.746
updateTo54UpdatesPagesAppClass 1.199
updateFrom547AddNativePagePreviewLinkExtensionToPageBar 0.808
updateTo502CleanupDeleteAction 1.761
updateTo544ConfigureDuplicateComponentAction 0.959
updateTo523SetsWritePermissionForPagesBrowserActions 1.582

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.032
testUpdateActivationStatusOnLocationChange 0.001
testHandlerRegistrationOnAuthorInstance 0.001
testDoNotUpdateActivationStatusForOtherItems 0.001
testHandlerRegistrationOnPublicInstance 0.001

IsComponentDeletableRuleTest

testExpectingComponentButIsArea 0
testComponentIsNotDeletable 0
testComponentIsDeletable 0

IsComponentMovableRuleTest

testComponentIsMovable 0
testComponentIsNotMovable 0
testExpectingComponentButIsArea 0

CreateComponentActionTest

positionIsNotSavedAsComponentProperty 0.011
addNewComponentAtTopOfTheArea 0.007
addNewComponentWhenOnlySingleAvailableComponentType 0.005
addNewComponentAtBottomByDefault 0.006

Failure Details

[Summary] [Package List] [Test Cases]


createLinkView
skipped: PAGES-167 issue with mocking static AdmincentralFlavour.get()