org.edg.security.voms.service.admin
Class VOMSAdminSoapBindingImplTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.edg.security.voms.service.admin.VOMSAdminSoapBindingImplTest
- All Implemented Interfaces:
- junit.framework.Test
- public class VOMSAdminSoapBindingImplTest
- extends junit.framework.TestCase
Unit test cases for the VOMSAdminSoapBindingImpl class.
- Version:
- $Name: v0_7_0 $
- Author:
- Karoly Lorentey, Akos Frohner
- See Also:
VOMSAdminSoapBindingImpl
Fields inherited from class junit.framework.TestCase |
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
private static org.apache.log4j.Logger log
v
private VOMSAdminSoapBindingImpl v
voName
private java.lang.String voName
newGroupName
private java.lang.String newGroupName
rootGroupName
private java.lang.String rootGroupName
newCAName
private static final java.lang.String newCAName
- See Also:
- Constant Field Values
VOMSAdminSoapBindingImplTest
public VOMSAdminSoapBindingImplTest(java.lang.String name)
suite
public static junit.framework.Test suite()
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
java.lang.Exception
setAuthzTest
public void setAuthzTest(java.lang.String clientName,
java.lang.String clientIssuer,
java.lang.String[] attributes)
tearDown
public void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
java.lang.Exception
compareACLs
public boolean compareACLs(ACLEntry[] acl1,
ACLEntry[] acl2)
throws java.lang.Exception
java.lang.Exception
test000startService
public void test000startService()
throws java.lang.Exception
java.lang.Exception
test001databaseQuery
public void test001databaseQuery()
throws java.lang.Exception
java.lang.Exception
test002databaseBootstrapCA
public void test002databaseBootstrapCA()
throws java.lang.Exception
java.lang.Exception
test003databaseVOGroup
public void test003databaseVOGroup()
throws java.lang.Exception
java.lang.Exception
test004databaseBootstrapAdmin
public void test004databaseBootstrapAdmin()
throws java.lang.Exception
java.lang.Exception
test002containerNamingScheme
public void test002containerNamingScheme()
throws java.lang.Exception
java.lang.Exception
test006VOGroupName
public void test006VOGroupName()
throws java.lang.Exception
java.lang.Exception
test007getVOName
public void test007getVOName()
throws java.lang.Exception
java.lang.Exception
test008listCAsHasVirtualCA
public void test008listCAsHasVirtualCA()
throws java.lang.Exception
java.lang.Exception
test009createTestCA
public void test009createTestCA()
throws java.lang.Exception
java.lang.Exception
test010createTestUser
public void test010createTestUser()
throws java.lang.Exception
java.lang.Exception
test011getUser
public void test011getUser()
throws java.lang.Exception
java.lang.Exception
test012setUser
public void test012setUser()
throws java.lang.Exception
java.lang.Exception
test013checkSetUser
public void test013checkSetUser()
throws java.lang.Exception
java.lang.Exception
test012createUserAuthzErrorWithKnownUser
public void test012createUserAuthzErrorWithKnownUser()
throws java.lang.Exception
java.lang.Exception
test013createUserAuthzErrorWithUnknownUser
public void test013createUserAuthzErrorWithUnknownUser()
throws java.lang.Exception
java.lang.Exception
test014getUserAuthzErrorWithKnownUser
public void test014getUserAuthzErrorWithKnownUser()
throws java.lang.Exception
java.lang.Exception
test014getUserAuthzErrorWithUnknownUser
public void test014getUserAuthzErrorWithUnknownUser()
throws java.lang.Exception
java.lang.Exception
test015createUserWithUnknownCA
public void test015createUserWithUnknownCA()
throws java.lang.Exception
java.lang.Exception
test016createUserWithNullCA
public void test016createUserWithNullCA()
throws java.lang.Exception
java.lang.Exception
test017checkThatNewUserIsInVOGroup
public void test017checkThatNewUserIsInVOGroup()
throws java.lang.Exception
java.lang.Exception
test030createSomeMoreTestUsers
public void test030createSomeMoreTestUsers()
throws java.lang.Exception
java.lang.Exception
test031checkSomeMoreTestUsers
public void test031checkSomeMoreTestUsers()
throws java.lang.Exception
java.lang.Exception
test040createBadGroupsVOGroup
public void test040createBadGroupsVOGroup()
throws java.lang.Exception
java.lang.Exception
test041createBadGroupsBogusName
public void test041createBadGroupsBogusName()
throws java.lang.Exception
java.lang.Exception
test042createBadGroupsWithoutParent
public void test042createBadGroupsWithoutParent()
throws java.lang.Exception
java.lang.Exception
test043createBadGroupsNullName
public void test043createBadGroupsNullName()
throws java.lang.Exception
java.lang.Exception
test044createBadGroupWithNullParent
public void test044createBadGroupWithNullParent()
throws java.lang.Exception
java.lang.Exception
test045failingCreateGroupAsTestUser
public void test045failingCreateGroupAsTestUser()
throws java.lang.Exception
java.lang.Exception
test046allowTestuserToCreateGroup
public void test046allowTestuserToCreateGroup()
throws java.lang.Exception
java.lang.Exception
test047createGroupAsTestUser
public void test047createGroupAsTestUser()
throws java.lang.Exception
java.lang.Exception
test048checkACL
public void test048checkACL()
throws java.lang.Exception
java.lang.Exception
test049cleanupAfterNewGroupACL
public void test049cleanupAfterNewGroupACL()
throws java.lang.Exception
java.lang.Exception
test050cleanUpGoodGroup
public void test050cleanUpGoodGroup()
throws java.lang.Exception
java.lang.Exception
test051createGoodGroup
public void test051createGoodGroup()
throws java.lang.Exception
java.lang.Exception
test052checkGoodGroup
public void test052checkGoodGroup()
throws java.lang.Exception
java.lang.Exception
test053deleteGoodGroup
public void test053deleteGoodGroup()
throws java.lang.Exception
java.lang.Exception
test054checkDeletedGroup
public void test054checkDeletedGroup()
throws java.lang.Exception
java.lang.Exception
test055createGoodGroupWithNullParent
public void test055createGoodGroupWithNullParent()
throws java.lang.Exception
java.lang.Exception
test056checkGoodGroupWithNullParent
public void test056checkGoodGroupWithNullParent()
throws java.lang.Exception
java.lang.Exception
test057createBogusSubgroup
public void test057createBogusSubgroup()
throws java.lang.Exception
java.lang.Exception
test060createNestedGroups
public void test060createNestedGroups()
throws java.lang.Exception
java.lang.Exception
test100createRoleWithBogusName
public void test100createRoleWithBogusName()
throws java.lang.Exception
java.lang.Exception
test101createRoleWithNullName
public void test101createRoleWithNullName()
throws java.lang.Exception
java.lang.Exception
test102createRoleWithVOGroupName
public void test102createRoleWithVOGroupName()
throws java.lang.Exception
java.lang.Exception
test103createAGoodRole
public void test103createAGoodRole()
throws java.lang.Exception
java.lang.Exception
test104checkNewRole
public void test104checkNewRole()
throws java.lang.Exception
java.lang.Exception
test105createAnotherRoleWithTheSameName
public void test105createAnotherRoleWithTheSameName()
throws java.lang.Exception
java.lang.Exception
test106listUsersWithNonexistentRole
public void test106listUsersWithNonexistentRole()
throws java.lang.Exception
java.lang.Exception
test107listUsersWithEmptyRole
public void test107listUsersWithEmptyRole()
throws java.lang.Exception
java.lang.Exception
test108listUsersWithBogusRole
public void test108listUsersWithBogusRole()
throws java.lang.Exception
java.lang.Exception
test109listUsersWithNullRole
public void test109listUsersWithNullRole()
throws java.lang.Exception
java.lang.Exception
test150assignNullRole
public void test150assignNullRole()
throws java.lang.Exception
java.lang.Exception
test151assignRoleToNullUser
public void test151assignRoleToNullUser()
throws java.lang.Exception
java.lang.Exception
test152assignRoleToUnknownUser
public void test152assignRoleToUnknownUser()
throws java.lang.Exception
java.lang.Exception
test153assignRoleToUserWithUnknownCA
public void test153assignRoleToUserWithUnknownCA()
throws java.lang.Exception
java.lang.Exception
test154assignRoleToGoodUser
public void test154assignRoleToGoodUser()
throws java.lang.Exception
java.lang.Exception
test155listUsersWithRoleReturnsOnlyTestUser
public void test155listUsersWithRoleReturnsOnlyTestUser()
throws java.lang.Exception
java.lang.Exception
test156roleWithContentsCannotBeDeleted
public void test156roleWithContentsCannotBeDeleted()
throws java.lang.Exception
java.lang.Exception
test157dismissRoleFromAUserWithoutThatRole
public void test157dismissRoleFromAUserWithoutThatRole()
throws java.lang.Exception
java.lang.Exception
test158dismissRoleFromTestUserFromAnotherGroup
public void test158dismissRoleFromTestUserFromAnotherGroup()
throws java.lang.Exception
java.lang.Exception
test159dismissRoleWithBadCA
public void test159dismissRoleWithBadCA()
throws java.lang.Exception
java.lang.Exception
test160dismissRoleCorrectly
public void test160dismissRoleCorrectly()
throws java.lang.Exception
java.lang.Exception
test161checkDismissRole
public void test161checkDismissRole()
throws java.lang.Exception
java.lang.Exception
test162assignRoleInTestGroup
public void test162assignRoleInTestGroup()
throws java.lang.Exception
java.lang.Exception
test163assignRoleInSubGroup
public void test163assignRoleInSubGroup()
throws java.lang.Exception
java.lang.Exception
test164listUsersWithRoleInVOGroup
public void test164listUsersWithRoleInVOGroup()
throws java.lang.Exception
java.lang.Exception
test165listUsersWithRoleInRootGroup
public void test165listUsersWithRoleInRootGroup()
throws java.lang.Exception
java.lang.Exception
test166listUsersWithRoleInSubGroup
public void test166listUsersWithRoleInSubGroup()
throws java.lang.Exception
java.lang.Exception
test167dismissRoleFromParentGroup
public void test167dismissRoleFromParentGroup()
throws java.lang.Exception
java.lang.Exception
test168listUsersWithRoleInSubGroup
public void test168listUsersWithRoleInSubGroup()
throws java.lang.Exception
java.lang.Exception
test169listUsersWithRoleInRootGroup
public void test169listUsersWithRoleInRootGroup()
throws java.lang.Exception
java.lang.Exception
test170deleteRoleWithUsersInSubgroup
public void test170deleteRoleWithUsersInSubgroup()
throws java.lang.Exception
java.lang.Exception
test171removeUserFromRoleInSubGroup
public void test171removeUserFromRoleInSubGroup()
throws java.lang.Exception
java.lang.Exception
test172assignRoleToGoodUserTwice
public void test172assignRoleToGoodUserTwice()
throws java.lang.Exception
java.lang.Exception
test200addMember
public void test200addMember()
throws java.lang.Exception
java.lang.Exception
test210listMembers
public void test210listMembers()
throws java.lang.Exception
java.lang.Exception
test290removeMember
public void test290removeMember()
throws java.lang.Exception
java.lang.Exception
test300getACLForVOGroup
public void test300getACLForVOGroup()
throws java.lang.Exception
java.lang.Exception
test301getDefaultACLForVOGroup
public void test301getDefaultACLForVOGroup()
throws java.lang.Exception
java.lang.Exception
test302compareACLs
public void test302compareACLs()
throws java.lang.Exception
java.lang.Exception
test302testACLFunctionality
public void test302testACLFunctionality()
throws java.lang.Exception
java.lang.Exception
test303addACLEntryForTestGroup
public void test303addACLEntryForTestGroup()
throws java.lang.Exception
java.lang.Exception
test304checkAddedEntry
public void test304checkAddedEntry()
throws java.lang.Exception
java.lang.Exception
test305explicitCheckForEntry
public void test305explicitCheckForEntry()
throws java.lang.Exception
java.lang.Exception
test306checkACLFunctionality
public void test306checkACLFunctionality()
throws java.lang.Exception
java.lang.Exception
test307removeACLEntry
public void test307removeACLEntry()
throws java.lang.Exception
java.lang.Exception
test308compareACLs
public void test308compareACLs()
throws java.lang.Exception
java.lang.Exception
test309testACLFunctionality
public void test309testACLFunctionality()
throws java.lang.Exception
java.lang.Exception
test310addRoleACLEntryForTestGroup
public void test310addRoleACLEntryForTestGroup()
throws java.lang.Exception
java.lang.Exception
test311testRoleACLFunctionality
public void test311testRoleACLFunctionality()
throws java.lang.Exception
java.lang.Exception
test312assignRoleForRoleACL
public void test312assignRoleForRoleACL()
throws java.lang.Exception
java.lang.Exception
test313checkRoleACLFunctionality
public void test313checkRoleACLFunctionality()
throws java.lang.Exception
java.lang.Exception
test314getAdminUsersFromRoleACL
public void test314getAdminUsersFromRoleACL()
throws java.lang.Exception
java.lang.Exception
test315dismissRoleForRoleACL
public void test315dismissRoleForRoleACL()
throws java.lang.Exception
java.lang.Exception
test316removeRoleACLEntry
public void test316removeRoleACLEntry()
throws java.lang.Exception
java.lang.Exception
test317testRoleACLFunctionality
public void test317testRoleACLFunctionality()
throws java.lang.Exception
java.lang.Exception
test800deleteRole
public void test800deleteRole()
throws java.lang.Exception
java.lang.Exception
test801checkDeletedRole
public void test801checkDeletedRole()
throws java.lang.Exception
java.lang.Exception
test802deleteNonexistentRole
public void test802deleteNonexistentRole()
throws java.lang.Exception
java.lang.Exception
test803deleteBogusRole
public void test803deleteBogusRole()
throws java.lang.Exception
java.lang.Exception
test804deleteNullRole
public void test804deleteNullRole()
throws java.lang.Exception
java.lang.Exception
test900deleteNestedGroups
public void test900deleteNestedGroups()
throws java.lang.Exception
java.lang.Exception
test910deleteGroup
public void test910deleteGroup()
throws java.lang.Exception
java.lang.Exception
test920deleteTestUser
public void test920deleteTestUser()
throws java.lang.Exception
java.lang.Exception
test930deleteMoreTestUsers
public void test930deleteMoreTestUsers()
throws java.lang.Exception
java.lang.Exception
test951threading
public void test951threading()
throws java.lang.Exception
java.lang.Exception
test999stopService
public void test999stopService()
throws java.lang.Exception
java.lang.Exception