Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.171
info.magnolia.dam.app.ui.field.configuration 3 0 0 0 100% 0.002
info.magnolia.dam.app.assets.field.translator 7 0 0 0 100% 0.003
info.magnolia.dam.app.setup.for2_0 7 0 0 0 100% 0.5
info.magnolia.dam.app.commands 4 0 0 0 100% 0.98
info.magnolia.dam.app.ui.imageprovider 1 0 0 0 100% 0.008
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.009
info.magnolia.dam.app 9 0 0 0 100% 0.006
info.magnolia.dam.app.ui.field 2 0 0 0 100% 0.044
info.magnolia.dam.app.assets.browser 4 0 0 0 100% 1.037
info.magnolia.dam.app.assets.column 13 0 0 1 92.308% 0.093
info.magnolia.dam.app.assets.action 13 0 0 0 100% 6.398
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0.004
info.magnolia.dam.app.setup.migration 63 0 0 0 100% 10.384
info.magnolia.dam.app.ui.config 2 0 0 0 100% 0.005
info.magnolia.dam.app.ui.field.transformer 3 0 0 0 100% 0.028
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 0.688
info.magnolia.dam.app.setup 44 0 0 0 100% 49.975
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.013

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

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

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

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

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 0.494
UpdateDamAssetFileNamePropertiesTaskTest 4 0 0 0 100% 0.006

info.magnolia.dam.app.commands

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

info.magnolia.dam.app.ui.imageprovider

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

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

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

info.magnolia.dam.app

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

info.magnolia.dam.app.ui.field

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

info.magnolia.dam.app.assets.browser

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

info.magnolia.dam.app.assets.column

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

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
CreateAssetVariantActionTest 8 0 0 0 100% 4.844
DirectUploadActionTest 5 0 0 0 100% 1.554

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

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
AbstractPropertyValueSearchDamMigrationTaskTest 6 0 0 0 100% 0.966
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 0.604
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 7 0 0 0 100% 1.037
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 0.781
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.657
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 0.305
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 0.99
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 0.36
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 0.619
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 2.064

info.magnolia.dam.app.ui.config

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

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

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

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

Class Tests Errors Failures Skipped Success Rate Time
SaveAssetFormActionTest 2 0 0 0 100% 0.337
SaveRenameActionTest 2 0 0 0 100% 0.351

info.magnolia.dam.app.setup

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

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

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

Test Cases

[Summary] [Package List] [Test Cases]

CreateAssetVariantActionTest

resetActivationStatus 2.037
insertDuplicateMarkBeforeExtension 0.571
duplicateAsset 0.472
insertDuplicateRightAfterOriginalAsset 0.392
duplicateAssetProperties 0.434
duplicateAssetBinaryNode 0.347
synchronizeAssetNameWithoutExtension 0.328
synchronizeAssetNameAndFileName 0.263

DirectUploadActionTest

testWhenParentNodeIsSelected 0.547
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.268
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.256
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.274
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.209

AssetContentClipboardTest

pasteAssetAndSynchronizeAssetName 0.258
pasteAssetAndSynchronizeAssetNameWithoutExtension 0.242
pasteAssetPrimarilyDeducesNodeNameFromFileName 0.311
pasteAssetWithNameHasExtensionAndDoesNotHaveFileName 0.226

AssetNameColumnFormatterTest

iconFileImageIsReturnedForSvgAsset 0.085
folderItem 0.004
thumbnailImageIsReturnedForAsset 0.001
assetItemWithoutNameProperty 0.001
defaultIconIsReturnedIfMediaTypeDoesNotExists 0
assetItemWithNameProperty 0.001
defaultIconIsReturnedIfMediaTypeIsEmpty 0.001
noIconIsReturnedForUnsupportedNodeType 0

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

AssetCompositeIdKeyTranslatorTest

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

SaveAssetFormActionTest

setNodeName 0.178
setFileNameAndNodeName 0.159

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.152
renameDoneBasedOnTheJcrNopeProperty 0.199

ImportAssetZipCommandTest

importImagesZipWithSameNameButDifferentExtension 0.249
reImportZipFileKeepNodeIdentifier 0.253
importImagesZip 0.222
importImagesZipLeavesExtension 0.256

DamAppConfigurationTest

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

DamAppVersionHandlerTest

testUpdateTo101RenameAssetDialogExists 2.736
testUpdateTo101LinkDialogIsRemoved 2.26
testUpdateTo101WithoutExistingFolderDefinition 1.917
testUpdateTo102ActionbarNodesUpdated 1.682
testUpdateTo1dot1VersioningCatalogAdded 1.451
testUpdateTo1dot1NewVersionAction 1.476
testUpdateFor20AddContentConnector 1.11
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 1.078
testUpdateFor20RenameAssetNodeActions 1.083
testUpdateTo111CleanupDeleteAssetAction 1.54
testUpdateFor20 1.137
testUpdateTo12AddsZipUpload 1.239
testUpdateTo101FolderActionReferencesUiFramework 1.689
updateFrom217InstallCopyAndPasteActions 0.446
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 1.104
testRenameAsset 0.645
testUpdateFor20RenameDialog 1.129
testUpdateTo102HasNewActions 1.727
testUpdateTo101CaptionFieldIsAvailable 1.583
updateFrom22AndCheckAssetChooseDialogWithPreviewHasBeenUpdated 0.257
testUpdate126ConfigureIconsForAssetsApp 1.039
testUpdateFrom20 1.104
testUpdateFrom121 1.561
testUpdateFrom202 0.869
testUpdateFrom203 0.849
testUpdateFrom204 0.806
testUpdateFrom207 0.705
testUpdateFrom208 0.652
testUpdateFrom211 0.497
testUpdateTo121AddsActivateRecursive 1.218
testUpdateTo102CleanupDeleteFolderAction 1.338
updateFrom2215econfigureRestorePreviousVersionActions 0.425
testUpdateTo122AddsActivateRecursiveIfNotSet 0.993
updateFrom22RemoveLegacyConfigurationProperties 0.24
testUpdateTo101RenameAssetActionIsAvailable 1.48
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 1.158
testUpdateTo101WithoutNonExistingFolderDefinition 1.394
updateFrom216ConfigureFolderNodeTypeForImportZipAction 0.406
testUpdateTo1dot1NewActionbarSection 1.307
updateFrom124RegistersDownloadAssetAction 0.966
testUpdateTo124AddsColumnType 1.018
updateTo211RemovesObsoletePermissionRole 0.533
testUpdateTo1dot1DeleteSetMultiple 1.299
testUpdateFor20AddAvaibilityAndRemoveIcon 0.829

UpdateDamAppConfigurationTaskTest

testDialogMove 0.164
testMoveUpdateConfigNode 0.164
testVoterToMediaType 0.166

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.005
normalBehavior 0
noAssetTypeProperty 0.001
skipAssetWithoutResourceNode 0

AbstractPropertyValueSearchDamMigrationTaskTest

checkPropertySearchForNodesNamesStartingWithNumbers2 0.227
testSetUp 0.132
checkPropertySearchForNodesNamesStartingWithNumbers 0.133
checkPropertySearchForNodesWithAlphabeticNames 0.137
testWithEmptyPath 0.206
checkPropertySearchForNodesForManyPath 0.131

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 0.153
testDoExecute 0.153
testDoExecuteInvalidPath 0.161
testDoExecuteInvalidDataWorkspace 0.137

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.149
testChangeRefForRoot 0.144
testChangeRefForSubTree 0.146
testChangeRefForPathEndingWithSlash 0.186
testChangeRefForAllTreeMissingUUIDReference 0.144
testChangeRefForAllTree 0.139
testChangeRefForI18NDmsReferences 0.129

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.13
testCleanUpNodeVisitorInvalidIdentifier 0.128
testCleanUpNodeVisitorForAllTree 0.133
testCleanUpNodeVisitorNormalProperties 0.159
testHandleDamLinkNodeVisitorForAllTree 0.231

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.253
testDamRepoWithSubPath 0.222
testInCaseOfNoBinaryNode 0.16
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 0.162
testWebSiteRepoForI18NImagesOneUploadedOneLinked 0.166
testDamRepoForI18NImagesBothUploaded 0.171
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.21
testWebSiteRepoForNoMatchingFolder 0.159
testWebSiteRepoForI18NImagesBothUploaded 0.226
testDamRepoForI18NImagesOneUploadedOneLinked 0.233
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.182
testDamRepo 0.168
testWebSiteRepo 0.18
testInCaseOfNoMatchingNodeProperty 0.165

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 0.147
testCopyAllDMSTree 0.158

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 0.282
testCollectLinks 0.357
testExecuteMissingBinary 0.163
testExecuteWithSubPath 0.188

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 0.16
testSimpleExecuteCheckDamWorkspace 0.2

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 0.335
testExecuteWithMissingDamRef 0.284

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 0.236
testInCaseOfNoBinaryNode 0.224
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.4
testWebSiteRepoForNoMatchingFolder 0.212
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.44
testDamRepo 0.311
testWebSiteRepo 0.241

DamFieldConfigTest

testDamUpload 0.003
testAssetLink 0.002

EditAssetAppConfigurationTest

testEditConfig 0.001
testThumbnailComponentProviderClass 0.001
testPreviewConfig 0

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0.003
testCreateThumbnailComponentDocumentMimeType 0.001
testCreateThumbnailComponentImageMimeType 0

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.005
testCreateThumbnailComponent 0
testCreateThumbnailComponentNoFile 0.004

DamFilePreviewComponentTest

refreshItemNPETest 0.039
refreshItemForFolderTest 0.005

DamUploadFieldFactoryTest

completedLayout 0.15
emptyLayout 0.011
getField 0.01

AssetTransformerTest

populateExistingItem 0.011
createPropertyFromItem 0.015
populateNewItem 0.002

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.006
updateContent 0.004
getHeight 0.001
getWidth 0.001
isImage 0.001

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamLinkImageProviderTest

testGetGeneratorImagePath 0.008

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