public class HybridIndexTest extends AbstractTest<HybridIndexTest.TestContext>
Modifier and Type | Class and Description |
---|---|
protected class |
HybridIndexTest.TestContext |
Constructor and Description |
---|
HybridIndexTest(File workDir,
org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider) |
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 Repository[] |
createRepository(RepositoryFixture fixture)
Customize the repository creation process by custom fixture handling
|
protected void |
disposeThreadExecutionContext(HybridIndexTest.TestContext context) |
protected HybridIndexTest.TestContext |
prepareThreadExecutionContext()
Invoked before the thread starts.
|
protected void |
runTest() |
protected void |
runTest(HybridIndexTest.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, getCurrentFixture, getRepository, getScale, issueHaltChildThreads, issueHaltRequest, login, loginAdministrative, loginAnonymous, loginWriter, logout, run, run, setPrintStream, setUp, tearDown
public HybridIndexTest(File workDir, org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider)
protected Repository[] createRepository(RepositoryFixture fixture) throws Exception
AbstractTest
createRepository
in class AbstractTest<HybridIndexTest.TestContext>
Exception
public void beforeSuite() throws Exception
AbstractTest
beforeSuite
in class AbstractTest<HybridIndexTest.TestContext>
Exception
- if an error occursprotected HybridIndexTest.TestContext prepareThreadExecutionContext() throws RepositoryException
AbstractTest
prepareThreadExecutionContext
in class AbstractTest<HybridIndexTest.TestContext>
RepositoryException
protected void runTest() throws Exception
runTest
in class AbstractTest<HybridIndexTest.TestContext>
Exception
protected void runTest(HybridIndexTest.TestContext ctx) throws Exception
runTest
in class AbstractTest<HybridIndexTest.TestContext>
Exception
protected void disposeThreadExecutionContext(HybridIndexTest.TestContext context) throws RepositoryException
disposeThreadExecutionContext
in class AbstractTest<HybridIndexTest.TestContext>
RepositoryException
protected void afterSuite() throws Exception
AbstractTest
afterSuite
in class AbstractTest<HybridIndexTest.TestContext>
Exception
- if an error occursprotected String[] statsNames()
AbstractTest
statsNames
in class AbstractTest<HybridIndexTest.TestContext>
protected String[] statsFormats()
AbstractTest
Formatter
Example [ "%6d" , "%6.0f" ]statsFormats
in class AbstractTest<HybridIndexTest.TestContext>
protected Object[] statsValues()
AbstractTest
statsValues
in class AbstractTest<HybridIndexTest.TestContext>
protected String comment()
comment
in class AbstractTest<HybridIndexTest.TestContext>
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.