public class PerformanceRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Modifier and Type | Class and Description |
---|---|
static interface |
PerformanceRunner.Parameters |
static class |
PerformanceRunner.ReportLevel |
Modifier and Type | Field and Description |
---|---|
String |
referenceMethod |
PerformanceRunner.ReportLevel |
reportLevel |
protected LinkedList<org.junit.runners.model.FrameworkMethod> |
tests |
Constructor and Description |
---|
PerformanceRunner(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected Collection<? extends org.junit.runners.model.FrameworkMethod> |
computePerformanceTests()
Compute performance tests
|
protected List<org.junit.runners.model.FrameworkMethod> |
computeTestMethods() |
protected void |
computeTests()
Compute the tests that will be run
|
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
validateInstanceMethods(List<Throwable> errors)
Need to override method otherwise the validation will fail because of
some hardcoded conditions in JUnit
|
collectInitializationErrors, createTest, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, runChild, testName, validateConstructor, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
protected LinkedList<org.junit.runners.model.FrameworkMethod> tests
public PerformanceRunner.ReportLevel reportLevel
public String referenceMethod
public PerformanceRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected void computeTests() throws Exception
Exception
protected Collection<? extends org.junit.runners.model.FrameworkMethod> computePerformanceTests() throws Exception
Exception
protected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
computeTestMethods
in class org.junit.runners.BlockJUnit4ClassRunner
BlockJUnit4ClassRunner.computeTestMethods()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.