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 java.lang.String |
comment() |
protected 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 java.lang.String[] |
statsFormats()
Format string used for additional stats as per
Formatter
Example [ "%6d" , "%6.0f" ] |
protected java.lang.String[] |
statsNames()
Names of additional stats which benchmark wants to be reported as part of
default report.
|
protected java.lang.Object[] |
statsValues()
Stats values which needs to be included in the report
|
addBackgroundJob, afterTest, afterTest, beforeTest, beforeTest, execute, failOnRepositoryVersions, getCredentials, getCurrentFixture, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginSubject, loginWriter, logout, run, run, setPrintStream, setUp, systemLogin, tearDown
protected Repository[] createRepository(RepositoryFixture fixture) throws java.lang.Exception
AbstractTest
createRepository
in class AbstractTest<BundlingNodeTest.TestContext>
java.lang.Exception
public void beforeSuite() throws java.lang.Exception
AbstractTest
beforeSuite
in class AbstractTest<BundlingNodeTest.TestContext>
java.lang.Exception
- if an error occursprotected BundlingNodeTest.TestContext prepareThreadExecutionContext() throws RepositoryException
AbstractTest
prepareThreadExecutionContext
in class AbstractTest<BundlingNodeTest.TestContext>
RepositoryException
protected void runTest() throws java.lang.Exception
runTest
in class AbstractTest<BundlingNodeTest.TestContext>
java.lang.Exception
protected void runTest(BundlingNodeTest.TestContext ctx) throws java.lang.Exception
runTest
in class AbstractTest<BundlingNodeTest.TestContext>
java.lang.Exception
protected void disposeThreadExecutionContext(BundlingNodeTest.TestContext context) throws RepositoryException
disposeThreadExecutionContext
in class AbstractTest<BundlingNodeTest.TestContext>
RepositoryException
protected void afterSuite() throws java.lang.Exception
AbstractTest
afterSuite
in class AbstractTest<BundlingNodeTest.TestContext>
java.lang.Exception
- if an error occursprotected java.lang.String[] statsNames()
AbstractTest
statsNames
in class AbstractTest<BundlingNodeTest.TestContext>
protected java.lang.String[] statsFormats()
AbstractTest
Formatter
Example [ "%6d" , "%6.0f" ]statsFormats
in class AbstractTest<BundlingNodeTest.TestContext>
protected java.lang.Object[] statsValues()
AbstractTest
statsValues
in class AbstractTest<BundlingNodeTest.TestContext>
protected java.lang.String comment()
comment
in class AbstractTest<BundlingNodeTest.TestContext>
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.