Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
1271297.64%59.00

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.astrogrid.community.server.database.manager 800100.00%1.56
org.astrogrid.community.server.policy.manager 6800100.00%11.04
org.astrogrid.community.server.security.manager 51080.00%1.56
org.astrogrid.community.server.security.service 800100.00%1.97
org.astrogrid.community.service.database.manager 800100.00%4.78
org.astrogrid.community.service.policy.manager 1700100.00%12.50
org.astrogrid.community.service.security.manager 500100.00%6.46
org.astrogrid.community.service.security.service 80275.00%19.13

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

org.astrogrid.community.server.database.manager

ClassTestsErrorsFailuresSuccess RateTime
Success DatabaseManagerTestCase 800100.00%1.559

org.astrogrid.community.server.policy.manager

ClassTestsErrorsFailuresSuccess RateTime
Success AccountManagerTestCase 1700100.00%2.623
Success GroupManagerTestCase 1700100.00%2.169
Success GroupMemberManagerTestCase 1000100.00%2.071
Success PermissionManagerTestCase 1000100.00%2.116
Success ResourceManagerTestCase 1400100.00%2.060

org.astrogrid.community.server.security.manager

ClassTestsErrorsFailuresSuccess RateTime
Error SecurityManagerTestCase 51080.00%1.559

org.astrogrid.community.server.security.service

ClassTestsErrorsFailuresSuccess RateTime
Success SecurityServiceTestCase 800100.00%1.966

org.astrogrid.community.service.database.manager

ClassTestsErrorsFailuresSuccess RateTime
Success DatabaseManagerServiceTestCase 800100.00%4.777

org.astrogrid.community.service.policy.manager

ClassTestsErrorsFailuresSuccess RateTime
Success PolicyManagerServiceTestCase 1700100.00%12.505

org.astrogrid.community.service.security.manager

ClassTestsErrorsFailuresSuccess RateTime
Success SecurityManagerServiceTestCase 500100.00%6.459

org.astrogrid.community.service.security.service

ClassTestsErrorsFailuresSuccess RateTime
Failure SecurityServiceServiceTestCase 80275.00%19.132

Test Cases

[ summary] [ package list] [ test cases]

DatabaseManagerTestCase

Success testGetDatabaseName0.87
Success testDatabaseConfigResource0.04
Success testGetDatabaseScriptResource0.05
Success testGetDatabaseConfigUrl0.04
Success testGetDatabaseDescription0.03
Success testResetDatabaseTables0.15
Success testServiceStatus0.02
Success testServiceMemory0.02

AccountManagerTestCase

Success testCreateNull1.13
Success testCreateValid0.07
Success testCreateData0.04
Success testCreateDuplicate0.13
Success testGetNull0.02
Success testGetUnknown0.04
Success testGetValid0.04
Success testGetLocalAccounts0.13
Success testSetNull0.04
Success testSetUnknown0.05
Success testSetValid0.26
Success testDeleteNull0.02
Success testDeleteUnknown0.03
Success testDeleteValid0.06
Success testDeleteTwice0.13
Success testServiceStatus0.04
Success testServiceMemory0.02

GroupManagerTestCase

Success testCreateNull0.94
Success testCreateValid0.07
Success testCreateData0.04
Success testCreateDuplicate0.12
Success testGetNull0.03
Success testGetUnknown0.04
Success testGetValid0.03
Success testGetGroups0.08
Success testSetNull0.08
Success testSetUnknown0.06
Success testSetValid0.07
Success testDeleteNull0.04
Success testDeleteUnknown0.02
Success testDeleteValid0.05
Success testDeleteTwice0.11
Success testServiceStatus0.04
Success testServiceMemory0.02

GroupMemberManagerTestCase

Success testCreateNull0.95
Success testCreateValid0.10
Success testCreateDuplicate0.21
Success testGetGroupMembers0.08
Success testGetGroupMembersForGroup0.14
Success testDeleteNull0.02
Success testDeleteValid0.12
Success testDeleteNonExistent0.05
Success testServiceStatus0.03
Success testServiceMemory0.02

PermissionManagerTestCase

Success testCreateInvalidPermission0.98
Success testCreateValidPermission0.10
Success testGetValidPermission0.15
Success testSetValidPermission0.11
Success testSetDuplicatePermission0.09
Success testDelValidPermission0.13
Success testDelNonExistentPermission0.06
Success testGetPermissionsList0.13
Success testServiceStatus0.10
Success testServiceMemory0.02

ResourceManagerTestCase

Success testRegisterValid1.03
Success testGetValid0.04
Success testGetResources0.10
Success testGetUnknown0.10
Success testGetNullIdent0.15
Success testSetValid0.05
Success testSetNull0.02
Success testSetNullIdent0.03
Success testSetUnknownIdent0.09
Success testDelValid0.07
Success testDelUnknown0.03
Success testDelNullIdent0.02
Success testServiceStatus0.02
Success testServiceMemory0.03

SecurityManagerTestCase

Success testSetPassword1.04
Error testSetPasswordForFalseAccount0.05
Scheme should be ivo:
Success testChangePassword0.04
Success testServiceStatus0.10
Success testServiceMemory0.02

SecurityServiceTestCase

Success testCheckPassword1.06
Success testCheckBadPassword0.04
Success testCheckToken0.13
Success testCheckFalseToken0.07
Success testSplitToken0.27
Success testSplitFalseToken0.05
Success testServiceStatus0.02
Success testServiceMemory0.02

DatabaseManagerServiceTestCase

Success testGetDatabaseName2.08
Success testDatabaseConfigResource0.29
Success testGetDatabaseScriptResource0.36
Success testGetDatabaseConfigUrl0.24
Success testGetDatabaseDescription0.25
Success testResetDatabaseTables0.70
Success testServiceStatus0.28
Success testServiceMemory0.25

PolicyManagerServiceTestCase

Success testCreateNull3.01
Success testCreateValid0.75
Success testCreateData0.59
Success testCreateDuplicate0.67
Success testGetNull0.59
Success testGetUnknown0.48
Success testGetValid0.51
Success testGetLocalAccounts0.76
Success testSetNull0.53
Success testSetUnknown0.61
Success testSetValid0.68
Success testDeleteNull0.46
Success testDeleteUnknown0.47
Success testDeleteValid0.58
Success testDeleteTwice0.65
Success testServiceStatus0.42
Success testServiceMemory0.43

SecurityManagerServiceTestCase

Success testSetPassword3.27
Success testSetPasswordForFalseAccount0.94
Success testChangePassword0.88
Success testServiceStatus0.46
Success testServiceMemory0.59

SecurityServiceServiceTestCase

Success testCheckPassword11.72
Success testCheckBadPassword1.16
Failure testCheckToken1.19
Original token still valid
Success testCheckFalseToken1.32
Failure testSplitToken1.28
Original token still valid
Success testSplitFalseToken1.07
Success testServiceStatus0.58
Success testServiceMemory0.46

Failure details

Error testSetPasswordForFalseAccount
Scheme should be ivo:
java.lang.AssertionError: Scheme should be ivo: at org.astrogrid.store.Ivorn.<init>(Ivorn.java:53) at org.astrogrid.community.common.ivorn.CommunityIvornParser.parse(CommunityIvornParser.java:646) at org.astrogrid.community.common.ivorn.CommunityIvornParser.<init>(CommunityIvornParser.java:94) at org.astrogrid.community.server.security.manager.SecurityManagerImpl.setPassword(SecurityManagerImpl.java:140) at org.astrogrid.community.common.security.manager.SecurityManagerTest.testSetPasswordForFalseAccount(SecurityManagerTest.java:202)
Failure testCheckToken
Original token still valid
junit.framework.AssertionFailedError: Original token still valid at org.astrogrid.community.common.security.service.SecurityServiceTest.testCheckToken(SecurityServiceTest.java:394)
Failure testSplitToken
Original token still valid
junit.framework.AssertionFailedError: Original token still valid at org.astrogrid.community.common.security.service.SecurityServiceTest.testSplitToken(SecurityServiceTest.java:655)