Uses of Class
org.junit.runner.Runner
-
Packages that use Runner Package Description junit.framework Provides JUnit v3.x core classes.org.junit.experimental org.junit.experimental.categories org.junit.experimental.max org.junit.experimental.runners org.junit.experimental.theories org.junit.internal.builders org.junit.internal.requests Provides implementations ofRequest
.org.junit.internal.runners Provides implementations ofRunner
org.junit.runner Provides classes used to describe, collect, run and analyze multiple tests.org.junit.runners Provides standardRunner
implementations.org.junit.runners.model org.junit.runners.parameterized -
-
Uses of Runner in junit.framework
Fields in junit.framework declared as Runner Modifier and Type Field Description private Runner
JUnit4TestAdapter. fRunner
-
Uses of Runner in org.junit.experimental
Methods in org.junit.experimental that return Runner Modifier and Type Method Description protected Runner
ParallelComputer. getRunner(RunnerBuilder builder, java.lang.Class<?> testClass)
Runner
ParallelComputer. getSuite(RunnerBuilder builder, java.lang.Class<?>[] classes)
private static Runner
ParallelComputer. parallelize(Runner runner)
Methods in org.junit.experimental with parameters of type Runner Modifier and Type Method Description private static Runner
ParallelComputer. parallelize(Runner runner)
-
Uses of Runner in org.junit.experimental.categories
Subclasses of Runner in org.junit.experimental.categories Modifier and Type Class Description class
Categories
From a given set of test classes, runs only the classes and methods that are annotated with either the category given with the @IncludeCategory annotation, or a subtype of that category. -
Uses of Runner in org.junit.experimental.max
Methods in org.junit.experimental.max that return Runner Modifier and Type Method Description private Runner
MaxCore. buildRunner(Description each)
-
Uses of Runner in org.junit.experimental.runners
Subclasses of Runner in org.junit.experimental.runners Modifier and Type Class Description class
Enclosed
If you put tests in inner classes, Ant, for example, won't find them. -
Uses of Runner in org.junit.experimental.theories
Subclasses of Runner in org.junit.experimental.theories Modifier and Type Class Description class
Theories
The Theories runner allows to test a certain functionality against a subset of an infinite set of data points. -
Uses of Runner in org.junit.internal.builders
Subclasses of Runner in org.junit.internal.builders Modifier and Type Class Description class
IgnoredClassRunner
Methods in org.junit.internal.builders that return Runner Modifier and Type Method Description Runner
AnnotatedBuilder. buildRunner(java.lang.Class<? extends Runner> runnerClass, java.lang.Class<?> testClass)
Runner
AllDefaultPossibilitiesBuilder. runnerForClass(java.lang.Class<?> testClass)
Runner
AnnotatedBuilder. runnerForClass(java.lang.Class<?> testClass)
Runner
IgnoredBuilder. runnerForClass(java.lang.Class<?> testClass)
Runner
JUnit3Builder. runnerForClass(java.lang.Class<?> testClass)
Runner
JUnit4Builder. runnerForClass(java.lang.Class<?> testClass)
Runner
NullBuilder. runnerForClass(java.lang.Class<?> each)
Runner
SuiteMethodBuilder. runnerForClass(java.lang.Class<?> each)
Method parameters in org.junit.internal.builders with type arguments of type Runner Modifier and Type Method Description Runner
AnnotatedBuilder. buildRunner(java.lang.Class<? extends Runner> runnerClass, java.lang.Class<?> testClass)
-
Uses of Runner in org.junit.internal.requests
Fields in org.junit.internal.requests declared as Runner Modifier and Type Field Description private Runner
ClassRequest. runner
Methods in org.junit.internal.requests that return Runner Modifier and Type Method Description Runner
ClassRequest. getRunner()
Runner
FilterRequest. getRunner()
Runner
SortingRequest. getRunner()
-
Uses of Runner in org.junit.internal.runners
Subclasses of Runner in org.junit.internal.runners Modifier and Type Class Description class
ErrorReportingRunner
class
JUnit38ClassRunner
class
JUnit4ClassRunner
Deprecated.Included for backwards compatibility with JUnit 4.4.class
SuiteMethod
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a staticsuite()
method). -
Uses of Runner in org.junit.runner
Methods in org.junit.runner that return Runner Modifier and Type Method Description protected Runner
Computer. getRunner(RunnerBuilder builder, java.lang.Class<?> testClass)
Create a single-class runner fortestClass
, usingbuilder
abstract Runner
Request. getRunner()
Returns aRunner
for this RequestRunner
Computer. getSuite(RunnerBuilder builder, java.lang.Class<?>[] classes)
Create a suite forclasses
, building Runners withbuilder
.Methods in org.junit.runner that return types with arguments of type Runner Modifier and Type Method Description java.lang.Class<? extends Runner>
value()
Methods in org.junit.runner with parameters of type Runner Modifier and Type Method Description Result
JUnitCore. run(Runner runner)
Do not use.static Request
Request. runner(Runner runner)
-
Uses of Runner in org.junit.runners
Subclasses of Runner in org.junit.runners Modifier and Type Class Description class
AllTests
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a staticsuite()
method).class
BlockJUnit4ClassRunner
Implements the JUnit 4 standard test case class model, as defined by the annotations in the org.junit package.class
JUnit4
Aliases the current default JUnit 4 class runner, for future-proofing.class
Parameterized
The custom runnerParameterized
implements parameterized tests.class
ParentRunner<T>
Provides most of the functionality specific to a Runner that implements a "parent node" in the test tree, with children defined by objects of some data typeT
.class
Suite
UsingSuite
as a runner allows you to manually build a suite containing tests from many classes.Fields in org.junit.runners with type parameters of type Runner Modifier and Type Field Description private static java.util.List<Runner>
Parameterized. NO_RUNNERS
private java.util.List<Runner>
Parameterized. runners
private java.util.List<Runner>
Suite. runners
Methods in org.junit.runners that return Runner Modifier and Type Method Description static Runner
Suite. emptySuite()
Returns an empty suite.Methods in org.junit.runners that return types with arguments of type Runner Modifier and Type Method Description private java.util.List<Runner>
Parameterized. createRunnersForParameters(java.lang.Iterable<java.lang.Object> allParameters, java.lang.String namePattern, ParametersRunnerFactory runnerFactory)
protected java.util.List<Runner>
Parameterized. getChildren()
protected java.util.List<Runner>
Suite. getChildren()
Methods in org.junit.runners with parameters of type Runner Modifier and Type Method Description protected Description
Suite. describeChild(Runner child)
protected void
Suite. runChild(Runner runner, RunNotifier notifier)
Constructor parameters in org.junit.runners with type arguments of type Runner Constructor Description Suite(java.lang.Class<?> klass, java.util.List<Runner> runners)
Called by this class and subclasses once the runners making up the suite have been determined -
Uses of Runner in org.junit.runners.model
Methods in org.junit.runners.model that return Runner Modifier and Type Method Description abstract Runner
RunnerBuilder. runnerForClass(java.lang.Class<?> testClass)
Override to calculate the correct runner for a test class at runtime.Runner
RunnerBuilder. safeRunnerForClass(java.lang.Class<?> testClass)
Always returns a runner, even if it is just one that prints an error instead of running tests.Methods in org.junit.runners.model that return types with arguments of type Runner Modifier and Type Method Description private java.util.List<Runner>
RunnerBuilder. runners(java.lang.Class<?>[] children)
java.util.List<Runner>
RunnerBuilder. runners(java.lang.Class<?> parent, java.lang.Class<?>[] children)
Constructs and returns a list of Runners, one for each child class inchildren
.java.util.List<Runner>
RunnerBuilder. runners(java.lang.Class<?> parent, java.util.List<java.lang.Class<?>> children)
-
Uses of Runner in org.junit.runners.parameterized
Subclasses of Runner in org.junit.runners.parameterized Modifier and Type Class Description class
BlockJUnit4ClassRunnerWithParameters
ABlockJUnit4ClassRunner
with parameters support.Methods in org.junit.runners.parameterized that return Runner Modifier and Type Method Description Runner
BlockJUnit4ClassRunnerWithParametersFactory. createRunnerForTestWithParameters(TestWithParameters test)
Runner
ParametersRunnerFactory. createRunnerForTestWithParameters(TestWithParameters test)
Returns a runner for the specifiedTestWithParameters
.
-