Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
891494.38%5.04

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.astrogrid.common.ivorn 200100.00%0.35
org.astrogrid.community.common.database.manager 800100.00%0.35
org.astrogrid.community.common.ivorn 90188.89%1.34
org.astrogrid.community.common.policy.data 500100.00%0.39
org.astrogrid.community.common.policy.manager 480197.92%1.14
org.astrogrid.community.common.security.data 100100.00%0.34
org.astrogrid.community.common.security.manager 50180.00%0.37
org.astrogrid.community.common.security.service 91177.78%0.40
org.astrogrid.community.common.service 200100.00%0.35

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

org.astrogrid.common.ivorn

ClassTestsErrorsFailuresSuccess RateTime
Success MockIvornTestCase 200100.00%0.347

org.astrogrid.community.common.database.manager

ClassTestsErrorsFailuresSuccess RateTime
Success DatabaseManagerTestCase 800100.00%0.354

org.astrogrid.community.common.ivorn

ClassTestsErrorsFailuresSuccess RateTime
Success CommunityAccountIvornFactoryTestCase 300100.00%0.305
Success CommunityIvornFactoryTestCase 200100.00%0.321
Failure CommunityIvornParserTestCase 20150.00%0.356
Success CommunityServiceIvornFactoryTestCase 200100.00%0.355

org.astrogrid.community.common.policy.data

ClassTestsErrorsFailuresSuccess RateTime
Success AccountDataTestCase 500100.00%0.389

org.astrogrid.community.common.policy.manager

ClassTestsErrorsFailuresSuccess RateTime
Success AccountManagerTestCase 1700100.00%0.398
Success GroupManagerTestCase 1700100.00%0.425
Failure ResourceManagerTestCase 140192.86%0.322

org.astrogrid.community.common.security.data

ClassTestsErrorsFailuresSuccess RateTime
Success SecurityTokenTestCase 100100.00%0.345

org.astrogrid.community.common.security.manager

ClassTestsErrorsFailuresSuccess RateTime
Failure SecurityManagerTestCase 50180.00%0.373

org.astrogrid.community.common.security.service

ClassTestsErrorsFailuresSuccess RateTime
Error SecurityServiceTestCase 91177.78%0.396

org.astrogrid.community.common.service

ClassTestsErrorsFailuresSuccess RateTime
Success CommunityServiceTestCase 200100.00%0.354

Test Cases

[ summary] [ package list] [ test cases]

MockIvornTestCase

Success testCreateSimpleIdent0.00
Success testCreateSimpleIvorn0.00

DatabaseManagerTestCase

Success testGetDatabaseName0.01
Success testDatabaseConfigResource0.00
Success testGetDatabaseScriptResource0.00
Success testGetDatabaseConfigUrl0.00
Success testGetDatabaseDescription0.00
Success testResetDatabaseTables0.01
Success testServiceStatus0.00
Success testServiceMemory0.00

CommunityAccountIvornFactoryTestCase

Success testNullParams0.01
Success testVerifySimple0.00
Success testVerifyPaths0.00

CommunityIvornFactoryTestCase

Success testNullParams0.01
Success testVerifyData0.00

CommunityIvornParserTestCase

Failure testCommunityIvorn0.04
Remainder not equal expected:<null> but was:<>
Success testLocalCommunity0.01

CommunityServiceIvornFactoryTestCase

Success testNullParams0.01
Success testVerifySimple0.01

AccountDataTestCase

Success testCreateEmpty0.01
Success testCreateValid0.00
Success testChangeValid0.00
Success testSameIdent0.00
Success testDifferentIdent0.00

AccountManagerTestCase

Success testCreateNull0.02
Success testCreateValid0.04
Success testCreateData0.00
Success testCreateDuplicate0.00
Success testGetNull0.00
Success testGetUnknown0.00
Success testGetValid0.00
Success testGetLocalAccounts0.00
Success testSetNull0.00
Success testSetUnknown0.00
Success testSetValid0.00
Success testDeleteNull0.00
Success testDeleteUnknown0.00
Success testDeleteValid0.01
Success testDeleteTwice0.00
Success testServiceStatus0.01
Success testServiceMemory0.00

GroupManagerTestCase

Success testCreateNull0.01
Success testCreateValid0.04
Success testCreateData0.00
Success testCreateDuplicate0.00
Success testGetNull0.00
Success testGetUnknown0.00
Success testGetValid0.00
Success testGetGroups0.00
Success testSetNull0.00
Success testSetUnknown0.00
Success testSetValid0.00
Success testDeleteNull0.00
Success testDeleteUnknown0.00
Success testDeleteValid0.01
Success testDeleteTwice0.00
Success testServiceStatus0.00
Success testServiceMemory0.00

ResourceManagerTestCase

Success testRegisterValid0.02
Success testGetValid0.00
Failure testGetResources0.01
Null resource array
Success testGetUnknown0.00
Success testGetNullIdent0.00
Success testSetValid0.00
Success testSetNull0.00
Success testSetNullIdent0.00
Success testSetUnknownIdent0.00
Success testDelValid0.00
Success testDelUnknown0.00
Success testDelNullIdent0.00
Success testServiceStatus0.00
Success testServiceMemory0.00

SecurityTokenTestCase

Success testConvertString0.02

SecurityManagerTestCase

Success testSetPassword0.11
Failure testSetPasswordForFalseAccount0.01
Expected some exception here. Not sure what.
Success testChangePassword0.00
Success testServiceStatus0.00
Success testServiceMemory0.00

SecurityServiceTestCase

Error testMockPassword0.04
Scheme should be ivo:
Success testCheckPassword0.02
Failure testCheckBadPassword0.00
Expected CommunitySecurityException.
Success testCheckToken0.01
Success testCheckFalseToken0.00
Success testSplitToken0.00
Success testSplitFalseToken0.00
Success testServiceStatus0.00
Success testServiceMemory0.00

CommunityServiceTestCase

Success testServiceStatus0.02
Success testServiceMemory0.00

Failure details

Failure testCommunityIvorn
Remainder not equal expected:<null> but was:<>
junit.framework.ComparisonFailure: Remainder not equal expected:<null> but was:<> at org.astrogrid.community.common.ivorn.CommunityIvornParserTestCase.testCommunityIvorn(CommunityIvornParserTestCase.java:312) at org.astrogrid.community.common.ivorn.CommunityIvornParserTestCase.testCommunityIvorn(CommunityIvornParserTestCase.java:251)
Failure testGetResources
Null resource array
junit.framework.AssertionFailedError: Null resource array at org.astrogrid.community.common.policy.manager.ResourceManagerTest.testGetResources(ResourceManagerTest.java:188)
Failure testSetPasswordForFalseAccount
Expected some exception here. Not sure what.
junit.framework.AssertionFailedError: Expected some exception here. Not sure what. at org.astrogrid.community.common.security.manager.SecurityManagerTest.testSetPasswordForFalseAccount(SecurityManagerTest.java:203)
Error testMockPassword
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.common.security.service.SecurityServiceMock.createToken(SecurityServiceMock.java:118) at org.astrogrid.community.common.security.service.SecurityServiceMock.checkPassword(SecurityServiceMock.java:207) at org.astrogrid.community.common.security.service.SecurityServiceTestCase.testMockPassword(SecurityServiceTestCase.java:99)
Failure testCheckBadPassword
Expected CommunitySecurityException.
junit.framework.AssertionFailedError: Expected CommunitySecurityException. at org.astrogrid.community.common.security.service.SecurityServiceTest.testCheckBadPassword(SecurityServiceTest.java:271)