com.atlassian.crowd.acceptance.tests.directory
Class BasicTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.test.ConditionalTestCase
              extended by org.springframework.test.AbstractSpringContextTests
                  extended by org.springframework.test.AbstractSingleSpringContextTests
                      extended by org.springframework.test.AbstractDependencyInjectionSpringContextTests
                          extended by org.springframework.test.AbstractTransactionalSpringContextTests
                              extended by org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
                                  extended by com.atlassian.crowd.acceptance.tests.directory.BaseTest
                                      extended by com.atlassian.crowd.acceptance.tests.directory.BasicTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ActiveDirectory2K3Test.AD2K3BackslashTest, ActiveDirectory2K3Test.AD2K3BasicTest, ActiveDirectory2K3Test.AD2K3ForwardslashTest, ApacheDS102Test.ApacheDS102BasicTest, ApacheDS154Test.ApacheDS154BasicTest

public abstract class BasicTest
extends BaseTest


Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.directory.BaseTest
directory, directoryManager, sessionFactory
 
Fields inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
jdbcTemplate
 
Fields inherited from class org.springframework.test.AbstractTransactionalSpringContextTests
transactionDefinition, transactionManager, transactionStatus
 
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO
 
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests
applicationContext
 
Constructor Summary
protected BasicTest()
           
protected BasicTest(java.lang.String name)
           
 
Method Summary
protected  void configureDirectory(java.util.Properties directorySettings)
          Configures a runtime Crowd object that connects to the Sun instance.
protected  java.lang.String getAutoTestDisplayName()
           
protected  java.lang.String getAutoTestDisplayName2()
           
 java.lang.String getAutoTestDisplayName3()
           
protected  java.lang.String getAutoTestFirstName()
           
protected  java.lang.String getAutoTestFirstName2()
           
 java.lang.String getAutoTestGroupDescription()
           
 java.lang.String getAutoTestGroupDescription2()
           
 java.lang.String getAutoTestGroupName()
           
 java.lang.String getAutoTestGroupName2()
           
protected  java.lang.String getAutoTestInvalidEmail()
           
protected  java.lang.String getAutoTestLastName()
           
protected  java.lang.String getAutoTestPassword()
           
protected  java.lang.String getAutoTestPassword2()
           
protected  java.lang.String getAutoTestPassword3()
           
 java.lang.String getAutoTestRoleDescription()
           
 java.lang.String getAutoTestRoleDescription2()
           
 java.lang.String getAutoTestRoleName()
           
 java.lang.String getAutoTestRoleName2()
           
protected  java.lang.String getAutoTestUserName()
           
protected  java.lang.String getAutoTestUserName2()
           
protected  java.lang.String getAutoTestValidEmail()
           
protected  java.lang.String getAutoTestValidEmail2()
           
protected  void loadTestData()
          Called before every test run to add data needed for test.
protected  void removeTestData()
          Override - called before & after every test to remove test data from directory
 void testAddGroup()
           
 void testAddGroupExisting()
           
 void testAddGroupNull()
           
 void testAddGroupWithDescription()
           
 void testAddUserExisting()
           
 void testAddUserInactive()
           
 void testAddUserNull()
           
 void testAddUserToGroup()
           
 void testAddUserToGroupBothEmpty()
           
 void testAddUserToGroupBothNull()
           
 void testAddUserToGroupNonExistentGroup()
           
 void testAddUserToGroupNonExistentUser()
           
 void testAddUserToGroupNullAndEmpty1()
           
 void testAddUserToGroupNullAndEmpty2()
           
 void testAddUserToTwoGroups()
           
 void testAddUserWithDisplayName()
           
 void testAddUserWithEmailAndPassword()
           
 void testAddUserWithEmptyPassword()
           
 void testAddUserWithFirstname()
           
 void testAddUserWithFirstnameLastnameEmailDisplayNamePassword()
           
 void testAddUserWithFirstnameLastnameEmailPassword()
           
 void testAddUserWithFirstnameNoPassword()
           
 void testAddUserWithLastnameAndPassword()
           
 void testAddUserWithLastnameNoPassword()
           
 void testAddUserWithNullPassword()
          CWD-584 - users created through JIRA work this way.
 void testAddUserWithPassword()
           
 void testAuthenticateAfterPasswordAdd()
           
 void testAuthenticateAfterPasswordUpdate()
           
 void testAuthenticateAfterUnicodePasswordUpdate()
           
 void testAuthenticateAfterUserAdd()
           
 void testAuthenticateAfterUserAddWithUnicodePassword()
           
 void testAuthenticateEmptyPassword()
           
 void testAuthenticateWithEmptyPassword()
           
 void testAuthenticateWithIncorrectPassword()
           
 void testAuthenticateWithInvalidUser()
           
 void testAuthenticateWithNullPassword()
           
 void testAuthenticateWithNullPasswordArray()
           
 void testAuthenticateWithNullPasswordCredentialInArray()
           
 void testFindGroupByName()
           
 void testFindGroupByNameEmptyString()
           
 void testFindGroupByNameNonExistent()
           
 void testFindGroupByNameNull()
           
 void testFindGroupMemberships()
           
 void testFindGroupMembershipsNoGroups()
           
 void testFindGroupMembershipsNull()
           
 void testFindRoleMembershipsNoRoles()
           
 void testFindUserByName()
           
 void testFindUserByNameDisplayNamePopulatedInLdap()
           
 void testFindUserByNameEmpty()
           
 void testFindUserByNameNonExistent()
           
 void testFindUserByNameNull()
           
 void testIsGroupMember()
           
 void testIsGroupMemberBothEmpty()
           
 void testIsGroupMemberBothNull()
           
 void testIsGroupMemberNonExistentGroup()
           
 void testIsGroupMemberNonExistentUser()
           
 void testRemoveGroup()
           
 void testRemoveGroupEmptyString()
           
 void testRemoveGroupNonExistent()
           
 void testRemoveGroupNull()
           
 void testRemoveUser()
           
 void testRemoveUserEmptyString()
           
 void testRemoveUserFromGroup()
           
 void testRemoveUserFromGroupBothEmpty()
           
 void testRemoveUserFromGroupBothNull()
           
 void testRemoveUserFromGroupNonExistentGroup()
           
 void testRemoveUserFromGroupNonExistentUser()
           
 void testRemoveUserFromGroupNullAndEmpty1()
           
 void testRemoveUserFromGroupNullAndEmpty2()
           
 void testRemoveUserFromGroupWhereThereIsNoMembership()
           
 void testRemoveUserInvalid()
           
 void testRemoveUserNull()
           
 void testSearchGroupsContainingEmptyString()
           
 void testSearchGroupsContainingNonExistentUser()
           
 void testSearchGroupsContainingNull()
           
 void testSearchGroupsContainingUser()
           
 void testSearchGroupsEmptyContext()
           
 void testSearchGroupsNameEmptyString()
           
 void testSearchGroupsNameNonExistent()
           
 void testSearchGroupsNameSingleMatch()
           
 void testSearchGroupsNameWildcardDualMatch()
           
 void testSearchGroupsNameWildcardSingleMatch()
           
 void testSearchGroupsNotContainingUser()
           
 void testSearchUsersEmailNonExistent()
           
 void testSearchUsersEmailSingleMatch()
           
 void testSearchUsersEmailWildcardDualMatch()
           
 void testSearchUsersEmailWildcardSingleMatch()
           
 void testSearchUsersEmptyContext()
           
 void testSearchUsersFullnameEmptyString()
           
 void testSearchUsersFullnameNonExistent()
           
 void testSearchUsersFullnameSingleMatch()
           
 void testSearchUsersFullnameWildcardDualMatch()
           
 void testSearchUsersFullnameWildcardSingleMatch()
           
 void testSearchUsersNameEmptyString()
           
 void testSearchUsersNameNonExistent()
           
 void testSearchUsersNameSingleMatch()
           
 void testSearchUsersNameWildcardDualMatch()
           
 void testSearchUsersNameWildcardSingleMatch()
           
 void testSearchUsersNull()
           
 void testSynchroniseUserWithNoDisplayName()
           
 void testSynchroniseUserWithNoFirstName()
           
 void testSynchroniseUserWithNoLastName()
           
 void testUpdateGroupNonExistent()
           
 void testUpdateGroupNull()
           
 void testUpdateGroupSetDescriptionFromNull()
           
 void testUpdateGroupSetDescriptionToNull()
           
 void testUpdateGroupUpdateDescription()
           
 void testUpdateUserAfterPasswordAdded()
           
 void testUpdateUserCredentialAfterNullCreation()
           
 void testUpdateUserEmail()
           
 void testUpdateUserEmailExplicitCheck()
           
 void testUpdateUserEmailInvalid()
           
 void testUpdateUserInvalidName()
           
 void testUpdateUserNull()
           
 void testUpdateUserWithNullDisplayName()
           
 void testUpdateUserWithNullFirstNameAndLastName()
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.directory.BaseTest
addGroup, addGroup, addUser, addUser, buildGroup, buildUser, buildUser, customizeBeanFactory, getConfigLocations, getDirectoryConfigFile, getRemoteDirectory, onSetUpBeforeTransaction, onSetUpInTransaction, onTearDown, removeGroup, removeRole, removeUser, setDirectoryConfigFile, setLdapPropertiesHelper, setSessionFactory, setupSpring
 
Methods inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource
 
Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests
endTransaction, onSetUp, onTearDownAfterTransaction, onTearDownInTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction
 
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
 
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests
contextKey, createApplicationContext, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, setDirty, setUp, tearDown
 
Methods inherited from class org.springframework.test.AbstractSpringContextTests
addContext, contextKeyString, getContext, hasCachedContext, setDirty
 
Methods inherited from class org.springframework.test.ConditionalTestCase
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicTest

protected BasicTest()

BasicTest

protected BasicTest(java.lang.String name)
Method Detail

configureDirectory

protected void configureDirectory(java.util.Properties directorySettings)
Description copied from class: BaseTest
Configures a runtime Crowd object that connects to the Sun instance.

Overrides:
configureDirectory in class BaseTest

loadTestData

protected void loadTestData()
Description copied from class: BaseTest
Called before every test run to add data needed for test.

Specified by:
loadTestData in class BaseTest

removeTestData

protected void removeTestData()
Override - called before & after every test to remove test data from directory

Specified by:
removeTestData in class BaseTest

testAddUserWithNullPassword

public void testAddUserWithNullPassword()
                                 throws InvalidUserException,
                                        java.rmi.RemoteException,
                                        InvalidCredentialException,
                                        OperationFailedException,
                                        UserAlreadyExistsException,
                                        DirectoryNotFoundException,
                                        UserNotFoundException
CWD-584 - users created through JIRA work this way.

Throws:
InvalidUserException
java.rmi.RemoteException
InvalidCredentialException
OperationFailedException
UserAlreadyExistsException
DirectoryNotFoundException
UserNotFoundException

testAddUserExisting

public void testAddUserExisting()
                         throws InvalidUserException,
                                java.rmi.RemoteException,
                                InvalidCredentialException,
                                OperationFailedException,
                                UserAlreadyExistsException,
                                DirectoryNotFoundException,
                                UserNotFoundException
Throws:
InvalidUserException
java.rmi.RemoteException
InvalidCredentialException
OperationFailedException
UserAlreadyExistsException
DirectoryNotFoundException
UserNotFoundException

testAddUserNull

public void testAddUserNull()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserInactive

public void testAddUserInactive()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithFirstnameNoPassword

public void testAddUserWithFirstnameNoPassword()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithFirstname

public void testAddUserWithFirstname()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithLastnameNoPassword

public void testAddUserWithLastnameNoPassword()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithLastnameAndPassword

public void testAddUserWithLastnameAndPassword()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithEmailAndPassword

public void testAddUserWithEmailAndPassword()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithDisplayName

public void testAddUserWithDisplayName()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithFirstnameLastnameEmailPassword

public void testAddUserWithFirstnameLastnameEmailPassword()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithFirstnameLastnameEmailDisplayNamePassword

public void testAddUserWithFirstnameLastnameEmailDisplayNamePassword()
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithEmptyPassword

public void testAddUserWithEmptyPassword()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateEmptyPassword

public void testAuthenticateEmptyPassword()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserCredentialAfterNullCreation

public void testUpdateUserCredentialAfterNullCreation()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateAfterPasswordAdd

public void testAuthenticateAfterPasswordAdd()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserAfterPasswordAdded

public void testUpdateUserAfterPasswordAdded()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateAfterPasswordUpdate

public void testAuthenticateAfterPasswordUpdate()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateAfterUnicodePasswordUpdate

public void testAuthenticateAfterUnicodePasswordUpdate()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserWithPassword

public void testAddUserWithPassword()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateAfterUserAdd

public void testAuthenticateAfterUserAdd()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateAfterUserAddWithUnicodePassword

public void testAuthenticateAfterUserAddWithUnicodePassword()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateWithNullPasswordArray

public void testAuthenticateWithNullPasswordArray()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateWithNullPasswordCredentialInArray

public void testAuthenticateWithNullPasswordCredentialInArray()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateWithNullPassword

public void testAuthenticateWithNullPassword()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateWithEmptyPassword

public void testAuthenticateWithEmptyPassword()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateWithIncorrectPassword

public void testAuthenticateWithIncorrectPassword()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateWithInvalidUser

public void testAuthenticateWithInvalidUser()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserNull

public void testRemoveUserNull()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserEmptyString

public void testRemoveUserEmptyString()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserInvalid

public void testRemoveUserInvalid()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUser

public void testRemoveUser()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserNull

public void testUpdateUserNull()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserInvalidName

public void testUpdateUserInvalidName()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserEmail

public void testUpdateUserEmail()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserEmailExplicitCheck

public void testUpdateUserEmailExplicitCheck()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserEmailInvalid

public void testUpdateUserEmailInvalid()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testFindUserByNameNull

public void testFindUserByNameNull()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testFindUserByNameEmpty

public void testFindUserByNameEmpty()
                             throws java.rmi.RemoteException,
                                    OperationFailedException
Throws:
java.rmi.RemoteException
OperationFailedException

testFindUserByNameNonExistent

public void testFindUserByNameNonExistent()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testFindUserByName

public void testFindUserByName()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testFindUserByNameDisplayNamePopulatedInLdap

public void testFindUserByNameDisplayNamePopulatedInLdap()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testAddGroupNull

public void testAddGroupNull()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testAddGroup

public void testAddGroup()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testAddGroupExisting

public void testAddGroupExisting()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testAddGroupWithDescription

public void testAddGroupWithDescription()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testIsGroupMemberBothNull

public void testIsGroupMemberBothNull()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testIsGroupMemberBothEmpty

public void testIsGroupMemberBothEmpty()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testIsGroupMemberNonExistentUser

public void testIsGroupMemberNonExistentUser()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testIsGroupMemberNonExistentGroup

public void testIsGroupMemberNonExistentGroup()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testIsGroupMember

public void testIsGroupMember()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsEmptyContext

public void testSearchGroupsEmptyContext()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsNameEmptyString

public void testSearchGroupsNameEmptyString()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsNameNonExistent

public void testSearchGroupsNameNonExistent()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsNameSingleMatch

public void testSearchGroupsNameSingleMatch()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsNameWildcardSingleMatch

public void testSearchGroupsNameWildcardSingleMatch()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsNameWildcardDualMatch

public void testSearchGroupsNameWildcardDualMatch()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsContainingNull

public void testSearchGroupsContainingNull()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsContainingEmptyString

public void testSearchGroupsContainingEmptyString()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsContainingNonExistentUser

public void testSearchGroupsContainingNonExistentUser()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsNotContainingUser

public void testSearchGroupsNotContainingUser()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testSearchGroupsContainingUser

public void testSearchGroupsContainingUser()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testFindGroupByNameNull

public void testFindGroupByNameNull()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testFindGroupByNameEmptyString

public void testFindGroupByNameEmptyString()
                                    throws java.rmi.RemoteException,
                                           OperationFailedException
Throws:
java.rmi.RemoteException
OperationFailedException

testFindGroupByNameNonExistent

public void testFindGroupByNameNonExistent()
                                    throws java.rmi.RemoteException,
                                           OperationFailedException
Throws:
java.rmi.RemoteException
OperationFailedException

testFindGroupByName

public void testFindGroupByName()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateGroupNull

public void testUpdateGroupNull()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateGroupNonExistent

public void testUpdateGroupNonExistent()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateGroupSetDescriptionFromNull

public void testUpdateGroupSetDescriptionFromNull()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateGroupSetDescriptionToNull

public void testUpdateGroupSetDescriptionToNull()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateGroupUpdateDescription

public void testUpdateGroupUpdateDescription()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroupNull

public void testRemoveGroupNull()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroupEmptyString

public void testRemoveGroupEmptyString()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroupNonExistent

public void testRemoveGroupNonExistent()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveGroup

public void testRemoveGroup()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersNull

public void testSearchUsersNull()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersEmptyContext

public void testSearchUsersEmptyContext()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersNameEmptyString

public void testSearchUsersNameEmptyString()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersNameNonExistent

public void testSearchUsersNameNonExistent()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersNameSingleMatch

public void testSearchUsersNameSingleMatch()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersNameWildcardSingleMatch

public void testSearchUsersNameWildcardSingleMatch()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersNameWildcardDualMatch

public void testSearchUsersNameWildcardDualMatch()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersEmailNonExistent

public void testSearchUsersEmailNonExistent()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersEmailSingleMatch

public void testSearchUsersEmailSingleMatch()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersEmailWildcardSingleMatch

public void testSearchUsersEmailWildcardSingleMatch()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersEmailWildcardDualMatch

public void testSearchUsersEmailWildcardDualMatch()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersFullnameEmptyString

public void testSearchUsersFullnameEmptyString()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersFullnameNonExistent

public void testSearchUsersFullnameNonExistent()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersFullnameSingleMatch

public void testSearchUsersFullnameSingleMatch()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersFullnameWildcardSingleMatch

public void testSearchUsersFullnameWildcardSingleMatch()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testSearchUsersFullnameWildcardDualMatch

public void testSearchUsersFullnameWildcardDualMatch()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroupBothNull

public void testAddUserToGroupBothNull()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroupNullAndEmpty1

public void testAddUserToGroupNullAndEmpty1()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroupNullAndEmpty2

public void testAddUserToGroupNullAndEmpty2()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroupBothEmpty

public void testAddUserToGroupBothEmpty()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroupNonExistentUser

public void testAddUserToGroupNonExistentUser()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroupNonExistentGroup

public void testAddUserToGroupNonExistentGroup()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToGroup

public void testAddUserToGroup()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testAddUserToTwoGroups

public void testAddUserToTwoGroups()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroupBothNull

public void testRemoveUserFromGroupBothNull()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroupNullAndEmpty1

public void testRemoveUserFromGroupNullAndEmpty1()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroupNullAndEmpty2

public void testRemoveUserFromGroupNullAndEmpty2()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroupBothEmpty

public void testRemoveUserFromGroupBothEmpty()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroupNonExistentUser

public void testRemoveUserFromGroupNonExistentUser()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroupNonExistentGroup

public void testRemoveUserFromGroupNonExistentGroup()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroupWhereThereIsNoMembership

public void testRemoveUserFromGroupWhereThereIsNoMembership()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveUserFromGroup

public void testRemoveUserFromGroup()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testFindGroupMembershipsNull

public void testFindGroupMembershipsNull()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testFindGroupMembershipsNoGroups

public void testFindGroupMembershipsNoGroups()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testFindGroupMemberships

public void testFindGroupMemberships()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserWithNullDisplayName

public void testUpdateUserWithNullDisplayName()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateUserWithNullFirstNameAndLastName

public void testUpdateUserWithNullFirstNameAndLastName()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testSynchroniseUserWithNoDisplayName

public void testSynchroniseUserWithNoDisplayName()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testSynchroniseUserWithNoLastName

public void testSynchroniseUserWithNoLastName()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testSynchroniseUserWithNoFirstName

public void testSynchroniseUserWithNoFirstName()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testFindRoleMembershipsNoRoles

public void testFindRoleMembershipsNoRoles()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getAutoTestUserName

protected java.lang.String getAutoTestUserName()

getAutoTestUserName2

protected java.lang.String getAutoTestUserName2()

getAutoTestFirstName

protected java.lang.String getAutoTestFirstName()

getAutoTestFirstName2

protected java.lang.String getAutoTestFirstName2()

getAutoTestLastName

protected java.lang.String getAutoTestLastName()

getAutoTestPassword

protected java.lang.String getAutoTestPassword()

getAutoTestPassword2

protected java.lang.String getAutoTestPassword2()

getAutoTestPassword3

protected java.lang.String getAutoTestPassword3()

getAutoTestValidEmail

protected java.lang.String getAutoTestValidEmail()

getAutoTestValidEmail2

protected java.lang.String getAutoTestValidEmail2()

getAutoTestInvalidEmail

protected java.lang.String getAutoTestInvalidEmail()

getAutoTestDisplayName

protected java.lang.String getAutoTestDisplayName()

getAutoTestDisplayName2

protected java.lang.String getAutoTestDisplayName2()

getAutoTestDisplayName3

public java.lang.String getAutoTestDisplayName3()

getAutoTestGroupName

public java.lang.String getAutoTestGroupName()

getAutoTestGroupName2

public java.lang.String getAutoTestGroupName2()

getAutoTestGroupDescription

public java.lang.String getAutoTestGroupDescription()

getAutoTestGroupDescription2

public java.lang.String getAutoTestGroupDescription2()

getAutoTestRoleName

public java.lang.String getAutoTestRoleName()

getAutoTestRoleName2

public java.lang.String getAutoTestRoleName2()

getAutoTestRoleDescription

public java.lang.String getAutoTestRoleDescription()

getAutoTestRoleDescription2

public java.lang.String getAutoTestRoleDescription2()


Copyright © 2011 Atlassian. All Rights Reserved.