Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
166 0 0 0 100% 47.857

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.017
info.magnolia.dam.app.setup.for2_0 6 0 0 0 100% 0.765
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0.007
info.magnolia.dam.app.ui.field.transformer 3 0 0 0 100% 0.022
info.magnolia.dam.app.ui.field.factory 3 0 0 0 100% 0.144
info.magnolia.dam.app.ui.config 2 0 0 0 100% 0.004
info.magnolia.dam.app.ui.field 2 0 0 0 100% 0.037
info.magnolia.dam.app.commands 4 0 0 0 100% 1.466
info.magnolia.dam.app.setup.migration 55 0 0 0 100% 11.753
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.008
info.magnolia.dam.app.assets.action 9 0 0 0 100% 6.575
info.magnolia.dam.app 9 0 0 0 100% 0.004
info.magnolia.dam.app.setup 34 0 0 0 100% 25.497
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.02
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 0.954
info.magnolia.dam.app.assets.field.translator 7 0 0 0 100% 0.005
info.magnolia.dam.app.ui.field.configuration 3 0 0 0 100% 0.002
info.magnolia.dam.app.assets.column 11 0 0 0 100% 0.577

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 0.758
UpdateDamAssetFileNamePropertiesTaskTest 3 0 0 0 100% 0.007

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

Class Tests Errors Failures Skipped Success Rate Time
IconThumbnailComponentProviderTest 3 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.022

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

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

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

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

info.magnolia.dam.app.commands

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 0.994
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 5 0 0 0 100% 1.31
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 1.111
DamControlMigratorTest 1 0 0 0 100% 0
DamLinkControlMigratorTest 1 0 0 0 100% 0
DamMigrationUtilTest 8 0 0 0 100% 0.002
MoveContentToDamMigrationTaskTest 14 0 0 0 100% 3.85
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 0.463
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 1.067
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 0.523
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 0.581
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 1.852

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

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

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
CreateAssetVariantActionTest 4 0 0 0 100% 4.617
DirectUploadActionTest 5 0 0 0 100% 1.958

info.magnolia.dam.app

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

info.magnolia.dam.app.setup

Class Tests Errors Failures Skipped Success Rate Time
DamAppVersionHandlerTest 34 0 0 0 100% 25.497

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

Class Tests Errors Failures Skipped Success Rate Time
AssetUploadReceiverTest 5 0 0 0 100% 0.02
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.498
SaveRenameActionTest 2 0 0 0 100% 0.456

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

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

info.magnolia.dam.app.assets.column

Class Tests Errors Failures Skipped Success Rate Time
AssetNameColumnFormatterTest 6 0 0 0 100% 0.124
AssetTypeColumnFormatterTest 5 0 0 0 100% 0.453

Test Cases

[Summary] [Package List] [Test Cases]

CreateAssetVariantActionTest

testExistanceOfTheCopyProperty 2.559
testActivationStatus 0.953
testExistanceOfTheCopy 0.618
testExistanceOfTheCopyBinaryProperty 0.487

DirectUploadActionTest

testWhenParentNodeIsSelected 0.614
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.357
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.329
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.34
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.318

AssetNameColumnFormatterTest

folderItem 0.1
testNoIconIsReturnedForNonAssetNode 0.009
assetItemWithoutNameProperty 0.002
testIconIsReturnedForAsset 0.01
assetItemWithNameProperty 0.001
testDefaultIconIsReturnedIfMediaTypeDoesNotExists 0.002

AssetTypeColumnFormatterTest

testMediaTypeOnly 0.327
testMediaTypeAndExtension 0.005
testMediaTypeAndExtensionMissingMediaType 0.003
testForFolder 0.001
testNoRepositoryExceptionLoggedWhenContentNodeDoesNotExist 0.117

AssetCompositeIdKeyTranslatorTest

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

SaveAssetFormActionTest

setNodeName 0.254
setFileNameAndNodeName 0.244

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.227
renameDoneBasedOnTheJcrNopeProperty 0.229

ImportAssetZipCommandTest

importImagesZipWithSameExtension 0.364
reImportZipFileKeepNodeIdentifier 0.39
importImagesZip 0.374
importImagesZipLeavesExtension 0.338

DamAppConfigurationTest

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

DamAppVersionHandlerTest

testUpdateTo101RenameAssetDialogExists 2.412
testUpdateTo101LinkDialogIsRemoved 1.27
testUpdateTo101WithoutExistingFolderDefinition 1.124
testUpdateTo102ActionbarNodesUpdated 0.912
testUpdateTo1dot1NewVersionAction 0.884
testUpdateFor20AddContentConnector 0.519
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 0.559
testUpdateFor20RenameAssetNodeActions 0.659
testUpdateTo111CleanupDeleteAssetAction 0.852
testUpdateFor20 0.553
testUpdateTo12AddsZipUpload 0.634
testUpdateTo101FolderActionReferencesUiFramework 0.856
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 0.515
testUpdateFor20RenameDialog 0.513
testUpdateTo102HasNewActions 0.764
testUpdateTo101CaptionFieldIsAvailable 0.805
testUpdate126ConfigureIconsForAssetsApp 0.538
testUpdateFrom20 0.401
testUpdateFrom121 0.596
testUpdateFrom202 0.399
testUpdateFrom203 0.381
testUpdateFrom204 0.349
testUpdateTo121AddsActivateRecursive 0.588
testUpdateTo102CleanupDeleteFolderAction 0.755
testUpdateTo122AddsActivateRecursiveIfNotSet 0.582
testUpdateTo101RenameAssetActionIsAvailable 0.881
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 0.939
testUpdateTo1dot1VerisoningCatalogAdded 0.789
testUpdateTo101WithoutNonExistingFolderDefinition 0.849
testUpdateTo1dot1NewActionbarSection 0.825
updateFrom124RegistersDownloadAssetAction 0.515
testUpdateTo124AddsColumnType 0.577
testUpdateTo1dot1DeleteSetMultiple 1.21
testUpdateFor20AddAvaibilityAndRemoveIcon 0.492

UpdateDamAppConfigurationTaskTest

testDialogMove 0.239
testMoveUpdateConfigNode 0.247
testVoterToMediaType 0.272

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.006
normalBehavior 0.001
noAssetTypeProperty 0

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 0.263
testDoExecute 0.263
testDoExecuteInvalidPath 0.237
testDoExecuteInvalidDataWorkspace 0.231

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.333
testChangeRefForSubTree 0.232
testChangeRefForAllTreeMissingUUIDReference 0.238
testChangeRefForAllTree 0.265
testChangeRefForI18NDmsReferences 0.242

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.22
testCleanUpNodeVisitorInvalidIdentifier 0.218
testCleanUpNodeVisitorForAllTree 0.216
testCleanUpNodeVisitorNormalProperties 0.218
testHandleDamLinkNodeVisitorForAllTree 0.239

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.292
testDamRepoWithSubPath 0.255
testInCaseOfNoBinaryNode 0.248
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 0.291
testWebSiteRepoForI18NImagesOneUploadedOneLinked 0.353
testDamRepoForI18NImagesBothUploaded 0.306
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.254
testWebSiteRepoForNoMatchingFolder 0.308
testWebSiteRepoForI18NImagesBothUploaded 0.259
testDamRepoForI18NImagesOneUploadedOneLinked 0.254
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.257
testDamRepo 0.243
testWebSiteRepo 0.252
testInCaseOfNoMatchingNodeProperty 0.278

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 0.235
testCopyAllDMSTree 0.228

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 0.328
testCollectLinks 0.252
testExecuteMissingBinary 0.245
testExecuteWithSubPath 0.242

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 0.274
testSimpleExecuteCheckDamWorkspace 0.249

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 0.304
testExecuteWithMissingDamRef 0.277

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 0.274
testInCaseOfNoBinaryNode 0.255
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.275
testWebSiteRepoForNoMatchingFolder 0.23
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.295
testDamRepo 0.287
testWebSiteRepo 0.236

DamFieldConfigTest

testDamUpload 0.002
testAssetLink 0.002

EditAssetAppConfigurationTest

testEditConfig 0.001
testThumbnailComponentProviderClass 0
testPreviewConfig 0.001

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0.007
testCreateThumbnailComponentDocumentMimeType 0
testCreateThumbnailComponentImageMimeType 0

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.006
testCreateThumbnailComponent 0.002
testCreateThumbnailComponentNoFile 0

DamFilePreviewComponentTest

refreshItemNPETest 0.033
refreshItemForFolderTest 0.004

DamUploadFieldFactoryTest

testGetField 0.093
testEmptyLayout 0.025
testCompletedLayout 0.026

AssetTransformerTest

populateExistingItem 0.014
createPropertyFromItem 0.005
populateNewItem 0.003

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.009
updateContent 0.005
getHeight 0.002
getWidth 0.002
isImage 0.002

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamLinkImageProviderTest

testGetGeneratorImagePath 0.017