Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
160 0 0 1 99.375% 96.972

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% 1.17
info.magnolia.pages.app.editor.pagebar.languageselector 2 0 0 0 100% 0.019
info.magnolia.pages.app.rendering.registry.validator 3 0 0 0 100% 0.04
info.magnolia.pages.app.editor.pagebar.nativepagepreviewlink 3 0 0 1 66.667% 0.003
info.magnolia.pages.app.editor.pagebar.platformselector 5 0 0 0 100% 0.004
info.magnolia.pages.app.editor.statusbar 5 0 0 0 100% 0.114
info.magnolia.pages.app.action 16 0 0 0 100% 2.948
info.magnolia.pages.app.editor.availability 41 0 0 0 100% 0.021
info.magnolia.pages.app.editor 16 0 0 0 100% 1.148
info.magnolia.pages.app.editor.pagebar 2 0 0 0 100% 0.006
info.magnolia.pages.app 5 0 0 0 100% 0.811
info.magnolia.pages.app.editor.action 2 0 0 0 100% 0.008
info.magnolia.pages.app.editor.parameters 3 0 0 0 100% 0.021
info.magnolia.pages.app.setup 44 0 0 0 100% 89.604
info.magnolia.pages.app.editor.compatibility.statusbar 2 0 0 0 100% 0.028
info.magnolia.pages.app.field 2 0 0 0 100% 0.067
info.magnolia.pages.app.dnd 6 0 0 0 100% 0.96

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

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

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

info.magnolia.pages.app.rendering.registry.validator

Class Tests Errors Failures Skipped Success Rate Time
DialogAwareTemplateDefinitionValidatorTest 3 0 0 0 100% 0.04

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

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

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

info.magnolia.pages.app.editor.statusbar

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

info.magnolia.pages.app.action

Class Tests Errors Failures Skipped Success Rate Time
ChangeComponentTemplateActionTest 1 0 0 0 100% 0.014
PreviewPreviousVersionActionTest 3 0 0 0 100% 0.915
PasteComponentActionTest 2 0 0 0 100% 0.613
CopyComponentActionTest 1 0 0 0 100% 0.03
CreatePageActionTest 1 0 0 0 100% 0.146
RestorePreviousVersionActionTest 4 0 0 0 100% 1.165
CreateComponentActionTest 4 0 0 0 100% 0.065

info.magnolia.pages.app.editor.availability

Class Tests Errors Failures Skipped Success Rate Time
IsPreviewRuleTest 2 0 0 0 100% 0.003
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.002
IsAreaOptionalRuleTest 3 0 0 0 100% 0.001
IsComponentMovingRuleTest 4 0 0 0 100% 0.002
IsAreaCreatedRuleTest 9 0 0 0 100% 0.009
IsAreaEditableRuleTest 5 0 0 0 100% 0.003
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.007
PagesEditorSubAppTest 8 0 0 0 100% 1.11
PagesJcrContentConnectorTest 5 0 0 0 100% 0.031

info.magnolia.pages.app.editor.pagebar

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

info.magnolia.pages.app

Class Tests Errors Failures Skipped Success Rate Time
PagesContentAppTest 2 0 0 0 100% 0.027
PagesContentClipboardTest 3 0 0 0 100% 0.784

info.magnolia.pages.app.editor.action

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

info.magnolia.pages.app.editor.parameters

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

info.magnolia.pages.app.setup

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

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

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

info.magnolia.pages.app.field

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

info.magnolia.pages.app.dnd

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

Test Cases

[Summary] [Package List] [Test Cases]

ChangeComponentTemplateActionTest

execute 0.014

PlatformSelectorTest

platformTypeIdIsTheSameRegardlessOfOrientation 0.002
testIgnoreSettingUnchangedPlatform 0
testSettingPlatform 0.001
testLocationUpdateInEdit 0.001
testLocationUpdateInView 0

IsPreviewRuleTest

testExpectingToBeInPreviewAndIsNotPreview 0.002
testExpectingToBeInPreviewAndIsPreview 0.001

PagesActionExecutorTest

testActionInstantiationWithoutElement 0.005
testActionInstantiationWithElement 0.003

TemplateSelectorFieldFactoryTest

optionDefinitionReturnsTitle 0.059
optionDefinitionFallsbackToId 0.008

IsElementTypeRuleTest

testExpectingComponentElement 0.001
testExpectingAreaElement 0
testExpectingPageElement 0
testExpectingPageElementButIsArea 0

TemplateTypeRestrictionDropConstraintTest

notAllowedAsChild 0.862
allowedAsChild 0.001
notAllowedBeforeAndAfter 0.003
proxiedTemplateDefinitions 0.09
allowedBeforeAndAfter 0.001
allowedAfterBeforeForRootItemsIsAlwaysEnabled 0.003

LanguageSelectorViewTest

testAvailableLocales 0.013

PreviewPreviousVersionActionTest

testExecute 0.427
testExecuteThreeVersion 0.295
testExecuteNoVersion 0.193

DialogAwareTemplateDefinitionValidatorTest

deprecatedDefinitionReported 0.034
validDefinition 0.002
invalidDefinition 0.004

LanguageSelectorTest

testDifferentI18NContentSupportSettingsForDifferentPages 0.006

IsAreaAddibleRuleTest

testAreaIsAddible 0
testAreaIsNotAddible 0
testExpectingAreaButIsComponent 0

IsLocationNotVersionedRuleTest

testVersionedLocation 0
testNonVersionedLocation 0

PasteComponentActionTest

pasteSingleComponent 0.323
pasteMultipleComponents 0.29

PageEditorPresenterTest

i18nKeysAreFetchedOnPresenterStart 0.006
statusUpdatedWhenSubAppStarts 0.001
selectingExternalPage 0

PageBarPresenterTest

testExtensionLifecycle 0.004
testMissingPageBarDefinition 0.002

IsComponentEditableRuleTest

testComponentIsEditable 0.001
testExpectingComponentButIsArea 0.001
testComponentIsNotEditable 0

StatusBarPresenterCompatibilityTest

testMissingStatusBarDefinition 0.026
testExtensionLifecycle 0.002

IsAreaOptionalRuleTest

testExpectingAreaButIsComponent 0
testAreaIsOptional 0
testAreaIsNotOptional 0.001

CopyComponentActionTest

copySingleComponent 0.03

PagesEditorSubAppTest

contentChangedOnRemovedNode 0.53
parametersAreUpdatedOnContentChangedEvent 0.115
contentChangedOnNonJcrItemIdDoesNotThrowCCE 0.089
nodeSelectedUpdatesActionBar 0.119
contentChangedExistingNode 0.086
initialLocaleRespectsDefaultLocale 0.072
deactivateComponents 0.051
pageEditSetsMgnlPreviewToFalse 0.048

NativePagePreviewLinkViewImplTest

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

CreatePageActionTest

executeNoPagePropertiesDialog 0.146

PageNameColumnFormatterTest

statusNoUriConflict 0.526
statusUriConflict 0.394
statusVirtualUriConflictDetectByVirtualUriRegistry 0.25

RestorePreviousVersionActionTest

testExecute 0.353
testExecuteThreeVersion 0.308
testExecuteNoVersion 0.245
testExecuteDontShowPreview 0.259

IsComponentMovingRuleTest

testExpectingComponentNotMovingAndIsNotMoving 0.002
testExpectingComponentNotMovingAndIsMoving 0
testExpectingComponentMovingAndIsNotMoving 0
testExpectingComponentMovingAndIsMoving 0

PagesContentAppTest

testHasAvailablePageTemplatesWhenSomeExist 0.013
testHasAvailablePageTemplatesWhenNoneExist 0.014

PagesJcrContentConnectorTest

testCreatingItemFromOptionalNotCreatedArea 0.006
testCreatingItemFromComponent 0.006
testCreatingItemFromArea 0.008
testCreatingItemFromPage 0.006
testGetElementFromItemId 0.005

DefaultPageEditorStatusTest

hasLocationChanged 0.004
updateStatusFromLocationWithPlatform 0.016
updateStatusFromLocation 0.001

IsAreaCreatedRuleTest

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

NativePagePreviewLinkTest

updateLinkIncludesVersionWhenLocationChanges 0.003
updateLinkWhenLocationChanges 0

IsAreaEditableRuleTest

testExpectingEditableAreaIsNotEditable 0.002
testExpectingNotEditableAreaIsNotEditable 0
testExpectingAreaButIsComponent 0.001
testExpectingNotEditableAreaIsEditable 0
testExpectingEditableAreaIsEditable 0

PagesContentClipboardTest

pasteSingleComponent 0.307
dontPasteWhenOneTemplateIsNotCompatible 0.239
sessionDoesNotHavePendingChanges 0.238

PagesModuleVersionHandlerTest

updateFrom524 5.91
updateFrom545 2.245
updateFrom552 1.146
updateFrom553 0.903
updateFrom554 0.624
updateFrom561 0.442
updateTo533UpdatesActionbarSectionAvailability 2
updateFrom53SetsWritePermissionForPagesBrowserActions 1.816
dialogsAreAddedModalityLevelProperty 1.847
updateTo54UpdatesPagesEditorDescriptor 1.54
updateTo541RemovesObsoleteOrSuperfluousAccessRoles 1.228
updateFrom550ChangeNameOfThePositionPropertyForComponents 0.729
updateFrom537BootstrapsNewComponentDialog 2.564
updateFrom50 2.174
updateFrom547RemovesUntitledProperty 0.915
updateTo534UpdatesActionbarPageSectionsAvailability 1.61
updateTo501WithNonExistingLinkDefinition 2.12
updateFrom555DisableCopyActionOnDeletedItem 0.52
updateTo5dot1ConfirmDeletionIsSetToMultiple 2.906
updateTo51ActionsHaveAvailabilityRule 3.308
updateTo502ActionbarNodesUpdated 3.222
updateTo534 2.172
testUpdateFrom54InstallsContentConnector 1.035
updateFrom57AndCheckContentTypeSupport 0.247
updateTo51BootstrapsNewCommands 2.938
updateTo536IntroducesIsPublishableRule 4.239
updateTo51VersionActionsInstalled 2.805
updateTo54BootstrapsPageEditorExtensions 2.024
updateTo54NewAvailabilityRule 1.894
updateFrom544AllowToChoosePositionOfNewComponent 1.76
updateFrom544AddsDuplicateComponentAvailabilityRule 1.62
updateTo533UpdatesAreaActions 2.163
updateTo511ImportActionAvailabilityHasRootProperty 1.83
updateTo533UpdatesPageEditorActions 1.621
updateFrom548InstallCopyAndPasteActions 0.826
updateFrom54UpdateAvailabilityRule 1.144
updateTo501WithExistingLinkDefinition 3.028
updateFrom550AddsFrameResolutionExtensionToStatusBar 1.111
updateTo502HasNewActions 3.356
updateTo54UpdatesPagesAppClass 2.245
updateFrom547AddNativePagePreviewLinkExtensionToPageBar 1.777
updateTo502CleanupDeleteAction 4.362
updateTo544ConfigureDuplicateComponentAction 1.849
updateTo523SetsWritePermissionForPagesBrowserActions 3.789

ActivationStatusTest

testUpdateActivationStatusForCurrentItem 0.11
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.029
addNewComponentAtTopOfTheArea 0.013
addNewComponentWhenOnlySingleAvailableComponentType 0.011
addNewComponentAtBottomByDefault 0.012

Failure Details

[Summary] [Package List] [Test Cases]


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