Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.486
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.001
info.magnolia.pages.app.editor.pagebar.nativepagepreviewlink 3 0 0 1 66.667% 0.001
info.magnolia.pages.app.editor.pagebar.platformselector 5 0 0 0 100% 0
info.magnolia.pages.app.editor.statusbar 5 0 0 0 100% 0.032
info.magnolia.pages.app.action 16 0 0 0 100% 1.634
info.magnolia.pages.app.editor.availability 41 0 0 0 100% 0.002
info.magnolia.pages.app.editor 16 0 0 0 100% 1.021
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0
info.magnolia.pages.app 5 0 0 0 100% 0.356
info.magnolia.pages.app.editor.action 2 0 0 0 100% 0
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.015
info.magnolia.pages.app.setup 44 0 0 0 100% 59.225
info.magnolia.pages.app.editor.compatibility.statusbar 2 0 0 0 100% 0.017
info.magnolia.pages.app.field 2 0 0 0 100% 0.041
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.677

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

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

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

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

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

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

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

info.magnolia.pages.app.editor.statusbar

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

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
ChangeComponentTemplateActionTest 1 0 0 0 100% 0.008
PreviewPreviousVersionActionTest 3 0 0 0 100% 0.456
PasteComponentActionTest 2 0 0 0 100% 0.345
CopyComponentActionTest 1 0 0 0 100% 0.033
CreatePageActionTest 1 0 0 0 100% 0.068
RestorePreviousVersionActionTest 4 0 0 0 100% 0.693
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
IsAreaAddibleRuleTest 3 0 0 0 100% 0.001
IsLocationNotVersionedRuleTest 2 0 0 0 100% 0.001
IsComponentEditableRuleTest 3 0 0 0 100% 0
IsAreaOptionalRuleTest 3 0 0 0 100% 0
IsComponentMovingRuleTest 4 0 0 0 100% 0
IsAreaCreatedRuleTest 9 0 0 0 100% 0
IsAreaEditableRuleTest 5 0 0 0 100% 0
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.02
PagesJcrContentConnectorTest 5 0 0 0 100% 0.001

info.magnolia.pages.app.editor.pagebar

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

info.magnolia.pages.app

Class Tests Errors Failures Skipped Success Rate Time
PagesContentAppTest 2 0 0 0 100% 0.008
PagesContentClipboardTest 3 0 0 0 100% 0.348

info.magnolia.pages.app.editor.action

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

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 44 0 0 0 100% 59.225

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

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

info.magnolia.pages.app.field

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

info.magnolia.pages.app.dnd

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

Test Cases

[Summary] [Package List] [Test Cases]

ChangeComponentTemplateActionTest

execute 0.008

PlatformSelectorTest

platformTypeIdIsTheSameRegardlessOfOrientation 0
testIgnoreSettingUnchangedPlatform 0
testSettingPlatform 0
testLocationUpdateInEdit 0
testLocationUpdateInView 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0
testExpectingToBeInPreviewAndIsPreview 0

PagesActionExecutorTest

testActionInstantiationWithoutElement 0
testActionInstantiationWithElement 0

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.028
optionDefinitionFallsbackToId 0.01

IsElementTypeRuleTest

testExpectingComponentElement 0
testExpectingAreaElement 0
testExpectingPageElement 0
testExpectingPageElementButIsArea 0

TemplateTypeRestrictionDropConstraintTest

notAllowedAsChild 0.529
allowedAsChild 0.001
notAllowedBeforeAndAfter 0.001
proxiedTemplateDefinitions 0.066
allowedBeforeAndAfter 0.001
allowedAfterBeforeForRootItemsIsAlwaysEnabled 0.001

LanguageSelectorViewTest

testAvailableLocales 0

PreviewPreviousVersionActionTest

testExecute 0.152
testExecuteThreeVersion 0.149
testExecuteNoVersion 0.155

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0

IsAreaAddibleRuleTest

testAreaIsAddible 0
testAreaIsNotAddible 0
testExpectingAreaButIsComponent 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0
testNonVersionedLocation 0

PasteComponentActionTest

pasteSingleComponent 0.202
pasteMultipleComponents 0.143

PageEditorPresenterTest

i18nKeysAreFetchedOnPresenterStart 0
statusUpdatedWhenSubAppStarts 0
selectingExternalPage 0

PageBarPresenterTest

testExtensionLifecycle 0
testMissingPageBarDefinition 0

IsComponentEditableRuleTest

testComponentIsEditable 0
testExpectingComponentButIsArea 0
testComponentIsNotEditable 0

StatusBarPresenterCompatibilityTest

testMissingStatusBarDefinition 0.014
testExtensionLifecycle 0.002

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0
testAreaIsOptional 0
testAreaIsNotOptional 0

CopyComponentActionTest

copySingleComponent 0.033

PagesEditorSubAppTest

contentChangedOnRemovedNode 0.534
parametersAreUpdatedOnContentChangedEvent 0.19
contentChangedOnNonJcrItemIdDoesNotThrowCCE 0.002
nodeSelectedUpdatesActionBar 0.066
contentChangedExistingNode 0.053
initialLocaleRespectsDefaultLocale 0.059
deactivateComponents 0.063
pageEditSetsMgnlPreviewToFalse 0.052

NativePagePreviewLinkViewImplTest

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

CreatePageActionTest

executeNoPagePropertiesDialog 0.068

PageNameColumnFormatterTest

statusNoUriConflict 0.191
statusUriConflict 0.141
statusVirtualUriConflictDetectByVirtualUriRegistry 0.141

RestorePreviousVersionActionTest

testExecute 0.245
testExecuteThreeVersion 0.162
testExecuteNoVersion 0.142
testExecuteDontShowPreview 0.144

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0
testExpectingComponentNotMovingAndIsMoving 0
testExpectingComponentMovingAndIsNotMoving 0
testExpectingComponentMovingAndIsMoving 0

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.002
testHasAvailablePageTemplatesWhenNoneExist 0.006

PagesJcrContentConnectorTest

testCreatingItemFromOptionalNotCreatedArea 0
testCreatingItemFromComponent 0
testCreatingItemFromArea 0
testCreatingItemFromPage 0
testGetElementFromItemId 0

DefaultPageEditorStatusTest

hasLocationChanged 0
updateStatusFromLocationWithPlatform 0.015
updateStatusFromLocation 0

IsAreaCreatedRuleTest

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

NativePagePreviewLinkTest

updateLinkIncludesVersionWhenLocationChanges 0
updateLinkWhenLocationChanges 0

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0
testExpectingNotEditableAreaIsNotEditable 0
testExpectingAreaButIsComponent 0
testExpectingNotEditableAreaIsEditable 0
testExpectingEditableAreaIsEditable 0

PagesContentClipboardTest

pasteSingleComponent 0
dontPasteWhenOneTemplateIsNotCompatible 0.16
sessionDoesNotHavePendingChanges 0.187

PagesModuleVersionHandlerTest

updateFrom524 3.586
updateFrom545 1.365
updateFrom552 0.841
updateFrom553 0.654
updateFrom554 0.555
updateFrom561 0.436
updateTo533UpdatesActionbarSectionAvailability 1.791
updateFrom53SetsWritePermissionForPagesBrowserActions 1.573
dialogsAreAddedModalityLevelProperty 1.714
updateTo54UpdatesPagesEditorDescriptor 1.569
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 1.255
updateFrom550ChangeNameOfThePositionPropertyForComponents 0.73
updateFrom537BootstrapsNewComponentDialog 2.337
updateFrom50 1.823
updateFrom547RemovesUntitledProperty 0.832
updateTo534UpdatesActionbarPageSectionsAvailability 1.411
updateTo501WithNonExistingLinkDefinition 1.821
updateFrom555DisableCopyActionOnDeletedItem 0.405
updateTo5dot1ConfirmDeletionIsSetToMultiple 1.689
updateTo51ActionsHaveAvailabilityRule 1.685
updateTo502ActionbarNodesUpdated 1.762
updateTo534 1.293
testUpdateFrom54InstallsContentConnector 0.801
updateFrom57AndCheckContentTypeSupport 0.318
updateTo51BootstrapsNewCommands 1.908
updateTo536IntroducesIsPublishableRule 2.365
updateTo51VersionActionsInstalled 1.678
updateTo54BootstrapsPageEditorExtensions 1.221
updateTo54NewAvailabilityRule 1.236
updateFrom544AllowToChoosePositionOfNewComponent 0.892
updateFrom544AddsDuplicateComponentAvailabilityRule 0.909
updateTo533UpdatesAreaActions 1.466
updateTo511ImportActionAvailabilityHasRootProperty 1.618
updateTo533UpdatesPageEditorActions 1.416
updateFrom548InstallCopyAndPasteActions 0.777
updateFrom54UpdateAvailabilityRule 1.022
updateTo501WithExistingLinkDefinition 1.788
updateFrom550AddsFrameResolutionExtensionToStatusBar 0.608
updateTo502HasNewActions 1.752
updateTo54UpdatesPagesAppClass 1.247
updateFrom547AddNativePagePreviewLinkExtensionToPageBar 0.803
updateTo502CleanupDeleteAction 1.76
updateTo544ConfigureDuplicateComponentAction 0.977
updateTo523SetsWritePermissionForPagesBrowserActions 1.532

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.028
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.01
addNewComponentAtTopOfTheArea 0.008
addNewComponentWhenOnlySingleAvailableComponentType 0.007
addNewComponentAtBottomByDefault 0.006

Failure Details

[Summary] [Package List] [Test Cases]


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