public class BundlingNodeTest extends AbstractTest<BundlingNodeTest.TestContext>
Modifier and Type | Class and Description |
---|---|
protected class |
BundlingNodeTest.TestContext |
Constructor and Description |
---|
BundlingNodeTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterSuite()
Run after all iterations of this test have been executed.
|
void |
beforeSuite()
Run before any iterations of this test get executed.
|
protected String |
comment() |
protected javax.jcr.Repository[] |
createRepository(RepositoryFixture fixture)
Customize the repository creation process by custom fixture handling
|
protected void |
disposeThreadExecutionContext(BundlingNodeTest.TestContext context) |
protected BundlingNodeTest.TestContext |
prepareThreadExecutionContext()
Invoked before the thread starts.
|
protected void |
runTest() |
protected void |
runTest(BundlingNodeTest.TestContext ctx) |
protected String[] |
statsFormats()
Format string used for additional stats as per
Formatter
Example [ "%6d" , "%6.0f" ] |
protected String[] |
statsNames()
Names of additional stats which benchmark wants to be reported as part of
default report.
|
protected Object[] |
statsValues()
Stats values which needs to be included in the report
|
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, execute, failOnRepositoryVersions, getCredentials, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, run, run, setPrintStream, setUp, tearDown
protected javax.jcr.Repository[] createRepository(RepositoryFixture fixture) throws Exception
AbstractTest
createRepository
in class AbstractTest<BundlingNodeTest.TestContext>
Exception
public void beforeSuite() throws Exception
AbstractTest
beforeSuite
in class AbstractTest<BundlingNodeTest.TestContext>
Exception
- if an error occursprotected BundlingNodeTest.TestContext prepareThreadExecutionContext() throws javax.jcr.RepositoryException
AbstractTest
prepareThreadExecutionContext
in class AbstractTest<BundlingNodeTest.TestContext>
javax.jcr.RepositoryException
protected void runTest() throws Exception
runTest
in class AbstractTest<BundlingNodeTest.TestContext>
Exception
protected void runTest(BundlingNodeTest.TestContext ctx) throws Exception
runTest
in class AbstractTest<BundlingNodeTest.TestContext>
Exception
protected void disposeThreadExecutionContext(BundlingNodeTest.TestContext context) throws javax.jcr.RepositoryException
disposeThreadExecutionContext
in class AbstractTest<BundlingNodeTest.TestContext>
javax.jcr.RepositoryException
protected void afterSuite() throws Exception
AbstractTest
afterSuite
in class AbstractTest<BundlingNodeTest.TestContext>
Exception
- if an error occursprotected String[] statsNames()
AbstractTest
statsNames
in class AbstractTest<BundlingNodeTest.TestContext>
protected String[] statsFormats()
AbstractTest
Formatter
Example [ "%6d" , "%6.0f" ]statsFormats
in class AbstractTest<BundlingNodeTest.TestContext>
protected Object[] statsValues()
AbstractTest
statsValues
in class AbstractTest<BundlingNodeTest.TestContext>
protected String comment()
comment
in class AbstractTest<BundlingNodeTest.TestContext>
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.