com.atlassian.crowd.acceptance.tests.directory.suite
Class Rfc2307Test.Rfc2307QueryForNamesTest

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.suite.Rfc2307Test
                                          extended by com.atlassian.crowd.acceptance.tests.directory.suite.Rfc2307Test.Rfc2307QueryForNamesTest
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
Rfc2307Test

public static class Rfc2307Test.Rfc2307QueryForNamesTest
extends Rfc2307Test


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.crowd.acceptance.tests.directory.suite.Rfc2307Test
Rfc2307Test.Rfc2307QueryForNamesTest, Rfc2307Test.Rfc2307SynchronisationTest
 
Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.directory.suite.Rfc2307Test
CONFIG_FILE
 
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
 
Fields inherited from class org.springframework.test.ConditionalTestCase
logger
 
Constructor Summary
Rfc2307Test.Rfc2307QueryForNamesTest()
           
 
Method Summary
protected  void configureDirectory(Properties directorySettings)
          Configures a runtime Crowd object that connects to the Sun instance.
 void testGettingGroupMembershipsForGroupGivesEmptyIterableBecauseNoNestedGroups()
           
 void testGettingGroupMembershipsForUnknownUserGivesEmptyIterable()
           
 void testGettingGroupMembershipsForUserByName()
           
 void testGettingMembersOfGroupReturnsResults()
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.directory.suite.Rfc2307Test
loadTestData, removeTestData, suite
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.directory.BaseTest
customizeBeanFactory, deleteFromTables, getConfigLocations, getDirectoryConfigFile, getRemoteDirectory, onSetUpBeforeTransaction, onSetUpInTransaction, onTearDown, setDirectoryConfigFile, setLdapPropertiesHelper, setSessionFactory, setupSpring
 
Methods inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
countRowsInTable, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding
 
Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests
endTransaction, isDefaultRollback, isRollback, 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, createBeanDefinitionReader, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown
 
Methods inherited from class org.springframework.test.AbstractSpringContextTests
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty
 
Methods inherited from class org.springframework.test.ConditionalTestCase
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rfc2307Test.Rfc2307QueryForNamesTest

public Rfc2307Test.Rfc2307QueryForNamesTest()
Method Detail

configureDirectory

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

Overrides:
configureDirectory in class BaseTest

testGettingGroupMembershipsForUserByName

public void testGettingGroupMembershipsForUserByName()
                                              throws Exception
Throws:
Exception

testGettingGroupMembershipsForUnknownUserGivesEmptyIterable

public void testGettingGroupMembershipsForUnknownUserGivesEmptyIterable()
                                                                 throws Exception
Throws:
Exception

testGettingGroupMembershipsForGroupGivesEmptyIterableBecauseNoNestedGroups

public void testGettingGroupMembershipsForGroupGivesEmptyIterableBecauseNoNestedGroups()
                                                                                throws Exception
Throws:
Exception

testGettingMembersOfGroupReturnsResults

public void testGettingMembersOfGroupReturnsResults()
                                             throws Exception
Throws:
Exception


Copyright © 2013 Atlassian. All Rights Reserved.