Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
195 0 0 1 99.487% 65.137

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.105
info.magnolia.dam.app.ui.field.configuration 3 0 0 0 100% 0.001
info.magnolia.dam.app.assets.field.translator 7 0 0 0 100% 0.005
info.magnolia.dam.app.setup.for2_0 7 0 0 0 100% 0.47
info.magnolia.dam.app.commands 4 0 0 0 100% 0.971
info.magnolia.dam.app.ui.imageprovider 1 0 0 0 100% 0.005
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.005
info.magnolia.dam.app 9 0 0 0 100% 0.003
info.magnolia.dam.app.ui.field 2 0 0 0 100% 0.027
info.magnolia.dam.app.assets.browser 4 0 0 0 100% 1.446
info.magnolia.dam.app.assets.column 13 0 0 1 92.308% 0.17
info.magnolia.dam.app.assets.action 13 0 0 0 100% 7.968
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0.003
info.magnolia.dam.app.setup.migration 63 0 0 0 100% 8.552
info.magnolia.dam.app.ui.config 2 0 0 0 100% 0.003
info.magnolia.dam.app.ui.field.transformer 3 0 0 0 100% 0.011
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 0.661
info.magnolia.dam.app.setup 44 0 0 0 100% 44.723
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.008

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

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

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

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

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 0.465
UpdateDamAssetFileNamePropertiesTaskTest 4 0 0 0 100% 0.005

info.magnolia.dam.app.commands

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

info.magnolia.dam.app.ui.imageprovider

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

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

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

info.magnolia.dam.app

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

info.magnolia.dam.app.ui.field

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

info.magnolia.dam.app.assets.browser

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

info.magnolia.dam.app.assets.column

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

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
CreateAssetVariantActionTest 8 0 0 0 100% 5.936
DirectUploadActionTest 5 0 0 0 100% 2.032

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

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
AbstractPropertyValueSearchDamMigrationTaskTest 6 0 0 0 100% 1.01
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 0.576
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 7 0 0 0 100% 1.062
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 0.671
DamControlMigratorTest 1 0 0 0 100% 0.001
DamLinkControlMigratorTest 1 0 0 0 100% 0
DamMigrationUtilTest 8 0 0 0 100% 0
MoveContentToDamMigrationTaskTest 14 0 0 0 100% 2.437
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 0.286
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 0.781
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 0.288
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 0.288
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 1.152

info.magnolia.dam.app.ui.config

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

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

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

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

Class Tests Errors Failures Skipped Success Rate Time
SaveAssetFormActionTest 2 0 0 0 100% 0.335
SaveRenameActionTest 2 0 0 0 100% 0.326

info.magnolia.dam.app.setup

Class Tests Errors Failures Skipped Success Rate Time
DamAppVersionHandlerTest 44 0 0 0 100% 44.723

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

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

Test Cases

[Summary] [Package List] [Test Cases]

CreateAssetVariantActionTest

resetActivationStatus 2.559
insertDuplicateMarkBeforeExtension 0.88
duplicateAsset 0.614
insertDuplicateRightAfterOriginalAsset 0.508
duplicateAssetProperties 0.402
duplicateAssetBinaryNode 0.327
synchronizeAssetNameWithoutExtension 0.297
synchronizeAssetNameAndFileName 0.349

DirectUploadActionTest

testWhenParentNodeIsSelected 0.648
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.373
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.287
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.34
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.384

AssetContentClipboardTest

pasteAssetAndSynchronizeAssetName 0.428
pasteAssetAndSynchronizeAssetNameWithoutExtension 0.349
pasteAssetPrimarilyDeducesNodeNameFromFileName 0.327
pasteAssetWithNameHasExtensionAndDoesNotHaveFileName 0.342

AssetNameColumnFormatterTest

iconFileImageIsReturnedForSvgAsset 0.154
folderItem 0.008
thumbnailImageIsReturnedForAsset 0.001
assetItemWithoutNameProperty 0.001
defaultIconIsReturnedIfMediaTypeDoesNotExists 0.001
assetItemWithNameProperty 0.001
defaultIconIsReturnedIfMediaTypeIsEmpty 0.001
noIconIsReturnedForUnsupportedNodeType 0.001

AssetTypeColumnFormatterTest

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

AssetCompositeIdKeyTranslatorTest

testConvertToPresentationEmptyId 0
testConvertToModelEmptyPath 0
testConvertToModelWrongPath 0.004
testConvertToModel 0
testConvertToPresentation 0.001
testConvertToPresentationWrongId 0
testConvertToPresentationNotCompositeId 0

SaveAssetFormActionTest

setNodeName 0.172
setFileNameAndNodeName 0.163

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.173
renameDoneBasedOnTheJcrNopeProperty 0.153

ImportAssetZipCommandTest

importImagesZipWithSameNameButDifferentExtension 0.277
reImportZipFileKeepNodeIdentifier 0.3
importImagesZip 0.211
importImagesZipLeavesExtension 0.183

DamAppConfigurationTest

testGetEditAssetForNullMediaType 0
testGetEditAsset 0
testVoteOnMediaTypeWithTypeSubType 0
testVoteOnMediaTypeWithType 0
testVoteOnMediaTypeWithSubType 0
testGetBestCandidate1 0
testGetEditAssetForNonConfiguredMediaType 0
testGetBestCandidateWhenEquality 0
testVoteOnMediaTypeWithParameter 0.003

DamAppVersionHandlerTest

testUpdateTo101RenameAssetDialogExists 2.461
testUpdateTo101LinkDialogIsRemoved 2.102
testUpdateTo101WithoutExistingFolderDefinition 1.769
testUpdateTo102ActionbarNodesUpdated 1.57
testUpdateTo1dot1VersioningCatalogAdded 1.583
testUpdateTo1dot1NewVersionAction 1.264
testUpdateFor20AddContentConnector 0.83
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 0.908
testUpdateFor20RenameAssetNodeActions 0.978
testUpdateTo111CleanupDeleteAssetAction 1.407
testUpdateFor20 0.979
testUpdateTo12AddsZipUpload 1.192
testUpdateTo101FolderActionReferencesUiFramework 1.395
updateFrom217InstallCopyAndPasteActions 0.364
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 0.91
testRenameAsset 0.561
testUpdateFor20RenameDialog 0.939
testUpdateTo102HasNewActions 1.344
testUpdateTo101CaptionFieldIsAvailable 1.369
updateFrom22AndCheckAssetChooseDialogWithPreviewHasBeenUpdated 0.274
testUpdate126ConfigureIconsForAssetsApp 0.945
testUpdateFrom20 0.78
testUpdateFrom121 1.018
testUpdateFrom202 0.755
testUpdateFrom203 0.708
testUpdateFrom204 0.642
testUpdateFrom207 0.576
testUpdateFrom208 0.584
testUpdateFrom211 0.505
testUpdateTo121AddsActivateRecursive 1.137
testUpdateTo102CleanupDeleteFolderAction 1.281
updateFrom2215econfigureRestorePreviousVersionActions 0.43
testUpdateTo122AddsActivateRecursiveIfNotSet 0.974
updateFrom22RemoveLegacyConfigurationProperties 0.242
testUpdateTo101RenameAssetActionIsAvailable 1.333
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 1.107
testUpdateTo101WithoutNonExistingFolderDefinition 1.422
updateFrom216ConfigureFolderNodeTypeForImportZipAction 0.433
testUpdateTo1dot1NewActionbarSection 1.283
updateFrom124RegistersDownloadAssetAction 0.882
testUpdateTo124AddsColumnType 0.912
updateTo211RemovesObsoletePermissionRole 0.492
testUpdateTo1dot1DeleteSetMultiple 1.266
testUpdateFor20AddAvaibilityAndRemoveIcon 0.817

UpdateDamAppConfigurationTaskTest

testDialogMove 0.154
testMoveUpdateConfigNode 0.157
testVoterToMediaType 0.154

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.004
normalBehavior 0
noAssetTypeProperty 0.001
skipAssetWithoutResourceNode 0

AbstractPropertyValueSearchDamMigrationTaskTest

checkPropertySearchForNodesNamesStartingWithNumbers2 0.217
testSetUp 0.132
checkPropertySearchForNodesNamesStartingWithNumbers 0.126
checkPropertySearchForNodesWithAlphabeticNames 0.147
testWithEmptyPath 0.171
checkPropertySearchForNodesForManyPath 0.217

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 0.145
testDoExecute 0.151
testDoExecuteInvalidPath 0.137
testDoExecuteInvalidDataWorkspace 0.143

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.148
testChangeRefForRoot 0.152
testChangeRefForSubTree 0.142
testChangeRefForPathEndingWithSlash 0.14
testChangeRefForAllTreeMissingUUIDReference 0.205
testChangeRefForAllTree 0.142
testChangeRefForI18NDmsReferences 0.133

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.135
testCleanUpNodeVisitorInvalidIdentifier 0.131
testCleanUpNodeVisitorForAllTree 0.14
testCleanUpNodeVisitorNormalProperties 0.136
testHandleDamLinkNodeVisitorForAllTree 0.129

DamControlMigratorTest

DamControlMigrationTest 0.001

DamLinkControlMigratorTest

LinkControlMigrationRepositoryDmsTest 0

DamMigrationUtilTest

testIsPropertyNameI18nBased 0
testBuildI18nSuffixPropertyName 0
testGetPropertyNameWithoutLocalSuffix 0
testGetValidLocalBasedOnPropertyName 0
testGetI18nLocalBasedOnNullPropertyName 0
testGetPropertyNameWithoutLocalSuffixNoLocalDefined 0
testGetInvalidLocalBasedOnPropertyName 0
testGetEmptyLocalBasedOnPropertyName 0

MoveContentToDamMigrationTaskTest

testMigrationForInvalideFileName 0.17
testDamRepoWithSubPath 0.204
testInCaseOfNoBinaryNode 0.258
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 0.167
testWebSiteRepoForI18NImagesOneUploadedOneLinked 0.158
testDamRepoForI18NImagesBothUploaded 0.147
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.169
testWebSiteRepoForNoMatchingFolder 0.136
testWebSiteRepoForI18NImagesBothUploaded 0.201
testDamRepoForI18NImagesOneUploadedOneLinked 0.145
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.222
testDamRepo 0.162
testWebSiteRepo 0.145
testInCaseOfNoMatchingNodeProperty 0.153

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 0.149
testCopyAllDMSTree 0.137

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 0.253
testCollectLinks 0.16
testExecuteMissingBinary 0.153
testExecuteWithSubPath 0.215

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 0.146
testSimpleExecuteCheckDamWorkspace 0.142

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 0.149
testExecuteWithMissingDamRef 0.139

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 0.146
testInCaseOfNoBinaryNode 0.149
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.157
testWebSiteRepoForNoMatchingFolder 0.139
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.184
testDamRepo 0.212
testWebSiteRepo 0.165

DamFieldConfigTest

testDamUpload 0.002
testAssetLink 0.001

EditAssetAppConfigurationTest

testEditConfig 0.001
testThumbnailComponentProviderClass 0
testPreviewConfig 0

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0.003
testCreateThumbnailComponentDocumentMimeType 0
testCreateThumbnailComponentImageMimeType 0

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.004
testCreateThumbnailComponent 0.001
testCreateThumbnailComponentNoFile 0

DamFilePreviewComponentTest

refreshItemNPETest 0.024
refreshItemForFolderTest 0.003

DamUploadFieldFactoryTest

completedLayout 0.092
emptyLayout 0.007
getField 0.006

AssetTransformerTest

populateExistingItem 0.006
createPropertyFromItem 0.003
populateNewItem 0.002

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.006
updateContent 0.001
getHeight 0.001
getWidth 0
isImage 0

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamLinkImageProviderTest

testGetGeneratorImagePath 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