Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.439
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.005
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
info.magnolia.pages.app.editor.statusbar 5 0 0 0 100% 0.035
info.magnolia.pages.app.action 16 0 0 0 100% 1.438
info.magnolia.pages.app.editor.availability 41 0 0 0 100% 0.007
info.magnolia.pages.app.editor 16 0 0 0 100% 0.955
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.001
info.magnolia.pages.app 5 0 0 0 100% 0.367
info.magnolia.pages.app.editor.action 2 0 0 0 100% 0.005
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.015
info.magnolia.pages.app.setup 44 0 0 0 100% 55.61
info.magnolia.pages.app.editor.compatibility.statusbar 2 0 0 0 100% 0.018
info.magnolia.pages.app.field 2 0 0 0 100% 0.034
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.55

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

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

Class Tests Errors Failures Skipped Success Rate Time
LanguageSelectorViewTest 1 0 0 0 100% 0.005
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.001
NativePagePreviewLinkTest 2 0 0 0 100% 0.003

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

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.415
PasteComponentActionTest 2 0 0 0 100% 0.297
CopyComponentActionTest 1 0 0 0 100% 0.027
CreatePageActionTest 1 0 0 0 100% 0.049
RestorePreviousVersionActionTest 4 0 0 0 100% 0.614
CreateComponentActionTest 4 0 0 0 100% 0.027

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
IsAreaOptionalRuleTest 3 0 0 0 100% 0
IsComponentMovingRuleTest 4 0 0 0 100% 0.001
IsAreaCreatedRuleTest 9 0 0 0 100% 0.005
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.001
PagesEditorSubAppTest 8 0 0 0 100% 0.942
PagesJcrContentConnectorTest 5 0 0 0 100% 0.012

info.magnolia.pages.app.editor.pagebar

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

info.magnolia.pages.app

Class Tests Errors Failures Skipped Success Rate Time
PagesContentAppTest 2 0 0 0 100% 0.011
PagesContentClipboardTest 3 0 0 0 100% 0.356

info.magnolia.pages.app.editor.action

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

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% 55.61

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

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

info.magnolia.pages.app.field

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

info.magnolia.pages.app.dnd

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

Test Cases

[Summary] [Package List] [Test Cases]

ChangeComponentTemplateActionTest

execute 0.009

PlatformSelectorTest

platformTypeIdIsTheSameRegardlessOfOrientation 0
testIgnoreSettingUnchangedPlatform 0
testSettingPlatform 0
testLocationUpdateInEdit 0
testLocationUpdateInView 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0
testExpectingToBeInPreviewAndIsPreview 0

PagesActionExecutorTest

testActionInstantiationWithoutElement 0.003
testActionInstantiationWithElement 0.002

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.029
optionDefinitionFallsbackToId 0.005

IsElementTypeRuleTest

testExpectingComponentElement 0
testExpectingAreaElement 0
testExpectingPageElement 0
testExpectingPageElementButIsArea 0

TemplateTypeRestrictionDropConstraintTest

notAllowedAsChild 0.441
allowedAsChild 0.001
notAllowedBeforeAndAfter 0.001
proxiedTemplateDefinitions 0.061
allowedBeforeAndAfter 0.001
allowedAfterBeforeForRootItemsIsAlwaysEnabled 0

LanguageSelectorViewTest

testAvailableLocales 0.005

PreviewPreviousVersionActionTest

testExecute 0.136
testExecuteThreeVersion 0.134
testExecuteNoVersion 0.145

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0

IsAreaAddibleRuleTest

testAreaIsAddible 0
testAreaIsNotAddible 0
testExpectingAreaButIsComponent 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0
testNonVersionedLocation 0

PasteComponentActionTest

pasteSingleComponent 0.167
pasteMultipleComponents 0.13

PageEditorPresenterTest

i18nKeysAreFetchedOnPresenterStart 0
statusUpdatedWhenSubAppStarts 0
selectingExternalPage 0

PageBarPresenterTest

testExtensionLifecycle 0
testMissingPageBarDefinition 0.001

IsComponentEditableRuleTest

testComponentIsEditable 0
testExpectingComponentButIsArea 0
testComponentIsNotEditable 0

StatusBarPresenterCompatibilityTest

testMissingStatusBarDefinition 0.015
testExtensionLifecycle 0.002

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0
testAreaIsOptional 0
testAreaIsNotOptional 0

CopyComponentActionTest

copySingleComponent 0.024

PagesEditorSubAppTest

contentChangedOnRemovedNode 0.479
parametersAreUpdatedOnContentChangedEvent 0.113
contentChangedOnNonJcrItemIdDoesNotThrowCCE 0.066
nodeSelectedUpdatesActionBar 0.066
contentChangedExistingNode 0.053
initialLocaleRespectsDefaultLocale 0.056
deactivateComponents 0.058
pageEditSetsMgnlPreviewToFalse 0.047

NativePagePreviewLinkViewImplTest

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

CreatePageActionTest

executeNoPagePropertiesDialog 0.049

PageNameColumnFormatterTest

statusNoUriConflict 0.174
statusUriConflict 0.126
statusVirtualUriConflictDetectByVirtualUriRegistry 0.123

RestorePreviousVersionActionTest

testExecute 0.194
testExecuteThreeVersion 0.158
testExecuteNoVersion 0.127
testExecuteDontShowPreview 0.135

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0.001
testExpectingComponentNotMovingAndIsMoving 0
testExpectingComponentMovingAndIsNotMoving 0
testExpectingComponentMovingAndIsMoving 0

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.006
testHasAvailablePageTemplatesWhenNoneExist 0.005

PagesJcrContentConnectorTest

testCreatingItemFromOptionalNotCreatedArea 0
testCreatingItemFromComponent 0
testCreatingItemFromArea 0.003
testCreatingItemFromPage 0.005
testGetElementFromItemId 0.004

DefaultPageEditorStatusTest

hasLocationChanged 0.002
updateStatusFromLocationWithPlatform 0.012
updateStatusFromLocation 0.001

IsAreaCreatedRuleTest

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

NativePagePreviewLinkTest

updateLinkIncludesVersionWhenLocationChanges 0.003
updateLinkWhenLocationChanges 0

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0
testExpectingNotEditableAreaIsNotEditable 0
testExpectingAreaButIsComponent 0
testExpectingNotEditableAreaIsEditable 0
testExpectingEditableAreaIsEditable 0

PagesContentClipboardTest

pasteSingleComponent 0.137
dontPasteWhenOneTemplateIsNotCompatible 0.112
sessionDoesNotHavePendingChanges 0.107

PagesModuleVersionHandlerTest

updateFrom524 3.001
updateFrom545 1.28
updateFrom552 0.678
updateFrom553 0.595
updateFrom554 0.532
updateFrom561 0.37
updateTo533UpdatesActionbarSectionAvailability 1.618
updateFrom53SetsWritePermissionForPagesBrowserActions 1.553
dialogsAreAddedModalityLevelProperty 1.525
updateTo54UpdatesPagesEditorDescriptor 1.239
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 1.012
updateFrom550ChangeNameOfThePositionPropertyForComponents 0.616
updateFrom537BootstrapsNewComponentDialog 2.161
updateFrom50 1.71
updateFrom547RemovesUntitledProperty 0.767
updateTo534UpdatesActionbarPageSectionsAvailability 1.257
updateTo501WithNonExistingLinkDefinition 1.717
updateFrom555DisableCopyActionOnDeletedItem 0.355
updateTo5dot1ConfirmDeletionIsSetToMultiple 1.814
updateTo51ActionsHaveAvailabilityRule 1.617
updateTo502ActionbarNodesUpdated 1.679
updateTo534 1.222
testUpdateFrom54InstallsContentConnector 0.765
updateFrom57AndCheckContentTypeSupport 0.248
updateTo51BootstrapsNewCommands 1.605
updateTo536IntroducesIsPublishableRule 2.27
updateTo51VersionActionsInstalled 1.609
updateTo54BootstrapsPageEditorExtensions 1.186
updateTo54NewAvailabilityRule 1.108
updateFrom544AllowToChoosePositionOfNewComponent 0.836
updateFrom544AddsDuplicateComponentAvailabilityRule 0.856
updateTo533UpdatesAreaActions 1.313
updateTo511ImportActionAvailabilityHasRootProperty 1.529
updateTo533UpdatesPageEditorActions 1.341
updateFrom548InstallCopyAndPasteActions 0.708
updateFrom54UpdateAvailabilityRule 0.973
updateTo501WithExistingLinkDefinition 1.699
updateFrom550AddsFrameResolutionExtensionToStatusBar 0.59
updateTo502HasNewActions 1.645
updateTo54UpdatesPagesAppClass 2.169
updateFrom547AddNativePagePreviewLinkExtensionToPageBar 0.791
updateTo502CleanupDeleteAction 1.688
updateTo544ConfigureDuplicateComponentAction 0.933
updateTo523SetsWritePermissionForPagesBrowserActions 1.426

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.032
testUpdateActivationStatusOnLocationChange 0
testHandlerRegistrationOnAuthorInstance 0
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.007
addNewComponentWhenOnlySingleAvailableComponentType 0.005
addNewComponentAtBottomByDefault 0.005

Failure Details

[Summary] [Package List] [Test Cases]


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