public class LoginTest extends AbstractTest
| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT |
static int |
DEFAULT_ITERATIONS |
static long |
NO_CACHE |
static String |
USER |
| Constructor and Description |
|---|
LoginTest() |
LoginTest(String runAsUser,
boolean runWithToken,
int noIterations) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSuite()
Run after all iterations of this test have been executed.
|
void |
afterTest() |
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
|
void |
runTest() |
void |
setUp(Repository repository,
Credentials credentials)
Prepares this performance benchmark.
|
addBackgroundJob, afterTest, beforeTest, beforeTest, comment, disposeThreadExecutionContext, execute, failOnRepositoryVersions, getCredentials, getCurrentFixture, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, prepareThreadExecutionContext, run, run, runTest, setPrintStream, statsFormats, statsNames, statsValues, tearDownpublic static final int COUNT
public static final String USER
public static final int DEFAULT_ITERATIONS
public static final long NO_CACHE
public LoginTest()
public LoginTest(String runAsUser, boolean runWithToken, int noIterations)
public void runTest()
throws RepositoryException
runTest in class AbstractTestRepositoryExceptionpublic void afterTest()
throws RepositoryException
afterTest in class AbstractTestRepositoryExceptionpublic void setUp(Repository repository, Credentials credentials) throws Exception
AbstractTestsetUp in class AbstractTestrepository - the repository to usecredentials - credentials of a user with write accessException - if the benchmark can not be preparedpublic void beforeSuite()
throws Exception
AbstractTestbeforeSuite in class AbstractTestException - if an error occurspublic void afterSuite()
throws Exception
AbstractTestafterSuite in class AbstractTestException - if an error occursprotected Repository[] createRepository(RepositoryFixture fixture) throws Exception
AbstractTestcreateRepository in class AbstractTestExceptionCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.