magnolia-module-admininterface Version: 4.5.11-MAGNOLIA-5423 Last Published: Nov 2, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
91000100%44.336

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.961
info.magnolia.module.admininterface38000100%11.895
info.magnolia.module.admininterface.dialogs4000100%0.171
info.magnolia.module.admininterface.setup2000100%3.076
info.magnolia.module.admininterface.pages16000100%4.301
info.magnolia.module.admininterface.trees18000100%19.511
info.magnolia.module.admininterface.lists3000100%1.421

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.035
ExtractCommentCommandTest5000100%0.021
MarkNodeAsDeletedCommandTest1000100%1.437
VersionCommandTest3000100%2.468

info.magnolia.module.admininterface

ClassTestsErrors FailuresSkippedSuccess RateTime
AdminTreeMVCHandlerTest6000100%0.452
AdminTreeMVCHandlerTitlesTest2000100%4.967
AdminTreeMVCHandlerUTF8Test7000100%0.029
DialogMVCHandlerTest3000100%0.011
DialogMVCServletTest4000100%0.003
HierarchicalUsersTreeHandlerRepositoryTest3000100%2.551
SaveHandlerImplDocTitlesTest4000100%0.006
SaveHandlerImplRepositoryTest6000100%3.86
SaveHandlerImplTest3000100%0.016

info.magnolia.module.admininterface.dialogs

ClassTestsErrors FailuresSkippedSuccess RateTime
RolesEditDialogTest3000100%0.142
UserEditDialogXssTest1000100%0.029

info.magnolia.module.admininterface.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AdminModuleVersionHandlerTest2000100%3.076

info.magnolia.module.admininterface.pages

ClassTestsErrors FailuresSkippedSuccess RateTime
AdmininterfaceXssTest4000100%0.041
ImportExportPagesTest5000100%3.945
LogViewerPageTest5000100%0.284
PermissionPageXssTest2000100%0.031

info.magnolia.module.admininterface.trees

ClassTestsErrors FailuresSkippedSuccess RateTime
ConfigTreeConfigurationTest2000100%1.534
UsersTreeConfigurationTest3000100%0.013
UsersTreeHandlerTest12000100%17.934
WebsiteTreeHandlerTest1000100%0.03

info.magnolia.module.admininterface.lists

ClassTestsErrors FailuresSkippedSuccess RateTime
VersionListTest2000100%1.415
WebsiteSearchListTest1000100%0.006

Test Cases

[Summary] [Package List] [Test Cases]

AdminTreeMVCHandlerTest

testGetSomeCommandContext0.357
testRenameNode0.081
testCopy0.004
testMove0.001
testGetActivateCommandContext0.006
testDeepCopy0.003

AdminTreeMVCHandlerTitlesTest

testDMSAdminTreeSaveEmptyTitle3.841
testDMSAdminTreeSaveTitle1.126

AdminTreeMVCHandlerUTF8Test

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

ActivationCommandTest

testActivateNonRecursiveNoSiblings0.035

ExtractCommentCommandTest

testExecuteByPath0.016
testExecuteById0.002
testExecuteWithTemplate0.002
testExecuteWhenNodeNull0
testExecuteWhenCreationAndModificationDateAreSame0.001

MarkNodeAsDeletedCommandTest

testUpdateAuthorIdAndModificationDateWhenMarkNodeAsDelete1.437

VersionCommandTest

testHadleWithVersionCommentWhenWhenRecursiveTrue0.92
testWhenVersionCommentIsNullAndNodeAlreadyHasVersionComment0.777
testHadleWithVersionCommentWhenRecursiveFalse0.771

DialogMVCHandlerTest

testCustomValidatingSaveHandlerInvalid0.008
testCustomValidatingSaveHandlerInvalid20.001
testCustomValidatingSaveHandlerValid0.002

DialogMVCServletTest

testGetDialogNameReturnsMgnlParagraphRequestParameter0.002
testGetDialogNameReturnsEditParagraph0
testGetDialogNameReturnsMgnlDialogRequestParameter0.001
testGetDialogNameReturnsSelectParagraph0

RolesEditDialogTest

testPathWithSlashAtEnd0.077
testPathAlreadyEndsWithStar0.034
testMultipleACLs0.031

UserEditDialogXssTest

testUserEditDialogXss0.029

HierarchicalUsersTreeHandlerRepositoryTest

testUserNameIsChangedWhenCopyingUser0.986
testUsersCantHaveSameNamesWhenRenaming0.801
testUsersWithSameNameAreNotCreated0.764

VersionListTest

testHadleWithVersionComment0.715
testRestore0.7

WebsiteSearchListTest

testSearchWithEmptySearchString0.006

AdmininterfaceXssTest

testXmlImportXSS0.031
testDevelopmentUtilsPageXSS0.005
testXmlExportXSS0.002
testJCRUtilsPageXSS0.003

ImportExportPagesTest

testImportFileNull0.623
testExportPathDoesntExist0.625
testXmlImportExportTest1.439
testPathIsNotAbsolute0.635
testImportPathDoesntExist0.623

LogViewerPageTest

testCanDownloadFilesOnlyInLogsDirectory0.003
testCanViewFileContent0.002
testCanDownloadLogFile0.002
testCanViewFilesContentOnlyInLogsDirectory0.001
testSymlinksCanBeUsed0.276

PermissionPageXssTest

testPermissonPageGroupXSS0.029
testPermissonPageUserXSS0.002

SaveHandlerImplDocTitlesTest

testDontSetTitleInOtherRepositoryThenDMS0.005
testSetNullTitleToDocument0
testSetEmptyTitleToDocument0
testSetNotEmptyTitleToDocument0.001

SaveHandlerImplRepositoryTest

testProcessDateWhenTimeIsAllowedAndCustomDateFormatIsSpecified0.762
testProcessDateWhenTimeIsAllowed0.627
testProcessDateWhenCustomDateFormatIsSpecified0.628
testProcessDateWhenTimeIsAllowedAndCustomTimeFormatIsSpecified0.651
testProcessDateWhenCustomDateFormatIsNotSpecified0.591
testProcessDateWhenTimeIsAllowedAndCustomDateAndTimeFormatAreSpecified0.601

SaveHandlerImplTest

testUpdateLink0.014
testGetRichEditValueStrCleanExplorerPs0.001
testUpdateLinkWithSpecialCharacters0.001

AdminModuleVersionHandlerTest

testDefaultURISetOnPublicInstancesIsSetToQuickStartIfNoTemplatesExist1.718
testDefaultURISetOnAuthorInstancesIsSetToAdminCentral1.358

ConfigTreeConfigurationTest

activationOf1stAnd2ndIsEnabledForWebsiteWorkspaceTest0.766
activationOf1stAnd2ndIsDisabledForConfigWorkspaceTest0.768

UsersTreeConfigurationTest

testRootPathNull0.006
testRootSystemPath0.003
testRootPathNotNull0.004

UsersTreeHandlerTest

testRenameUserNode1.358
testDoNotCreateUsersWithSameNamesAcrossRealms1.578
testCopyFolderWithUsers2.507
testUsersAclPathsChangesCorrectlyWhenUserCopied1.068
testMoveFolderWithUsers2.419
testUserHasAccessToOwnProperties1.022
testCreateUserWhenExistInAnotherRealmAndCrossRealmDuplicateNamesAreAllowed1.443
testMoveUser1.033
testCreateUserNodeUnderFolder1.015
testRenameUserNodeUnderFolder1.026
testUsersAclPathsChangesCorrectlyWhenUsersInFolderCopied2.422
testCopyUserNodeToFolder1.043

WebsiteTreeHandlerTest

testGetHtmlTemplates0.03