|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.acceptance.tests.directory.DnRangeTest
@ContextConfiguration(locations={"classpath:/remoteDirectoryApplicationContext-config.xml","classpath:/applicationContext-CrowdEncryption.xml","classpath:/applicationContext-CrowdUtils.xml","classpath:/applicationContext-CrowdDAO.xml","classpath:/applicationContext-config.xml"})
@TestExecutionListeners(value={org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,org.springframework.test.context.support.DirtiesContextTestExecutionListener.class})
@DirtiesContext(classMode=AFTER_CLASS)
public class DnRangeTest
Tests RFC4519MemberDnRangedMapper
and RFC4519MemberDnRangeOffsetMapper.
This test is intended to be run without a transaction, therefore it uses manual session management.
| Constructor Summary | |
|---|---|
|
DnRangeTest()
|
protected |
DnRangeTest(String directoryConfigFile)
JUnit4 requires exactly one public constructor, therefore this one is protected |
| Method Summary | |
|---|---|
void |
_testBrowseLargeGroup()
Assumes group has more than 1500 members Check using two ways and assert the number of members found are equal |
void |
_testBrowseSmallGroup()
Assumes group has less than 1500 members. |
protected DirectoryImpl |
configureDirectory(Properties directorySettings)
Subclasses can override and decorate this method to test different directory configurations |
void |
setUp()
|
void |
tearDown()
|
void |
testBrowseGroups()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DnRangeTest()
protected DnRangeTest(String directoryConfigFile)
directoryConfigFile - | Method Detail |
|---|
public void setUp()
throws Exception
Exception
public void tearDown()
throws Exception
Exceptionprotected DirectoryImpl configureDirectory(Properties directorySettings)
directorySettings -
public void testBrowseGroups()
throws Exception
Exception
public void _testBrowseLargeGroup()
throws Exception
OperationFailedException
InterruptedException
Exception
public void _testBrowseSmallGroup()
throws Exception
OperationFailedException
InterruptedException
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||