Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
170 0 0 0 100% 80.965

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.027
info.magnolia.dam.app.setup.for2_0 7 0 0 0 100% 1.214
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0.015
info.magnolia.dam.app.ui.field.transformer 3 0 0 0 100% 0.197
info.magnolia.dam.app.ui.field.factory 3 0 0 0 100% 0.382
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.064
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.017
info.magnolia.dam.app.commands 4 0 0 0 100% 2.942
info.magnolia.dam.app.setup.migration 55 0 0 0 100% 15.114
info.magnolia.dam.app.assets.action 9 0 0 0 100% 9.378
info.magnolia.dam.app 9 0 0 0 100% 0.005
info.magnolia.dam.app.setup 37 0 0 0 100% 48.443
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.355
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 1.997
info.magnolia.dam.app.assets.field.translator 7 0 0 0 100% 0.008
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.796

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 1.193
UpdateDamAssetFileNamePropertiesTaskTest 4 0 0 0 100% 0.021

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

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

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

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

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

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

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

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

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

info.magnolia.dam.app.commands

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 1.427
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 5 0 0 0 100% 1.847
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 1.466
DamControlMigratorTest 1 0 0 0 100% 0.001
DamLinkControlMigratorTest 1 0 0 0 100% 0
DamMigrationUtilTest 8 0 0 0 100% 0.002
MoveContentToDamMigrationTaskTest 14 0 0 0 100% 4.655
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 0.704
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 1.421
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 0.578
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 0.637
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 2.376

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
CreateAssetVariantActionTest 4 0 0 0 100% 6.58
DirectUploadActionTest 5 0 0 0 100% 2.798

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 37 0 0 0 100% 48.443

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

Class Tests Errors Failures Skipped Success Rate Time
AssetUploadReceiverTest 5 0 0 0 100% 0.355
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% 1.013
SaveRenameActionTest 2 0 0 0 100% 0.984

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

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

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.133
AssetTypeColumnFormatterTest 5 0 0 0 100% 0.663

Test Cases

[Summary] [Package List] [Test Cases]

CreateAssetVariantActionTest

testExistanceOfTheCopyProperty 3.611
testActivationStatus 1.392
testExistanceOfTheCopy 1.01
testExistanceOfTheCopyBinaryProperty 0.567

DirectUploadActionTest

testWhenParentNodeIsSelected 0.718
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.654
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.514
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.443
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.469

AssetNameColumnFormatterTest

folderItem 0.107
testNoIconIsReturnedForNonAssetNode 0.009
assetItemWithoutNameProperty 0.002
testIconIsReturnedForAsset 0.012
assetItemWithNameProperty 0.001
testDefaultIconIsReturnedIfMediaTypeDoesNotExists 0.002

AssetTypeColumnFormatterTest

testMediaTypeOnly 0.487
testMediaTypeAndExtensionMissingMediaType 0.01
testNoRepositoryExceptionLoggedWhenContentNodeDoesNotExist 0.161
testMediaTypeAndExtension 0.003
testForFolder 0.002

AssetCompositeIdKeyTranslatorTest

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

SaveAssetFormActionTest

setNodeName 0.496
setFileNameAndNodeName 0.517

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.454
renameDoneBasedOnTheJcrNopeProperty 0.53

ImportAssetZipCommandTest

importImagesZipWithSameNameButDifferentExtension 0.83
reImportZipFileKeepNodeIdentifier 0.703
importImagesZip 0.594
importImagesZipLeavesExtension 0.815

DamAppConfigurationTest

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

DamAppVersionHandlerTest

testUpdateTo101RenameAssetDialogExists 3.917
testUpdateTo101LinkDialogIsRemoved 2.709
testUpdateTo101WithoutExistingFolderDefinition 2.11
testUpdateTo102ActionbarNodesUpdated 2.452
testUpdateTo1dot1NewVersionAction 2.138
testUpdateFor20AddContentConnector 0.86
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 1.27
testUpdateFor20RenameAssetNodeActions 1.053
testUpdateTo111CleanupDeleteAssetAction 1.629
testUpdateFor20 1.094
testUpdateTo12AddsZipUpload 1.493
testUpdateTo101FolderActionReferencesUiFramework 1.658
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 0.984
testRenameAsset 0.466
testUpdateFor20RenameDialog 0.949
testUpdateTo102HasNewActions 1.485
testUpdateTo101CaptionFieldIsAvailable 1.493
testUpdate126ConfigureIconsForAssetsApp 0.923
testUpdateFrom20 0.724
testUpdateFrom121 1.198
testUpdateFrom202 0.641
testUpdateFrom203 0.612
testUpdateFrom204 0.489
testUpdateFrom207 0.436
testUpdateFrom208 0.406
testUpdateTo121AddsActivateRecursive 1.135
testUpdateTo102CleanupDeleteFolderAction 1.448
testUpdateTo122AddsActivateRecursiveIfNotSet 1.107
testUpdateTo101RenameAssetActionIsAvailable 1.766
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 1.43
testUpdateTo1dot1VerisoningCatalogAdded 1.37
testUpdateTo101WithoutNonExistingFolderDefinition 1.554
testUpdateTo1dot1NewActionbarSection 1.29
updateFrom124RegistersDownloadAssetAction 1.142
testUpdateTo124AddsColumnType 0.913
testUpdateTo1dot1DeleteSetMultiple 1.317
testUpdateFor20AddAvaibilityAndRemoveIcon 0.782

UpdateDamAppConfigurationTaskTest

testDialogMove 0.294
testMoveUpdateConfigNode 0.375
testVoterToMediaType 0.524

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.017
normalBehavior 0.001
noAssetTypeProperty 0.001
skipAssetWithoutResourceNode 0.002

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 0.405
testDoExecute 0.392
testDoExecuteInvalidPath 0.351
testDoExecuteInvalidDataWorkspace 0.279

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.433
testChangeRefForSubTree 0.429
testChangeRefForAllTreeMissingUUIDReference 0.307
testChangeRefForAllTree 0.337
testChangeRefForI18NDmsReferences 0.341

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.302
testCleanUpNodeVisitorInvalidIdentifier 0.309
testCleanUpNodeVisitorForAllTree 0.267
testCleanUpNodeVisitorNormalProperties 0.271
testHandleDamLinkNodeVisitorForAllTree 0.317

DamControlMigratorTest

DamControlMigrationTest 0.001

DamLinkControlMigratorTest

LinkControlMigrationRepositoryDmsTest 0

DamMigrationUtilTest

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

MoveContentToDamMigrationTaskTest

testMigrationForInvalideFileName 0.391
testDamRepoWithSubPath 0.408
testInCaseOfNoBinaryNode 0.379
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 0.325
testWebSiteRepoForI18NImagesOneUploadedOneLinked 0.304
testDamRepoForI18NImagesBothUploaded 0.383
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.301
testWebSiteRepoForNoMatchingFolder 0.277
testWebSiteRepoForI18NImagesBothUploaded 0.303
testDamRepoForI18NImagesOneUploadedOneLinked 0.306
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.346
testDamRepo 0.293
testWebSiteRepo 0.306
testInCaseOfNoMatchingNodeProperty 0.333

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 0.307
testCopyAllDMSTree 0.397

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 0.442
testCollectLinks 0.304
testExecuteMissingBinary 0.3
testExecuteWithSubPath 0.375

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 0.296
testSimpleExecuteCheckDamWorkspace 0.282

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 0.3
testExecuteWithMissingDamRef 0.337

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 0.379
testInCaseOfNoBinaryNode 0.328
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.325
testWebSiteRepoForNoMatchingFolder 0.294
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.388
testDamRepo 0.295
testWebSiteRepo 0.367

DamFieldConfigTest

testDamUpload 0.008
testAssetLink 0.001

EditAssetAppConfigurationTest

testEditConfig 0.001
testThumbnailComponentProviderClass 0
testPreviewConfig 0.001

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0.012
testCreateThumbnailComponentDocumentMimeType 0.002
testCreateThumbnailComponentImageMimeType 0.001

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.012
testCreateThumbnailComponent 0.003
testCreateThumbnailComponentNoFile 0.002

DamFilePreviewComponentTest

refreshItemNPETest 0.057
refreshItemForFolderTest 0.007

DamUploadFieldFactoryTest

testGetField 0.216
testEmptyLayout 0.079
testCompletedLayout 0.087

AssetTransformerTest

populateExistingItem 0.073
createPropertyFromItem 0.058
populateNewItem 0.066

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.068
updateContent 0.065
getHeight 0.06
getWidth 0.058
isImage 0.104

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamLinkImageProviderTest

testGetGeneratorImagePath 0.027