Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
196 0 0 1 99.49% 182.911

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.dam.app.ui.field.factory 3 0 0 0 100% 0.336
info.magnolia.dam.app.ui.field.configuration 3 0 0 0 100% 0
info.magnolia.dam.app.setup.for2_0 7 0 0 0 100% 1.986
info.magnolia.dam.app.assets.field.translator 7 0 0 0 100% 0.01
info.magnolia.dam.app.commands 4 0 0 0 100% 1.593
info.magnolia.dam.app.ui.imageprovider 1 0 0 0 100% 0.016
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.007
info.magnolia.dam.app.ui.field 2 0 0 0 100% 0.033
info.magnolia.dam.app 9 0 0 0 100% 0.337
info.magnolia.dam.app.assets.column 13 0 0 1 92.308% 0.126
info.magnolia.dam.app.assets.browser 4 0 0 0 100% 1.337
info.magnolia.dam.app.assets.action 13 0 0 0 100% 3.811
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0
info.magnolia.dam.app.setup.migration 63 0 0 0 100% 72.45
info.magnolia.dam.app.ui.config 2 0 0 0 100% 0.007
info.magnolia.dam.app.ui.field.transformer 3 0 0 0 100% 0.038
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 0.792
info.magnolia.dam.app.setup 45 0 0 0 100% 99.974
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.058

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

info.magnolia.dam.app.ui.field.factory

Class Tests Errors Failures Skipped Success Rate Time
DamUploadFieldFactoryTest 3 0 0 0 100% 0.336

info.magnolia.dam.app.ui.field.configuration

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAssetFileNamePropertiesTaskTest 4 0 0 0 100% 0.223
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 1.763

info.magnolia.dam.app.assets.field.translator

Class Tests Errors Failures Skipped Success Rate Time
AssetCompositeIdKeyTranslatorTest 7 0 0 0 100% 0.01

info.magnolia.dam.app.commands

Class Tests Errors Failures Skipped Success Rate Time
ImportAssetZipCommandTest 4 0 0 0 100% 1.593

info.magnolia.dam.app.ui.imageprovider

Class Tests Errors Failures Skipped Success Rate Time
DamLinkImageProviderTest 1 0 0 0 100% 0.016

info.magnolia.dam.app.ui.field.configuration.image

Class Tests Errors Failures Skipped Success Rate Time
ImageThumbnailComponentProviderTest 3 0 0 0 100% 0.007

info.magnolia.dam.app.ui.field

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

info.magnolia.dam.app

Class Tests Errors Failures Skipped Success Rate Time
DamAppConfigurationTest 9 0 0 0 100% 0.337

info.magnolia.dam.app.assets.column

Class Tests Errors Failures Skipped Success Rate Time
AssetTypeColumnFormatterTest 5 0 0 1 80% 0
AssetNameColumnFormatterTest 8 0 0 0 100% 0.126

info.magnolia.dam.app.assets.browser

Class Tests Errors Failures Skipped Success Rate Time
AssetContentClipboardTest 4 0 0 0 100% 1.337

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
DirectUploadActionTest 5 0 0 0 100% 1.399
CreateAssetVariantActionTest 8 0 0 0 100% 2.412

info.magnolia.dam.app.ui.field.configuration.icon

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 10.248
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 11.668
DamMigrationUtilTest 8 0 0 0 100% 0.016
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 3.686
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 7 0 0 0 100% 4.657
MoveContentToDamMigrationTaskTest 14 0 0 0 100% 13.591
AbstractPropertyValueSearchDamMigrationTaskTest 6 0 0 0 100% 4.833
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 5.24
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 4.249
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 9.7
DamControlMigratorTest 1 0 0 0 100% 1.282
DamLinkControlMigratorTest 1 0 0 0 100% 0.019
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 3.261

info.magnolia.dam.app.ui.config

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

info.magnolia.dam.app.ui.field.transformer

Class Tests Errors Failures Skipped Success Rate Time
AssetTransformerTest 3 0 0 0 100% 0.038

info.magnolia.dam.app.assets.form.action

Class Tests Errors Failures Skipped Success Rate Time
SaveAssetFormActionTest 2 0 0 0 100% 0.377
SaveRenameActionTest 2 0 0 0 100% 0.415

info.magnolia.dam.app.setup

Class Tests Errors Failures Skipped Success Rate Time
DamAppVersionHandlerTest 45 0 0 0 100% 99.974

info.magnolia.dam.app.ui.field.upload

Class Tests Errors Failures Skipped Success Rate Time
AssetUploadReceiverTest 5 0 0 0 100% 0.058
ImageSizeTest 2 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

DirectUploadActionTest

testWhenParentNodeIsSelected 0.32
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.306
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.29
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.236
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.247

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 8.43
testCopyAllDMSTree 1.818

AssetTransformerTest

populateExistingItem 0.014
createPropertyFromItem 0.015
populateNewItem 0.009

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.006
testCreateThumbnailComponent 0.001
testCreateThumbnailComponentNoFile 0

DamUploadFieldFactoryTest

completedLayout 0.309
emptyLayout 0.016
getField 0.011

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 2.042
testInCaseOfNoBinaryNode 2.078
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 1.556
testWebSiteRepoForNoMatchingFolder 2.409
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 1.057
testDamRepo 1.242
testWebSiteRepo 1.284

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.219
normalBehavior 0.001
noAssetTypeProperty 0.002
skipAssetWithoutResourceNode 0.001

DamMigrationUtilTest

testIsPropertyNameI18nBased 0.005
testBuildI18nSuffixPropertyName 0.001
testGetPropertyNameWithoutLocalSuffix 0.01
testGetValidLocalBasedOnPropertyName 0
testGetI18nLocalBasedOnNullPropertyName 0
testGetPropertyNameWithoutLocalSuffixNoLocalDefined 0
testGetInvalidLocalBasedOnPropertyName 0
testGetEmptyLocalBasedOnPropertyName 0

AssetCompositeIdKeyTranslatorTest

testConvertToPresentationEmptyId 0
testConvertToModelEmptyPath 0
testConvertToModelWrongPath 0.003
testConvertToModel 0
testConvertToPresentation 0
testConvertToPresentationWrongId 0.007
testConvertToPresentationNotCompositeId 0

UpdateDamAppConfigurationTaskTest

testDialogMove 0.581
testMoveUpdateConfigNode 0.646
testVoterToMediaType 0.536

DamAppVersionHandlerTest

updateFrom223 1.393
testUpdateTo101RenameAssetDialogExists 5.201
testUpdateTo101LinkDialogIsRemoved 4.797
testUpdateTo101WithoutExistingFolderDefinition 4.102
testUpdateTo102ActionbarNodesUpdated 4.758
testUpdateTo1dot1VersioningCatalogAdded 3.927
testUpdateTo1dot1NewVersionAction 4.737
testUpdateFor20AddContentConnector 2.333
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 2.574
testUpdateFor20RenameAssetNodeActions 2.585
testUpdateTo111CleanupDeleteAssetAction 3.72
testUpdateFor20 2.8
testUpdateTo12AddsZipUpload 2.791
testUpdateTo101FolderActionReferencesUiFramework 2.957
updateFrom217InstallCopyAndPasteActions 1.174
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 2.392
testRenameAsset 1.693
testUpdateFor20RenameDialog 2.124
testUpdateTo102HasNewActions 3.163
testUpdateTo101CaptionFieldIsAvailable 3.1
updateFrom22AndCheckAssetChooseDialogWithPreviewHasBeenUpdated 0.899
testUpdate126ConfigureIconsForAssetsApp 1.979
testUpdateFrom20 2.127
testUpdateFrom121 2.302
testUpdateFrom202 1.836
testUpdateFrom203 1.409
testUpdateFrom204 1.578
testUpdateFrom207 1.516
testUpdateFrom208 1.092
testUpdateFrom211 1.468
testUpdateTo121AddsActivateRecursive 2.114
testUpdateTo102CleanupDeleteFolderAction 2.369
updateFrom2215econfigureRestorePreviousVersionActions 0.862
testUpdateTo122AddsActivateRecursiveIfNotSet 1.806
updateFrom22RemoveLegacyConfigurationProperties 0.446
testUpdateTo101RenameAssetActionIsAvailable 2.035
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 1.565
testUpdateTo101WithoutNonExistingFolderDefinition 1.714
updateFrom216ConfigureFolderNodeTypeForImportZipAction 0.527
testUpdateTo1dot1NewActionbarSection 1.761
updateFrom124RegistersDownloadAssetAction 1.103
testUpdateTo124AddsColumnType 1.153
updateTo211RemovesObsoletePermissionRole 0.692
testUpdateTo1dot1DeleteSetMultiple 2.248
testUpdateFor20AddAvaibilityAndRemoveIcon 1.052

AssetTypeColumnFormatterTest

testMediaTypeAndExtensionMissingMediaType 0
testNoRepositoryExceptionLoggedWhenContentNodeDoesNotExist 0
Testing loggers should be done in totally different ways if any, not via silly static mocks
testForFolder 0
testMediaTypeAndExtension 0
testMediaTypeOnly 0

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 2.558
testExecuteWithMissingDamRef 1.128

AssetNameColumnFormatterTest

iconFileImageIsReturnedForSvgAsset 0.108
folderItem 0.007
thumbnailImageIsReturnedForAsset 0.001
assetItemWithoutNameProperty 0.005
defaultIconIsReturnedIfMediaTypeDoesNotExists 0.001
assetItemWithNameProperty 0.002
defaultIconIsReturnedIfMediaTypeIsEmpty 0.001
noIconIsReturnedForUnsupportedNodeType 0.001

DamFilePreviewComponentTest

refreshItemNPETest 0.029
refreshItemForFolderTest 0.004

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.906
testChangeRefForRoot 0.581
testChangeRefForSubTree 1.031
testChangeRefForPathEndingWithSlash 0.513
testChangeRefForAllTreeMissingUUIDReference 0.483
testChangeRefForAllTree 0.61
testChangeRefForI18NDmsReferences 0.533

ImportAssetZipCommandTest

importImagesZipWithSameNameButDifferentExtension 0.404
reImportZipFileKeepNodeIdentifier 0.385
importImagesZip 0.415
importImagesZipLeavesExtension 0.389

SaveAssetFormActionTest

setNodeName 0.205
setFileNameAndNodeName 0.172

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0
testCreateThumbnailComponentDocumentMimeType 0
testCreateThumbnailComponentImageMimeType 0

AssetContentClipboardTest

pasteAssetAndSynchronizeAssetName 0.295
pasteAssetAndSynchronizeAssetNameWithoutExtension 0.361
pasteAssetPrimarilyDeducesNodeNameFromFileName 0.402
pasteAssetWithNameHasExtensionAndDoesNotHaveFileName 0.279

MoveContentToDamMigrationTaskTest

testMigrationForInvalideFileName 1.033
testDamRepoWithSubPath 1.136
testInCaseOfNoBinaryNode 0.982
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 1.068
testWebSiteRepoForI18NImagesOneUploadedOneLinked 1.168
testDamRepoForI18NImagesBothUploaded 0.836
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.782
testWebSiteRepoForNoMatchingFolder 0.561
testWebSiteRepoForI18NImagesBothUploaded 0.985
testDamRepoForI18NImagesOneUploadedOneLinked 0.963
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 1.279
testDamRepo 1.239
testWebSiteRepo 0.798
testInCaseOfNoMatchingNodeProperty 0.761

AbstractPropertyValueSearchDamMigrationTaskTest

checkPropertySearchForNodesNamesStartingWithNumbers2 0.966
testSetUp 0.823
checkPropertySearchForNodesNamesStartingWithNumbers 0.832
checkPropertySearchForNodesWithAlphabeticNames 0.816
testWithEmptyPath 0.659
checkPropertySearchForNodesForManyPath 0.737

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 1.361
testCollectLinks 1.378
testExecuteMissingBinary 1.456
testExecuteWithSubPath 1.045

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.185
renameDoneBasedOnTheJcrNopeProperty 0.23

DamLinkImageProviderTest

testGetGeneratorImagePath 0.016

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.014
updateContent 0.02
getHeight 0.007
getWidth 0.01
isImage 0.007

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.969
testCleanUpNodeVisitorInvalidIdentifier 0.906
testCleanUpNodeVisitorForAllTree 0.736
testCleanUpNodeVisitorNormalProperties 0.793
testHandleDamLinkNodeVisitorForAllTree 0.845

DamFieldConfigTest

testDamUpload 0.003
testAssetLink 0.004

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 7.617
testSimpleExecuteCheckDamWorkspace 2.083

DamControlMigratorTest

DamControlMigrationTest 1.282

DamLinkControlMigratorTest

LinkControlMigrationRepositoryDmsTest 0.019

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 1.35
testDoExecute 0.387
testDoExecuteInvalidPath 0.773
testDoExecuteInvalidDataWorkspace 0.751

CreateAssetVariantActionTest

resetActivationStatus 0.28
insertDuplicateMarkBeforeExtension 0.287
duplicateAsset 0.318
insertDuplicateRightAfterOriginalAsset 0.254
duplicateAssetProperties 0.293
duplicateAssetBinaryNode 0.401
synchronizeAssetNameWithoutExtension 0.291
synchronizeAssetNameAndFileName 0.288

EditAssetAppConfigurationTest

testEditConfig 0
testThumbnailComponentProviderClass 0
testPreviewConfig 0

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamAppConfigurationTest

testGetEditAssetForNullMediaType 0.002
testGetEditAsset 0.328
testVoteOnMediaTypeWithTypeSubType 0
testVoteOnMediaTypeWithType 0
testVoteOnMediaTypeWithSubType 0
testGetBestCandidate1 0.001
testGetEditAssetForNonConfiguredMediaType 0.001
testGetBestCandidateWhenEquality 0
testVoteOnMediaTypeWithParameter 0.005

Failure Details

[Summary] [Package List] [Test Cases]


testNoRepositoryExceptionLoggedWhenContentNodeDoesNotExist
skipped: Testing loggers should be done in totally different ways if any, not via silly static mocks