magnolia-module-admininterface Version: 4.5.11 Last Published: Aug 29, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
91000100%44.528

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.module.admininterface.commands10000100%3.877
info.magnolia.module.admininterface38000100%12.268
info.magnolia.module.admininterface.dialogs4000100%0.176
info.magnolia.module.admininterface.setup2000100%3.182
info.magnolia.module.admininterface.pages16000100%4.195
info.magnolia.module.admininterface.trees18000100%19.391
info.magnolia.module.admininterface.lists3000100%1.439

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

info.magnolia.module.admininterface.commands

ClassTestsErrors FailuresSkippedSuccess RateTime
ActivationCommandTest1000100%0.025
ExtractCommentCommandTest5000100%0.021
MarkNodeAsDeletedCommandTest1000100%1.246
VersionCommandTest3000100%2.585

info.magnolia.module.admininterface

ClassTestsErrors FailuresSkippedSuccess RateTime
AdminTreeMVCHandlerTest6000100%0.476
AdminTreeMVCHandlerTitlesTest2000100%5.23
AdminTreeMVCHandlerUTF8Test7000100%0.028
DialogMVCHandlerTest3000100%0.009
DialogMVCServletTest4000100%0.002
HierarchicalUsersTreeHandlerRepositoryTest3000100%2.573
SaveHandlerImplDocTitlesTest4000100%0.006
SaveHandlerImplRepositoryTest6000100%3.927
SaveHandlerImplTest3000100%0.017

info.magnolia.module.admininterface.dialogs

ClassTestsErrors FailuresSkippedSuccess RateTime
RolesEditDialogTest3000100%0.14
UserEditDialogXssTest1000100%0.036

info.magnolia.module.admininterface.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AdminModuleVersionHandlerTest2000100%3.182

info.magnolia.module.admininterface.pages

ClassTestsErrors FailuresSkippedSuccess RateTime
AdmininterfaceXssTest4000100%0.044
ImportExportPagesTest5000100%4.046
LogViewerPageTest5000100%0.07
PermissionPageXssTest2000100%0.035

info.magnolia.module.admininterface.trees

ClassTestsErrors FailuresSkippedSuccess RateTime
ConfigTreeConfigurationTest2000100%1.204
UsersTreeConfigurationTest3000100%0.013
UsersTreeHandlerTest12000100%18.138
WebsiteTreeHandlerTest1000100%0.036

info.magnolia.module.admininterface.lists

ClassTestsErrors FailuresSkippedSuccess RateTime
VersionListTest2000100%1.433
WebsiteSearchListTest1000100%0.006

Test Cases

[Summary] [Package List] [Test Cases]

AdminTreeMVCHandlerTest

testGetSomeCommandContext0.384
testRenameNode0.078
testCopy0.004
testMove0.001
testGetActivateCommandContext0.006
testDeepCopy0.003

AdminTreeMVCHandlerTitlesTest

testDMSAdminTreeSaveEmptyTitle3.792
testDMSAdminTreeSaveTitle1.438

AdminTreeMVCHandlerUTF8Test

testGetSomeCommandContext0.01
testCopy0.002
testMove0.001
testSaveUTF8ValueCommandContext0.009
testGetActivateCommandContext0.001
testSaveValueCommandContext0.003
testDeepCopy0.002

ActivationCommandTest

testActivateNonRecursiveNoSiblings0.025

ExtractCommentCommandTest

testExecuteByPath0.015
testExecuteById0.002
testExecuteWithTemplate0.003
testExecuteWhenNodeNull0
testExecuteWhenCreationAndModificationDateAreSame0.001

MarkNodeAsDeletedCommandTest

testUpdateAuthorIdAndModificationDateWhenMarkNodeAsDelete1.246

VersionCommandTest

testHadleWithVersionCommentWhenWhenRecursiveTrue1.04
testWhenVersionCommentIsNullAndNodeAlreadyHasVersionComment0.77
testHadleWithVersionCommentWhenRecursiveFalse0.775

DialogMVCHandlerTest

testCustomValidatingSaveHandlerInvalid0.007
testCustomValidatingSaveHandlerInvalid20.001
testCustomValidatingSaveHandlerValid0.001

DialogMVCServletTest

testGetDialogNameReturnsMgnlParagraphRequestParameter0.002
testGetDialogNameReturnsEditParagraph0
testGetDialogNameReturnsMgnlDialogRequestParameter0
testGetDialogNameReturnsSelectParagraph0

RolesEditDialogTest

testPathWithSlashAtEnd0.068
testPathAlreadyEndsWithStar0.034
testMultipleACLs0.038

UserEditDialogXssTest

testUserEditDialogXss0.036

HierarchicalUsersTreeHandlerRepositoryTest

testUserNameIsChangedWhenCopyingUser0.988
testUsersCantHaveSameNamesWhenRenaming0.805
testUsersWithSameNameAreNotCreated0.78

VersionListTest

testHadleWithVersionComment0.741
testRestore0.692

WebsiteSearchListTest

testSearchWithEmptySearchString0.006

AdmininterfaceXssTest

testXmlImportXSS0.033
testDevelopmentUtilsPageXSS0.005
testXmlExportXSS0.002
testJCRUtilsPageXSS0.004

ImportExportPagesTest

testImportFileNull0.63
testExportPathDoesntExist0.666
testXmlImportExportTest1.463
testPathIsNotAbsolute0.664
testImportPathDoesntExist0.623

LogViewerPageTest

testCanDownloadFilesOnlyInLogsDirectory0.003
testCanViewFileContent0.002
testCanDownloadLogFile0.002
testCanViewFilesContentOnlyInLogsDirectory0.002
testSymlinksCanBeUsed0.061

PermissionPageXssTest

testPermissonPageGroupXSS0.033
testPermissonPageUserXSS0.002

SaveHandlerImplDocTitlesTest

testDontSetTitleInOtherRepositoryThenDMS0.005
testSetNullTitleToDocument0
testSetEmptyTitleToDocument0.001
testSetNotEmptyTitleToDocument0

SaveHandlerImplRepositoryTest

testProcessDateWhenTimeIsAllowedAndCustomDateFormatIsSpecified0.766
testProcessDateWhenTimeIsAllowed0.664
testProcessDateWhenCustomDateFormatIsSpecified0.674
testProcessDateWhenTimeIsAllowedAndCustomTimeFormatIsSpecified0.61
testProcessDateWhenCustomDateFormatIsNotSpecified0.606
testProcessDateWhenTimeIsAllowedAndCustomDateAndTimeFormatAreSpecified0.607

SaveHandlerImplTest

testUpdateLink0.015
testGetRichEditValueStrCleanExplorerPs0.001
testUpdateLinkWithSpecialCharacters0.001

AdminModuleVersionHandlerTest

testDefaultURISetOnPublicInstancesIsSetToQuickStartIfNoTemplatesExist1.756
testDefaultURISetOnAuthorInstancesIsSetToAdminCentral1.426

ConfigTreeConfigurationTest

activationOf1stAnd2ndIsEnabledForWebsiteWorkspaceTest0.606
activationOf1stAnd2ndIsDisabledForConfigWorkspaceTest0.598

UsersTreeConfigurationTest

testRootPathNull0.006
testRootSystemPath0.003
testRootPathNotNull0.004

UsersTreeHandlerTest

testRenameUserNode1.236
testDoNotCreateUsersWithSameNamesAcrossRealms1.617
testCopyFolderWithUsers2.63
testUsersAclPathsChangesCorrectlyWhenUserCopied1.082
testMoveFolderWithUsers2.417
testUserHasAccessToOwnProperties1.05
testCreateUserWhenExistInAnotherRealmAndCrossRealmDuplicateNamesAreAllowed1.457
testMoveUser1.059
testCreateUserNodeUnderFolder1.014
testRenameUserNodeUnderFolder1.06
testUsersAclPathsChangesCorrectlyWhenUsersInFolderCopied2.468
testCopyUserNodeToFolder1.048

WebsiteTreeHandlerTest

testGetHtmlTemplates0.036