Uses of Class
org.junit.runners.model.InitializationError
Packages that use InitializationError
Package
Description
Provides classes used to describe, collect, run and analyze multiple tests.
Provides standard
Runner
implementations.-
Uses of InitializationError in org.junit.experimental
Methods in org.junit.experimental that throw InitializationErrorModifier and TypeMethodDescriptionParallelComputer.getSuite
(RunnerBuilder builder, Class<?>[] classes) -
Uses of InitializationError in org.junit.experimental.categories
Constructors in org.junit.experimental.categories that throw InitializationError -
Uses of InitializationError in org.junit.experimental.theories
Constructors in org.junit.experimental.theories that throw InitializationError -
Uses of InitializationError in org.junit.runner
Methods in org.junit.runner that throw InitializationErrorModifier and TypeMethodDescriptionComputer.getSuite
(RunnerBuilder builder, Class<?>[] classes) Create a suite forclasses
, building Runners withbuilder
. -
Uses of InitializationError in org.junit.runners
Methods in org.junit.runners that throw InitializationErrorModifier and TypeMethodDescriptionprivate static Class<?>[]
Suite.getAnnotatedClasses
(Class<?> klass) private void
ParentRunner.validate()
Constructors in org.junit.runners that throw InitializationErrorModifierConstructorDescriptionBlockJUnit4ClassRunner
(Class<?> testClass) Creates a BlockJUnit4ClassRunner to runtestClass
protected
BlockJUnit4ClassRunner
(TestClass testClass) Creates a BlockJUnit4ClassRunner to runtestClass
.Constructs a new instance of the default runnerprotected
ParentRunner
(Class<?> testClass) Constructs a newParentRunner
that will run@TestClass
protected
ParentRunner
(TestClass testClass) Constructs a newParentRunner
that will run theTestClass
.protected
Call this when the default builder is good enough.protected
Called by this class and subclasses once the runners making up the suite have been determinedSuite
(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 toJUnitCore
protected
Suite
(RunnerBuilder builder, Class<?> klass, Class<?>[] suiteClasses) Called by this class and subclasses once the classes making up the suite have been determined -
Uses of InitializationError in org.junit.runners.model
Subclasses of InitializationError in org.junit.runners.modelModifier and TypeClassDescriptionclass
Thrown byRunner
s in case the class under test is not valid.Methods in org.junit.runners.model that throw InitializationErrorModifier and TypeMethodDescription(package private) Class<?>
Constructs and returns a list of Runners, one for each child class inchildren
. -
Uses of InitializationError in org.junit.runners.parameterized
Methods in org.junit.runners.parameterized that throw InitializationErrorModifier and TypeMethodDescriptionBlockJUnit4ClassRunnerWithParametersFactory.createRunnerForTestWithParameters
(TestWithParameters test) ParametersRunnerFactory.createRunnerForTestWithParameters
(TestWithParameters test) Returns a runner for the specifiedTestWithParameters
.Constructors in org.junit.runners.parameterized that throw InitializationError