Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
183 0 0 1 99.454% 88.496

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.imageprovider 1 0 0 0 100% 0.009
info.magnolia.dam.app.setup.for2_0 7 0 0 0 100% 1.043
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0.011
info.magnolia.dam.app.ui.field.transformer 3 0 0 0 100% 0.031
info.magnolia.dam.app.ui.field.factory 3 0 0 0 100% 0.177
info.magnolia.dam.app.ui.config 2 0 0 0 100% 0.009
info.magnolia.dam.app.ui.field 2 0 0 0 100% 0.055
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.012
info.magnolia.dam.app.commands 4 0 0 0 100% 2.117
info.magnolia.dam.app.setup.migration 62 0 0 0 100% 18.712
info.magnolia.dam.app.assets.action 13 0 0 0 100% 12.09
info.magnolia.dam.app 9 0 0 0 100% 0.005
info.magnolia.dam.app.setup 39 0 0 0 100% 52.707
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.014
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 1.308
info.magnolia.dam.app.assets.field.translator 7 0 0 0 100% 0.004
info.magnolia.dam.app.ui.field.configuration 3 0 0 0 100% 0.001
info.magnolia.dam.app.assets.column 11 0 0 1 90.909% 0.191

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

info.magnolia.dam.app.ui.imageprovider

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 1.033
UpdateDamAssetFileNamePropertiesTaskTest 4 0 0 0 100% 0.01

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

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

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

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

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

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

info.magnolia.dam.app.ui.config

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

info.magnolia.dam.app.ui.field

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

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

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

info.magnolia.dam.app.commands

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
AbstractPropertyValueSearchDamMigrationTaskTest 6 0 0 0 100% 2.57
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 1.413
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 6 0 0 0 100% 1.952
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 1.541
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% 5.229
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 0.676
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 1.49
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 0.651
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 0.659
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 2.531

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
CreateAssetVariantActionTest 8 0 0 0 100% 9.491
DirectUploadActionTest 5 0 0 0 100% 2.599

info.magnolia.dam.app

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

info.magnolia.dam.app.setup

Class Tests Errors Failures Skipped Success Rate Time
DamAppVersionHandlerTest 39 0 0 0 100% 52.707

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

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

Class Tests Errors Failures Skipped Success Rate Time
SaveAssetFormActionTest 2 0 0 0 100% 0.578
SaveRenameActionTest 2 0 0 0 100% 0.73

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.ui.field.configuration

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

info.magnolia.dam.app.assets.column

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

Test Cases

[Summary] [Package List] [Test Cases]

CreateAssetVariantActionTest

resetActivationStatus 3.635
insertDuplicateMarkBeforeExtension 1.665
duplicateAsset 1
insertDuplicateRightAfterOriginalAsset 0.69
duplicateAssetProperties 0.591
duplicateAssetBinaryNode 0.661
synchronizeAssetNameWithoutExtension 0.667
synchronizeAssetNameAndFileName 0.582

DirectUploadActionTest

testWhenParentNodeIsSelected 0.811
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.389
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.507
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.484
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.408

AssetNameColumnFormatterTest

folderItem 0.166
testNoIconIsReturnedForNonAssetNode 0.009
assetItemWithoutNameProperty 0.002
testIconIsReturnedForAsset 0.011
assetItemWithNameProperty 0.001
testDefaultIconIsReturnedIfMediaTypeDoesNotExists 0

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.003
testConvertToModel 0
testConvertToPresentation 0
testConvertToPresentationWrongId 0.001
testConvertToPresentationNotCompositeId 0

SaveAssetFormActionTest

setNodeName 0.315
setFileNameAndNodeName 0.263

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.33
renameDoneBasedOnTheJcrNopeProperty 0.4

ImportAssetZipCommandTest

importImagesZipWithSameNameButDifferentExtension 0.458
reImportZipFileKeepNodeIdentifier 0.587
importImagesZip 0.429
importImagesZipLeavesExtension 0.643

DamAppConfigurationTest

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

DamAppVersionHandlerTest

testUpdateTo101RenameAssetDialogExists 3.55
testUpdateTo101LinkDialogIsRemoved 2.339
testUpdateTo101WithoutExistingFolderDefinition 2.203
testUpdateTo102ActionbarNodesUpdated 1.996
testUpdateTo1dot1NewVersionAction 1.876
testUpdateFor20AddContentConnector 1.067
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 1.188
testUpdateFor20RenameAssetNodeActions 1.225
testUpdateTo111CleanupDeleteAssetAction 1.892
testUpdateFor20 1.208
testUpdateTo12AddsZipUpload 1.486
testUpdateTo101FolderActionReferencesUiFramework 1.908
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 1.129
testRenameAsset 0.59
testUpdateFor20RenameDialog 1.059
testUpdateTo102HasNewActions 1.63
testUpdateTo101CaptionFieldIsAvailable 1.859
testUpdate126ConfigureIconsForAssetsApp 1.17
testUpdateFrom20 1.013
testUpdateFrom121 1.17
testUpdateFrom202 0.771
testUpdateFrom203 0.747
testUpdateFrom204 0.625
testUpdateFrom207 0.569
testUpdateFrom208 0.593
testUpdateFrom211 0.403
testUpdateTo121AddsActivateRecursive 1.316
testUpdateTo102CleanupDeleteFolderAction 1.668
testUpdateTo122AddsActivateRecursiveIfNotSet 1.176
testUpdateTo101RenameAssetActionIsAvailable 1.721
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 1.396
testUpdateTo1dot1VerisoningCatalogAdded 1.97
testUpdateTo101WithoutNonExistingFolderDefinition 1.665
testUpdateTo1dot1NewActionbarSection 1.566
updateFrom124RegistersDownloadAssetAction 1.033
testUpdateTo124AddsColumnType 1.074
updateTo211RemovesObsoletePermissionRole 0.477
testUpdateTo1dot1DeleteSetMultiple 1.47
testUpdateFor20AddAvaibilityAndRemoveIcon 0.909

UpdateDamAppConfigurationTaskTest

testDialogMove 0.313
testMoveUpdateConfigNode 0.349
testVoterToMediaType 0.371

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.008
normalBehavior 0.001
noAssetTypeProperty 0
skipAssetWithoutResourceNode 0.001

AbstractPropertyValueSearchDamMigrationTaskTest

checkPropertySearchForNodesNamesStartingWithNumbers2 0.445
testSetUp 0.325
checkPropertySearchForNodesNamesStartingWithNumbers 0.381
checkPropertySearchForNodesWithAlphabeticNames 0.518
testWithEmptyPath 0.479
checkPropertySearchForNodesForManyPath 0.422

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 0.368
testDoExecute 0.34
testDoExecuteInvalidPath 0.355
testDoExecuteInvalidDataWorkspace 0.35

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.325
testChangeRefForRoot 0.303
testChangeRefForSubTree 0.32
testChangeRefForAllTreeMissingUUIDReference 0.335
testChangeRefForAllTree 0.301
testChangeRefForI18NDmsReferences 0.368

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.298
testCleanUpNodeVisitorInvalidIdentifier 0.292
testCleanUpNodeVisitorForAllTree 0.307
testCleanUpNodeVisitorNormalProperties 0.369
testHandleDamLinkNodeVisitorForAllTree 0.275

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.369
testDamRepoWithSubPath 0.368
testInCaseOfNoBinaryNode 0.379
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 0.397
testWebSiteRepoForI18NImagesOneUploadedOneLinked 0.361
testDamRepoForI18NImagesBothUploaded 0.412
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.38
testWebSiteRepoForNoMatchingFolder 0.289
testWebSiteRepoForI18NImagesBothUploaded 0.368
testDamRepoForI18NImagesOneUploadedOneLinked 0.395
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.357
testDamRepo 0.427
testWebSiteRepo 0.363
testInCaseOfNoMatchingNodeProperty 0.364

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 0.373
testCopyAllDMSTree 0.303

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 0.451
testCollectLinks 0.372
testExecuteMissingBinary 0.323
testExecuteWithSubPath 0.344

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 0.335
testSimpleExecuteCheckDamWorkspace 0.316

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 0.331
testExecuteWithMissingDamRef 0.328

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 0.373
testInCaseOfNoBinaryNode 0.391
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.363
testWebSiteRepoForNoMatchingFolder 0.288
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.426
testDamRepo 0.348
testWebSiteRepo 0.342

DamFieldConfigTest

testDamUpload 0.007
testAssetLink 0.002

EditAssetAppConfigurationTest

testEditConfig 0.001
testThumbnailComponentProviderClass 0
testPreviewConfig 0

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0.01
testCreateThumbnailComponentDocumentMimeType 0.001
testCreateThumbnailComponentImageMimeType 0

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.008
testCreateThumbnailComponent 0.003
testCreateThumbnailComponentNoFile 0.001

DamFilePreviewComponentTest

refreshItemNPETest 0.049
refreshItemForFolderTest 0.006

DamUploadFieldFactoryTest

completedLayout 0.15
emptyLayout 0.011
getField 0.016

AssetTransformerTest

populateExistingItem 0.022
createPropertyFromItem 0.006
populateNewItem 0.003

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.004
updateContent 0.004
getHeight 0.002
getWidth 0.002
isImage 0.002

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamLinkImageProviderTest

testGetGeneratorImagePath 0.009

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