public class AddMembersTest extends AbstractTest
ImportBehavior; valid options are "besteffort", "ignore" and "abort"
An importbehavior of "ignore" and "abort" will required the members to exist
and will resolve each ID to the corresponding authorizble first (different test
setup). In case of "besteffort" the member is not resolved to an authorizable.| Constructor and Description |
|---|
AddMembersTest(int numberOfMembers,
int batchSize,
String importBehavior) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMembers(UserManager userManger,
Group group,
Session s) |
void |
afterSuite()
Run after all iterations of this test have been executed.
|
void |
beforeSuite()
Run before any iterations of this test get executed.
|
protected Repository[] |
createRepository(RepositoryFixture fixture)
Customize the repository creation process by custom fixture handling
|
protected void |
createUsers(UserManager userManager) |
void |
runTest() |
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, comment, disposeThreadExecutionContext, execute, failOnRepositoryVersions, getCredentials, getCurrentFixture, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, prepareThreadExecutionContext, run, run, runTest, setPrintStream, setUp, statsFormats, statsNames, statsValues, tearDownpublic void beforeSuite()
throws Exception
AbstractTestbeforeSuite in class AbstractTestException - if an error occursprotected void createUsers(@Nonnull UserManager userManager) throws Exception
Exceptionpublic void afterSuite()
throws Exception
AbstractTestafterSuite in class AbstractTestException - if an error occursprotected Repository[] createRepository(RepositoryFixture fixture) throws Exception
AbstractTestcreateRepository in class AbstractTestExceptionpublic void runTest()
throws Exception
runTest in class AbstractTestExceptionCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.