com.atlassian.crowd.manager.application
Class ApplicationServiceTestCase
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
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- ApplicationServiceApplicationAuthenticationTestCase, ApplicationServiceGroupTestCase, ApplicationServicePrincipalTestCase, ApplicationServiceUserAuthenticationTestCase
public abstract class ApplicationServiceTestCase
- extends org.jmock.MockObjectTestCase
Parent class for the ApplicationManager test cases
| 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 |
applicationService
protected ApplicationServiceGeneric applicationService
mockPermissionManager
protected org.jmock.Mock mockPermissionManager
mockDirectoryManager
protected org.jmock.Mock mockDirectoryManager
application
protected Application application
directoryMapping1
protected DirectoryMapping directoryMapping1
directoryMapping2
protected DirectoryMapping directoryMapping2
group1
protected Group group1
group1Members
protected java.util.List group1Members
group2
protected Group group2
group2Members
protected java.util.List group2Members
group3
protected Group group3
group3Members
protected java.util.List group3Members
mockRemoteDirectory1
protected org.jmock.Mock mockRemoteDirectory1
mockRemoteDirectory2
protected org.jmock.Mock mockRemoteDirectory2
directory1
protected Directory directory1
directory2
protected Directory directory2
principal1
protected User principal1
principal1Memberships
protected java.util.List principal1Memberships
principal2
protected User principal2
principal2Memberships
protected java.util.List principal2Memberships
principal3
protected User principal3
principal3Memberships
protected java.util.List principal3Memberships
duplicateGroup1
protected Group duplicateGroup1
duplicateGroup1Members
protected java.util.List duplicateGroup1Members
duplicateGroup2
protected Group duplicateGroup2
duplicateGroup2Members
protected java.util.List duplicateGroup2Members
mockApplicationDAO
protected org.jmock.Mock mockApplicationDAO
applicationName
protected final java.lang.String applicationName
- See Also:
- Constant Field Values
ApplicationServiceTestCase
public ApplicationServiceTestCase()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown in class junit.framework.TestCase
- Throws:
java.lang.Exception
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.