Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
190 0 0 1 99.474% 101.383

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.157
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.004
info.magnolia.dam.app.setup.for2_0 7 0 0 0 100% 0.731
info.magnolia.dam.app.commands 4 0 0 0 100% 1.438
info.magnolia.dam.app.ui.imageprovider 1 0 0 0 100% 0.006
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.011
info.magnolia.dam.app 9 0 0 0 100% 0.004
info.magnolia.dam.app.ui.field 2 0 0 0 100% 0.032
info.magnolia.dam.app.assets.browser 4 0 0 0 100% 1.488
info.magnolia.dam.app.assets.column 11 0 0 1 90.909% 0.166
info.magnolia.dam.app.assets.action 13 0 0 0 100% 11.027
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0.005
info.magnolia.dam.app.setup.migration 62 0 0 0 100% 13.609
info.magnolia.dam.app.ui.config 2 0 0 0 100% 0.004
info.magnolia.dam.app.ui.field.transformer 3 0 0 0 100% 0.025
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 0.915
info.magnolia.dam.app.setup 42 0 0 0 100% 71.746
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.014

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

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 0.72
UpdateDamAssetFileNamePropertiesTaskTest 4 0 0 0 100% 0.011

info.magnolia.dam.app.commands

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

info.magnolia.dam.app.ui.imageprovider

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

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

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

info.magnolia.dam.app

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

info.magnolia.dam.app.ui.field

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

info.magnolia.dam.app.assets.browser

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

info.magnolia.dam.app.assets.column

Class Tests Errors Failures Skipped Success Rate Time
AssetNameColumnFormatterTest 6 0 0 0 100% 0.165
AssetTypeColumnFormatterTest 5 0 0 1 80% 0.001

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
CreateAssetVariantActionTest 8 0 0 0 100% 8.679
DirectUploadActionTest 5 0 0 0 100% 2.348

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

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
AbstractPropertyValueSearchDamMigrationTaskTest 6 0 0 0 100% 1.333
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 0.964
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 6 0 0 0 100% 1.664
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 1
DamControlMigratorTest 1 0 0 0 100% 0
DamLinkControlMigratorTest 1 0 0 0 100% 0
DamMigrationUtilTest 8 0 0 0 100% 0
MoveContentToDamMigrationTaskTest 14 0 0 0 100% 4.047
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 0.519
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 1.213
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 0.506
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 0.531
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 1.832

info.magnolia.dam.app.ui.config

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

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

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

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

Class Tests Errors Failures Skipped Success Rate Time
SaveAssetFormActionTest 2 0 0 0 100% 0.499
SaveRenameActionTest 2 0 0 0 100% 0.416

info.magnolia.dam.app.setup

Class Tests Errors Failures Skipped Success Rate Time
DamAppVersionHandlerTest 42 0 0 0 100% 71.746

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

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

Test Cases

[Summary] [Package List] [Test Cases]

CreateAssetVariantActionTest

resetActivationStatus 3.217
insertDuplicateMarkBeforeExtension 1.467
duplicateAsset 1.003
insertDuplicateRightAfterOriginalAsset 0.624
duplicateAssetProperties 0.784
duplicateAssetBinaryNode 0.499
synchronizeAssetNameWithoutExtension 0.489
synchronizeAssetNameAndFileName 0.596

DirectUploadActionTest

testWhenParentNodeIsSelected 0.663
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.528
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.449
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.371
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.337

AssetContentClipboardTest

pasteAssetAndSynchronizeAssetName 0.434
pasteAssetAndSynchronizeAssetNameWithoutExtension 0.323
pasteAssetPrimarilyDeducesNodeNameFromFileName 0.379
pasteAssetWithNameHasExtensionAndDoesNotHaveFileName 0.352

AssetNameColumnFormatterTest

folderItem 0.143
testNoIconIsReturnedForNonAssetNode 0.006
assetItemWithoutNameProperty 0.002
testIconIsReturnedForAsset 0.013
assetItemWithNameProperty 0
testDefaultIconIsReturnedIfMediaTypeDoesNotExists 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

AssetCompositeIdKeyTranslatorTest

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

SaveAssetFormActionTest

setNodeName 0.269
setFileNameAndNodeName 0.23

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.207
renameDoneBasedOnTheJcrNopeProperty 0.209

ImportAssetZipCommandTest

importImagesZipWithSameNameButDifferentExtension 0.388
reImportZipFileKeepNodeIdentifier 0.403
importImagesZip 0.337
importImagesZipLeavesExtension 0.31

DamAppConfigurationTest

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

DamAppVersionHandlerTest

testUpdateTo101RenameAssetDialogExists 4.08
testUpdateTo101LinkDialogIsRemoved 2.806
testUpdateTo101WithoutExistingFolderDefinition 3.007
testUpdateTo102ActionbarNodesUpdated 2.585
testUpdateTo1dot1VersioningCatalogAdded 2.103
testUpdateTo1dot1NewVersionAction 1.873
testUpdateFor20AddContentConnector 1.497
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 1.449
testUpdateFor20RenameAssetNodeActions 1.528
testUpdateTo111CleanupDeleteAssetAction 2.342
testUpdateFor20 1.495
testUpdateTo12AddsZipUpload 1.702
testUpdateTo101FolderActionReferencesUiFramework 2.517
updateFrom217InstallCopyAndPasteActions 0.621
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 1.272
testRenameAsset 0.885
testUpdateFor20RenameDialog 1.577
testUpdateTo102HasNewActions 2.043
testUpdateTo101CaptionFieldIsAvailable 2.062
testUpdate126ConfigureIconsForAssetsApp 1.229
testUpdateFrom20 1.38
testUpdateFrom121 2.207
testUpdateFrom202 1.039
testUpdateFrom203 1.047
testUpdateFrom204 1.111
testUpdateFrom207 0.827
testUpdateFrom208 0.765
testUpdateFrom211 0.763
testUpdateTo121AddsActivateRecursive 1.585
testUpdateTo102CleanupDeleteFolderAction 2.338
updateFrom2215econfigureRestorePreviousVersionActions 0.688
testUpdateTo122AddsActivateRecursiveIfNotSet 2.001
testUpdateTo101RenameAssetActionIsAvailable 3.589
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 2.175
testUpdateTo101WithoutNonExistingFolderDefinition 1.854
updateFrom216ConfigureFolderNodeTypeForImportZipAction 0.563
testUpdateTo1dot1NewActionbarSection 2.008
updateFrom124RegistersDownloadAssetAction 1.829
testUpdateTo124AddsColumnType 1.466
updateTo211RemovesObsoletePermissionRole 0.864
testUpdateTo1dot1DeleteSetMultiple 1.902
testUpdateFor20AddAvaibilityAndRemoveIcon 1.072

UpdateDamAppConfigurationTaskTest

testDialogMove 0.234
testMoveUpdateConfigNode 0.235
testVoterToMediaType 0.251

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.009
normalBehavior 0
noAssetTypeProperty 0.001
skipAssetWithoutResourceNode 0.001

AbstractPropertyValueSearchDamMigrationTaskTest

checkPropertySearchForNodesNamesStartingWithNumbers2 0.349
testSetUp 0.208
checkPropertySearchForNodesNamesStartingWithNumbers 0.226
checkPropertySearchForNodesWithAlphabeticNames 0.177
testWithEmptyPath 0.181
checkPropertySearchForNodesForManyPath 0.192

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 0.264
testDoExecute 0.233
testDoExecuteInvalidPath 0.262
testDoExecuteInvalidDataWorkspace 0.205

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.236
testChangeRefForRoot 0.261
testChangeRefForSubTree 0.311
testChangeRefForAllTreeMissingUUIDReference 0.41
testChangeRefForAllTree 0.241
testChangeRefForI18NDmsReferences 0.205

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.205
testCleanUpNodeVisitorInvalidIdentifier 0.177
testCleanUpNodeVisitorForAllTree 0.226
testCleanUpNodeVisitorNormalProperties 0.185
testHandleDamLinkNodeVisitorForAllTree 0.207

DamControlMigratorTest

DamControlMigrationTest 0

DamLinkControlMigratorTest

LinkControlMigrationRepositoryDmsTest 0

DamMigrationUtilTest

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

MoveContentToDamMigrationTaskTest

testMigrationForInvalideFileName 0.293
testDamRepoWithSubPath 0.264
testInCaseOfNoBinaryNode 0.319
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 0.294
testWebSiteRepoForI18NImagesOneUploadedOneLinked 0.287
testDamRepoForI18NImagesBothUploaded 0.253
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.25
testWebSiteRepoForNoMatchingFolder 0.211
testWebSiteRepoForI18NImagesBothUploaded 0.279
testDamRepoForI18NImagesOneUploadedOneLinked 0.304
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.3
testDamRepo 0.303
testWebSiteRepo 0.348
testInCaseOfNoMatchingNodeProperty 0.342

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 0.26
testCopyAllDMSTree 0.259

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 0.354
testCollectLinks 0.266
testExecuteMissingBinary 0.317
testExecuteWithSubPath 0.276

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 0.242
testSimpleExecuteCheckDamWorkspace 0.264

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 0.258
testExecuteWithMissingDamRef 0.273

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 0.286
testInCaseOfNoBinaryNode 0.269
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.31
testWebSiteRepoForNoMatchingFolder 0.181
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.317
testDamRepo 0.217
testWebSiteRepo 0.252

DamFieldConfigTest

testDamUpload 0.004
testAssetLink 0

EditAssetAppConfigurationTest

testEditConfig 0.001
testThumbnailComponentProviderClass 0
testPreviewConfig 0

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0.005
testCreateThumbnailComponentDocumentMimeType 0
testCreateThumbnailComponentImageMimeType 0

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.006
testCreateThumbnailComponent 0.004
testCreateThumbnailComponentNoFile 0.001

DamFilePreviewComponentTest

refreshItemNPETest 0.028
refreshItemForFolderTest 0.004

DamUploadFieldFactoryTest

completedLayout 0.129
emptyLayout 0.014
getField 0.014

AssetTransformerTest

populateExistingItem 0.016
createPropertyFromItem 0.005
populateNewItem 0.004

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.005
updateContent 0.004
getHeight 0.002
getWidth 0.001
isImage 0.002

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamLinkImageProviderTest

testGetGeneratorImagePath 0.006

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