public class ReadDeepTreeTest extends AbstractTest
| Modifier and Type | Field and Description |
|---|---|
protected Session |
adminSession |
protected List<String> |
allPaths |
protected boolean |
doReport |
protected int |
itemsToRead |
protected boolean |
runAsAdmin |
protected boolean |
singleSession |
protected Node |
testRoot |
protected Session |
testSession |
| Modifier | Constructor and Description |
|---|---|
protected |
ReadDeepTreeTest(boolean runAsAdmin,
int itemsToRead,
boolean doReport) |
|
ReadDeepTreeTest(boolean runAsAdmin,
int itemsToRead,
boolean doReport,
boolean singleSession) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterSuite()
Run after all iterations of this test have been executed.
|
protected void |
beforeSuite()
Run before any iterations of this test get executed.
|
protected void |
createDeepTree() |
protected String |
getImportFileName() |
protected String |
getTestNodeName() |
protected Session |
getTestSession() |
protected void |
randomRead(Session testSession,
List<String> allPaths,
int cnt) |
protected void |
runTest() |
protected void |
visitingNode(Node node,
int i) |
protected void |
visitingProperty(Property property,
int i) |
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, comment, createRepository, disposeThreadExecutionContext, execute, failOnRepositoryVersions, getCredentials, getCurrentFixture, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, prepareThreadExecutionContext, run, run, runTest, setPrintStream, setUp, statsFormats, statsNames, statsValues, tearDownprotected final boolean runAsAdmin
protected final int itemsToRead
protected final boolean doReport
protected final boolean singleSession
protected Session adminSession
protected Node testRoot
protected Session testSession
protected ReadDeepTreeTest(boolean runAsAdmin,
int itemsToRead,
boolean doReport)
public ReadDeepTreeTest(boolean runAsAdmin,
int itemsToRead,
boolean doReport,
boolean singleSession)
protected void beforeSuite()
throws Exception
AbstractTestbeforeSuite in class AbstractTestException - if an error occursprotected String getImportFileName()
protected String getTestNodeName()
protected void visitingNode(Node node, int i) throws RepositoryException
RepositoryExceptionprotected void visitingProperty(Property property, int i) throws RepositoryException
RepositoryExceptionprotected void afterSuite()
throws Exception
AbstractTestafterSuite in class AbstractTestException - if an error occursprotected void runTest()
throws Exception
runTest in class AbstractTestExceptionprotected void randomRead(Session testSession, List<String> allPaths, int cnt) throws RepositoryException
RepositoryExceptionprotected Session getTestSession()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.