Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.022
info.magnolia.dam.app.setup.for2_0 6 0 0 0 100% 1.02
info.magnolia.dam.app.ui.field.configuration.icon 3 0 0 0 100% 0.008
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.196
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.056
info.magnolia.dam.app.ui.field.configuration.image 3 0 0 0 100% 0.014
info.magnolia.dam.app.commands 4 0 0 0 100% 2.674
info.magnolia.dam.app.setup.migration 55 0 0 0 100% 15.029
info.magnolia.dam.app.assets.action 9 0 0 0 100% 10.329
info.magnolia.dam.app 9 0 0 0 100% 0.005
info.magnolia.dam.app.setup 34 0 0 0 100% 32.098
info.magnolia.dam.app.ui.field.upload 7 0 0 0 100% 0.019
info.magnolia.dam.app.assets.form.action 4 0 0 0 100% 1.94
info.magnolia.dam.app.assets.field.translator 7 0 0 0 100% 0.014
info.magnolia.dam.app.ui.field.configuration 3 0 0 0 100% 0.001
info.magnolia.dam.app.assets.column 11 0 0 0 100% 0.787

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

info.magnolia.dam.app.setup.for2_0

Class Tests Errors Failures Skipped Success Rate Time
UpdateDamAppConfigurationTaskTest 3 0 0 0 100% 1.008
UpdateDamAssetFileNamePropertiesTaskTest 3 0 0 0 100% 0.012

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

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

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

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

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

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

info.magnolia.dam.app.commands

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

info.magnolia.dam.app.setup.migration

Class Tests Errors Failures Skipped Success Rate Time
ChangeDataDmsReferenceToDamMigrationTaskTest 4 0 0 0 100% 1.478
ChangeWebsiteDmsReferenceToDamMigrationTaskTest 5 0 0 0 100% 1.604
CleanContentForDamMigrationTaskTest 5 0 0 0 100% 1.419
DamControlMigratorTest 1 0 0 0 100% 0.001
DamLinkControlMigratorTest 1 0 0 0 100% 0.001
DamMigrationUtilTest 8 0 0 0 100% 0.001
MoveContentToDamMigrationTaskTest 14 0 0 0 100% 4.58
MoveDataWorkspaceToDamMigrationTaskTest 2 0 0 0 100% 0.683
MoveFCKEditorContentToDamMigrationTaskTest 4 0 0 0 100% 1.629
MoveFileContentToDamMigrationTaskTest 2 0 0 0 100% 0.638
MoveLinkToDamForFCKEditorContentMigrationTaskTest 2 0 0 0 100% 0.602
MoveUploadedContentToDamMigrationTaskTest 7 0 0 0 100% 2.393

info.magnolia.dam.app.assets.action

Class Tests Errors Failures Skipped Success Rate Time
CreateAssetVariantActionTest 4 0 0 0 100% 7.034
DirectUploadActionTest 5 0 0 0 100% 3.295

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 34 0 0 0 100% 32.098

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

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

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

Class Tests Errors Failures Skipped Success Rate Time
SaveAssetFormActionTest 2 0 0 0 100% 1.086
SaveRenameActionTest 2 0 0 0 100% 0.854

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

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

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.158
AssetTypeColumnFormatterTest 5 0 0 0 100% 0.629

Test Cases

[Summary] [Package List] [Test Cases]

CreateAssetVariantActionTest

testExistanceOfTheCopyProperty 3.673
testActivationStatus 1.58
testExistanceOfTheCopy 1.134
testExistanceOfTheCopyBinaryProperty 0.647

DirectUploadActionTest

testWhenParentNodeIsSelected 1.064
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsNode 0.726
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrNodeAdapter 0.539
testWhenParentNodeIsNotSelectedThenUploadItemToWorkbenchRootWhichIsJcrItemId 0.426
testWhenParentNodeIsNotSelectedAndCanNotDetermineWorkbenchRoot 0.54

AssetNameColumnFormatterTest

folderItem 0.124
testNoIconIsReturnedForNonAssetNode 0.01
assetItemWithoutNameProperty 0.003
testIconIsReturnedForAsset 0.016
assetItemWithNameProperty 0.002
testDefaultIconIsReturnedIfMediaTypeDoesNotExists 0.003

AssetTypeColumnFormatterTest

testMediaTypeOnly 0.431
testMediaTypeAndExtensionMissingMediaType 0.011
testMediaTypeAndExtension 0.002
testForFolder 0.002
testNoRepositoryExceptionLoggedWhenContentNodeDoesNotExist 0.183

AssetCompositeIdKeyTranslatorTest

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

SaveAssetFormActionTest

setNodeName 0.607
setFileNameAndNodeName 0.479

SaveRenameActionTest

noRenameIfNoJcrNopeProperty 0.373
renameDoneBasedOnTheJcrNopeProperty 0.481

ImportAssetZipCommandTest

importImagesZipWithSameExtension 0.784
reImportZipFileKeepNodeIdentifier 0.771
importImagesZip 0.624
importImagesZipLeavesExtension 0.495

DamAppConfigurationTest

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

DamAppVersionHandlerTest

testUpdateTo101RenameAssetDialogExists 3.081
testUpdateTo101LinkDialogIsRemoved 2.311
testUpdateTo101WithoutExistingFolderDefinition 1.56
testUpdateTo102ActionbarNodesUpdated 1.37
testUpdateTo1dot1NewVersionAction 1.695
testUpdateFor20AddContentConnector 0.997
updateFrom124DoesNotRegisterAsyncActionsForDeleteAndPublishIfSchedulerModuleIsNotInstalled 0.912
testUpdateFor20RenameAssetNodeActions 0.707
testUpdateTo111CleanupDeleteAssetAction 1.198
testUpdateFor20 0.904
testUpdateTo12AddsZipUpload 0.926
testUpdateTo101FolderActionReferencesUiFramework 1.201
updateFrom124RegistersAsyncActionsForDeleteAndPublishIfSchedulerModuleIsInstalled 0.745
testUpdateFor20RenameDialog 0.584
testUpdateTo102HasNewActions 0.899
testUpdateTo101CaptionFieldIsAvailable 0.92
testUpdate126ConfigureIconsForAssetsApp 0.655
testUpdateFrom20 0.526
testUpdateFrom121 0.672
testUpdateFrom202 0.473
testUpdateFrom203 0.42
testUpdateFrom204 0.461
testUpdateTo121AddsActivateRecursive 0.71
testUpdateTo102CleanupDeleteFolderAction 0.868
testUpdateTo122AddsActivateRecursiveIfNotSet 0.695
testUpdateTo101RenameAssetActionIsAvailable 0.835
testMoveFolderActionHasNoLabelSpecifiedInConfigAfterUpdateTo111 0.809
testUpdateTo1dot1VerisoningCatalogAdded 0.822
testUpdateTo101WithoutNonExistingFolderDefinition 0.888
testUpdateTo1dot1NewActionbarSection 0.804
updateFrom124RegistersDownloadAssetAction 0.558
testUpdateTo124AddsColumnType 0.528
testUpdateTo1dot1DeleteSetMultiple 0.848
testUpdateFor20AddAvaibilityAndRemoveIcon 0.516

UpdateDamAppConfigurationTaskTest

testDialogMove 0.317
testMoveUpdateConfigNode 0.319
testVoterToMediaType 0.372

UpdateDamAssetFileNamePropertiesTaskTest

alreadyCorrectFileName 0.01
normalBehavior 0.001
noAssetTypeProperty 0.001

ChangeDataDmsReferenceToDamMigrationTaskTest

testDoExecuteNoAssociatedDamImage 0.358
testDoExecute 0.472
testDoExecuteInvalidPath 0.369
testDoExecuteInvalidDataWorkspace 0.279

ChangeWebsiteDmsReferenceToDamMigrationTaskTest

testChangeRefForI18NDmsndUploadReferences 0.396
testChangeRefForSubTree 0.315
testChangeRefForAllTreeMissingUUIDReference 0.329
testChangeRefForAllTree 0.276
testChangeRefForI18NDmsReferences 0.288

CleanContentForDamMigrationTaskTest

testCleanUpNodeVisitorForSubTree 0.277
testCleanUpNodeVisitorInvalidIdentifier 0.297
testCleanUpNodeVisitorForAllTree 0.306
testCleanUpNodeVisitorNormalProperties 0.27
testHandleDamLinkNodeVisitorForAllTree 0.269

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.317
testDamRepoWithSubPath 0.351
testInCaseOfNoBinaryNode 0.333
testDamRepoForI18NImagesSameFileNameDifferentNodeNamesBothUploaded 0.304
testWebSiteRepoForI18NImagesOneUploadedOneLinked 0.317
testDamRepoForI18NImagesBothUploaded 0.359
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.349
testWebSiteRepoForNoMatchingFolder 0.277
testWebSiteRepoForI18NImagesBothUploaded 0.319
testDamRepoForI18NImagesOneUploadedOneLinked 0.333
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.325
testDamRepo 0.328
testWebSiteRepo 0.339
testInCaseOfNoMatchingNodeProperty 0.329

MoveDataWorkspaceToDamMigrationTaskTest

testCopyAllDMSTreeDamSubTree 0.396
testCopyAllDMSTree 0.287

MoveFCKEditorContentToDamMigrationTaskTest

testExecute 0.468
testCollectLinks 0.463
testExecuteMissingBinary 0.383
testExecuteWithSubPath 0.315

MoveFileContentToDamMigrationTaskTest

testSimpleExecute 0.338
testSimpleExecuteCheckDamWorkspace 0.3

MoveLinkToDamForFCKEditorContentMigrationTaskTest

testExecute 0.332
testExecuteWithMissingDamRef 0.27

MoveUploadedContentToDamMigrationTaskTest

testDamRepoWithSubPath 0.372
testInCaseOfNoBinaryNode 0.359
testWebSiteRepoTwoBinaryNodesAndOneUploadPropertyValue 0.309
testWebSiteRepoForNoMatchingFolder 0.324
testWebSiteRepoTwoBinaryNodesAndTwoUploadPropertyValue 0.406
testDamRepo 0.3
testWebSiteRepo 0.323

DamFieldConfigTest

testDamUpload 0.003
testAssetLink 0.001

EditAssetAppConfigurationTest

testEditConfig 0
testThumbnailComponentProviderClass 0.001
testPreviewConfig 0

IconThumbnailComponentProviderTest

testCreateThumbnailComponentNullMimeType 0.007
testCreateThumbnailComponentDocumentMimeType 0.001
testCreateThumbnailComponentImageMimeType 0

ImageThumbnailComponentProviderTest

testCreateThumbnailComponentNoMimeType 0.013
testCreateThumbnailComponent 0.001
testCreateThumbnailComponentNoFile 0

DamFilePreviewComponentTest

refreshItemNPETest 0.051
refreshItemForFolderTest 0.005

DamUploadFieldFactoryTest

testGetField 0.122
testEmptyLayout 0.034
testCompletedLayout 0.04

AssetTransformerTest

populateExistingItem 0.02
createPropertyFromItem 0.006
populateNewItem 0.005

AssetUploadReceiverTest

getEditAssetAppConfiguration 0.005
updateContent 0.003
getHeight 0.003
getWidth 0.003
isImage 0.003

ImageSizeTest

testScaleToFitIfLarger 0
testGifImage 0

DamLinkImageProviderTest

testGetGeneratorImagePath 0.022