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, tearDownpublic HybridIndexTest(File workDir, org.apache.jackrabbit.oak.stats.StatisticsProvider statsProvider)
protected Repository[] createRepository(RepositoryFixture fixture) throws Exception
AbstractTestcreateRepository in class AbstractTest<HybridIndexTest.TestContext>Exceptionpublic void beforeSuite()
throws Exception
AbstractTestbeforeSuite in class AbstractTest<HybridIndexTest.TestContext>Exception - if an error occursprotected HybridIndexTest.TestContext prepareThreadExecutionContext() throws RepositoryException
AbstractTestprepareThreadExecutionContext in class AbstractTest<HybridIndexTest.TestContext>RepositoryExceptionprotected void runTest()
throws Exception
runTest in class AbstractTest<HybridIndexTest.TestContext>Exceptionprotected void runTest(HybridIndexTest.TestContext ctx) throws Exception
runTest in class AbstractTest<HybridIndexTest.TestContext>Exceptionprotected void disposeThreadExecutionContext(HybridIndexTest.TestContext context) throws RepositoryException
disposeThreadExecutionContext in class AbstractTest<HybridIndexTest.TestContext>RepositoryExceptionprotected void afterSuite()
throws Exception
AbstractTestafterSuite in class AbstractTest<HybridIndexTest.TestContext>Exception - if an error occursprotected String[] statsNames()
AbstractTeststatsNames in class AbstractTest<HybridIndexTest.TestContext>protected String[] statsFormats()
AbstractTestFormatter
Example [ "%6d" , "%6.0f" ]statsFormats in class AbstractTest<HybridIndexTest.TestContext>protected Object[] statsValues()
AbstractTeststatsValues in class AbstractTest<HybridIndexTest.TestContext>protected String comment()
comment in class AbstractTest<HybridIndexTest.TestContext>Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.