com.atlassian.crowd.integration.osuser
Class TestDelegatingProfileProvider

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.crowd.integration.osuser.TestDelegatingProfileProvider
All Implemented Interfaces:
junit.framework.Test

public class TestDelegatingProfileProvider
extends junit.framework.TestCase

Copyright 2007 Atlassian Software. All rights reserved.


Nested Class Summary
static class TestDelegatingProfileProvider.MockDelegatingProfileProvider
          util class that delegates to the next ProfileProvider from the static nextProfileProvider() method.
static class TestDelegatingProfileProvider.MockProfileProvider
           
static class TestDelegatingProfileProvider.MockProfileProvider2
           
static class TestDelegatingProfileProvider.MockProfileProvider3
           
 
Constructor Summary
TestDelegatingProfileProvider()
           
 
Method Summary
protected  void setUp()
           
 void testCreate()
           
 void testHandles()
           
 void testInitConstructsInstances()
           
 void testInitPropertiesParsedAndPassedToDelegateProfileProviders()
           
 void testInitWithEmptyProperties()
           
 void testInitWithIncorrectProperties()
           
 void testInitWithIncorrectProperties2()
           
 void testInitWithUnknownClassProperties()
           
 void testList()
           
 void testLoad()
           
 void testPropertySetAggregated()
           
 void testRemove()
           
 void testStore()
           
 void testUninitedThrowsIllegalState()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

TestDelegatingProfileProvider

public TestDelegatingProfileProvider()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testInitConstructsInstances

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

testPropertySetAggregated

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

testInitWithIncorrectProperties

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

testInitWithUnknownClassProperties

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

testInitWithIncorrectProperties2

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

testInitWithEmptyProperties

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

testInitPropertiesParsedAndPassedToDelegateProfileProviders

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

testUninitedThrowsIllegalState

public void testUninitedThrowsIllegalState()

testCreate

public void testCreate()

testRemove

public void testRemove()

testStore

public void testStore()

testLoad

public void testLoad()

testHandles

public void testHandles()

testList

public void testList()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.