public class LoginImpersonateTest 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 |
---|
LoginImpersonateTest() |
Modifier and Type | Method and Description |
---|---|
void |
afterSuite()
Run after all iterations of this test have been executed.
|
void |
beforeSuite()
Run before any iterations of this test get executed.
|
protected javax.jcr.Repository[] |
createRepository(RepositoryFixture fixture)
Customize the repository creation process by custom fixture handling
|
void |
runTest() |
void |
setUp(javax.jcr.Repository repository,
javax.jcr.Credentials credentials)
Prepares this performance benchmark.
|
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, comment, disposeThreadExecutionContext, execute, failOnRepositoryVersions, getCredentials, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, prepareThreadExecutionContext, run, run, runTest, setPrintStream, statsFormats, statsNames, statsValues, tearDown
public static final int COUNT
public static final String USER
public static final int DEFAULT_ITERATIONS
public static final long NO_CACHE
public void beforeSuite() throws Exception
AbstractTest
Exception
- if an error occurspublic void runTest() throws javax.jcr.RepositoryException
runTest
in class AbstractTest
javax.jcr.RepositoryException
public void setUp(javax.jcr.Repository repository, javax.jcr.Credentials credentials) throws Exception
AbstractTest
setUp
in class AbstractTest
repository
- the repository to usecredentials
- credentials of a user with write accessException
- if the benchmark can not be preparedpublic void afterSuite() throws Exception
AbstractTest
afterSuite
in class AbstractTest
Exception
- if an error occursprotected javax.jcr.Repository[] createRepository(RepositoryFixture fixture) throws Exception
AbstractTest
createRepository
in class AbstractTest
Exception
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.