com.atlassian.crowd.manager.application
Class ApplicationServicePrincipalTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
org.jmock.core.MockObjectSupportTestCase
org.jmock.MockObjectTestCase
com.atlassian.crowd.manager.application.ApplicationServiceTestCase
com.atlassian.crowd.manager.application.ApplicationServicePrincipalTestCase
- All Implemented Interfaces:
- junit.framework.Test
public class ApplicationServicePrincipalTestCase
- extends ApplicationServiceTestCase
TestCase to cover Principal based operations on the ApplicationManager
| Fields inherited from class com.atlassian.crowd.manager.application.ApplicationServiceTestCase |
application, applicationName, applicationService, directory1, directory2, directoryMapping1, directoryMapping2, duplicateGroup1, duplicateGroup1Members, duplicateGroup2, duplicateGroup2Members, group1, group1Members, group2, group2Members, group3, group3Members, mockApplicationDAO, mockDirectoryManager, mockPermissionManager, mockRemoteDirectory1, mockRemoteDirectory2, principal1, principal1Memberships, principal2, principal2Memberships, principal3, principal3Memberships |
| Fields inherited from class org.jmock.core.MockObjectSupportTestCase |
ANYTHING, NOT_NULL, NULL |
| Methods inherited from class org.jmock.MockObjectTestCase |
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newCoreMock, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException |
| Methods inherited from class org.jmock.core.MockObjectSupportTestCase |
and, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, newDummy, newDummy, newDummy, not, or, same, startsWith, stringContains, toString |
| Methods inherited from class org.jmock.core.VerifyingTestCase |
registerToVerify, runBare, unregisterToVerify, verify |
| 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 |
ApplicationServicePrincipalTestCase
public ApplicationServicePrincipalTestCase()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp in class ApplicationServiceTestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown in class ApplicationServiceTestCase
- Throws:
java.lang.Exception
teststoreUserAttributes_WithErrorInUnderlyingDirectory
public void teststoreUserAttributes_WithErrorInUnderlyingDirectory()
throws java.lang.Exception
- Throws:
java.lang.Exception
teststoreUserAttributes_WithNoApplicationPermissions
public void teststoreUserAttributes_WithNoApplicationPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStoreUserAttributes_WherePrincipalDoesNotExist
public void testStoreUserAttributes_WherePrincipalDoesNotExist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStoreUserAttributes
public void testStoreUserAttributes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddUser_WithErrorInUnderlyingDirectory
public void testAddUser_WithErrorInUnderlyingDirectory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddUser_WithNoApplicationPermissions
public void testAddUser_WithNoApplicationPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddUser
public void testAddUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddUser_UserAlreadyExists
public void testAddUser_UserAlreadyExists()
throws java.lang.Exception
- Throws:
java.lang.Exception
testfindUserByName_WithErrorInUnderlyingDirectory
public void testfindUserByName_WithErrorInUnderlyingDirectory()
throws java.rmi.RemoteException,
DirectoryAccessException
- Throws:
java.rmi.RemoteException
DirectoryAccessException
testfindUserByName
public void testfindUserByName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUserAttribute_WithErrorInUnderlyingDirectory
public void testRemoveUserAttribute_WithErrorInUnderlyingDirectory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUserAttribute_WithNoApplicationPermissions
public void testRemoveUserAttribute_WithNoApplicationPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUserAttribute_WherePrincipalDoesNotExist
public void testRemoveUserAttribute_WherePrincipalDoesNotExist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUserAttribute
public void testRemoveUserAttribute()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUser_WithErrorInUnderlyingDirectory
public void testRemoveUser_WithErrorInUnderlyingDirectory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUser_WithNoApplicationPermissions
public void testRemoveUser_WithNoApplicationPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUser_WherePrincipalDoesNotExist
public void testRemoveUser_WherePrincipalDoesNotExist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUser
public void testRemoveUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
testResetUserCredential_WithErrorInUnderlyingDirectory
public void testResetUserCredential_WithErrorInUnderlyingDirectory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testResetUserCredential_WithNoApplicationPermissions
public void testResetUserCredential_WithNoApplicationPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testResetUserCredential_WherePrincipalDoesNotExist
public void testResetUserCredential_WherePrincipalDoesNotExist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testResetUserCredential
public void testResetUserCredential()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSearchUsers_WithErrorInUnderlyingDirectory
public void testSearchUsers_WithErrorInUnderlyingDirectory()
testSearchUsers_indexOutOfBounds
public void testSearchUsers_indexOutOfBounds()
throws DirectoryAccessException
- Throws:
DirectoryAccessException
testSearchUsers
public void testSearchUsers()
throws DirectoryAccessException
- Throws:
DirectoryAccessException
testUpdateUserAttribute_WithErrorInUnderlyingDirectory
public void testUpdateUserAttribute_WithErrorInUnderlyingDirectory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateUserAttribute_WithNoApplicationPermissions
public void testUpdateUserAttribute_WithNoApplicationPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateUserAttribute_WherePrincipalDoesNotExist
public void testUpdateUserAttribute_WherePrincipalDoesNotExist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateUserAttribute
public void testUpdateUserAttribute()
throws java.lang.Exception
- Throws:
java.lang.Exception
testupdateUserCredential_WithErrorInUnderlyingDirectory
public void testupdateUserCredential_WithErrorInUnderlyingDirectory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testupdateUserCredential_WithNoApplicationPermissions
public void testupdateUserCredential_WithNoApplicationPermissions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testupdateUserCredential_WherePrincipalDoesNotExist
public void testupdateUserCredential_WherePrincipalDoesNotExist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testupdateUserCredential
public void testupdateUserCredential()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.