Package | Description |
---|---|
org.junit.experimental | |
org.junit.experimental.categories | |
org.junit.experimental.theories | |
org.junit.runner |
Provides classes used to describe, collect, run and analyze multiple tests.
|
org.junit.runners |
Provides standard
Runner implementations. |
org.junit.runners.model | |
org.junit.runners.parameterized |
Modifier and Type | Method and Description |
---|---|
Runner |
ParallelComputer.getSuite(RunnerBuilder builder,
Class<?>[] classes) |
Constructor and Description |
---|
Categories(Class<?> klass,
RunnerBuilder builder) |
Constructor and Description |
---|
Theories(Class<?> klass) |
Modifier and Type | Method and Description |
---|---|
Runner |
Computer.getSuite(RunnerBuilder builder,
Class<?>[] classes)
Create a suite for
classes , building Runners with builder . |
Constructor and Description |
---|
BlockJUnit4ClassRunner(Class<?> klass)
Creates a BlockJUnit4ClassRunner to run
klass |
JUnit4(Class<?> klass)
Constructs a new instance of the default runner
|
ParentRunner(Class<?> testClass)
Constructs a new
ParentRunner that will run @TestClass |
Suite(Class<?> klass,
Class<?>[] suiteClasses)
Call this when the default builder is good enough.
|
Suite(Class<?> klass,
List<Runner> runners)
Called by this class and subclasses once the runners making up the suite have been determined
|
Suite(Class<?> klass,
RunnerBuilder builder)
Called reflectively on classes annotated with
@RunWith(Suite.class) |
Suite(RunnerBuilder builder,
Class<?>[] classes)
Call this when there is no single root class (for example, multiple class names
passed on the command line to
JUnitCore |
Suite(RunnerBuilder builder,
Class<?> klass,
Class<?>[] suiteClasses)
Called by this class and subclasses once the classes making up the suite have been determined
|
Modifier and Type | Method and Description |
---|---|
List<Runner> |
RunnerBuilder.runners(Class<?> parent,
Class<?>[] children)
Constructs and returns a list of Runners, one for each child class in
children . |
List<Runner> |
RunnerBuilder.runners(Class<?> parent,
List<Class<?>> children) |
Modifier and Type | Method and Description |
---|---|
Runner |
ParametersRunnerFactory.createRunnerForTestWithParameters(TestWithParameters test)
Returns a runner for the specified
TestWithParameters . |
Runner |
BlockJUnit4ClassRunnerWithParametersFactory.createRunnerForTestWithParameters(TestWithParameters test) |
Constructor and Description |
---|
BlockJUnit4ClassRunnerWithParameters(TestWithParameters test) |
Copyright © 2002–2020 JUnit. All rights reserved.