Package | Description |
---|---|
org.junit.experimental.theories | |
org.junit.experimental.theories.internal | |
org.junit.internal.runners.rules | |
org.junit.runner |
Provides classes used to describe, collect, run and analyze multiple tests.
|
org.junit.runners |
Provides standard
Runner implementations. |
org.junit.runners.parameterized | |
org.junit.validator |
Modifier and Type | Field and Description |
---|---|
private TestClass |
Theories.TheoryAnchor.testClass |
Modifier and Type | Method and Description |
---|---|
private TestClass |
Theories.TheoryAnchor.getTestClass() |
Constructor and Description |
---|
Theories(TestClass testClass) |
TheoryAnchor(FrameworkMethod testMethod,
TestClass testClass) |
Modifier and Type | Field and Description |
---|---|
private TestClass |
AllMembersSupplier.clazz |
private TestClass |
Assignments.clazz |
Modifier and Type | Method and Description |
---|---|
static Assignments |
Assignments.allUnassigned(java.lang.reflect.Method testMethod,
TestClass testClass)
Returns a new assignment list for
testMethod , with no params
assigned. |
Constructor and Description |
---|
AllMembersSupplier(TestClass type)
Constructs a new supplier for
type |
Assignments(java.util.List<PotentialAssignment> assigned,
java.util.List<ParameterSignature> unassigned,
TestClass clazz) |
SpecificDataPointsSupplier(TestClass testClass) |
Modifier and Type | Method and Description |
---|---|
void |
RuleMemberValidator.validate(TestClass target,
java.util.List<java.lang.Throwable> errors)
Validate the
TestClass and adds reasons
for rejecting the class to a list of errors. |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Exception> |
OrderWithValidator.validateAnnotatedClass(TestClass testClass)
Adds to
errors a throwable for each problem detected. |
Modifier and Type | Field and Description |
---|---|
private TestClass |
ParentRunner.testClass |
private TestClass |
Parameterized.RunnersFactory.testClass |
Modifier and Type | Method and Description |
---|---|
protected TestClass |
ParentRunner.createTestClass(java.lang.Class<?> testClass)
Deprecated.
Please use
ParentRunner(org.junit.runners.model.TestClass) . |
TestClass |
ParentRunner.getTestClass()
Returns a
TestClass object wrapping the class to be executed. |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<java.lang.Object> |
Parameterized.RunnersFactory.allParameters(TestClass testClass,
FrameworkMethod parametersMethod) |
private TestWithParameters |
Parameterized.RunnersFactory.createTestWithParameters(TestClass testClass,
java.lang.String pattern,
int index,
java.lang.Object[] parameters) |
private static FrameworkMethod |
Parameterized.RunnersFactory.getParametersMethod(TestClass testClass) |
private static java.lang.Exception |
Parameterized.RunnersFactory.parametersMethodReturnedWrongType(TestClass testClass,
FrameworkMethod parametersMethod) |
Constructor and Description |
---|
AssumptionViolationRunner(TestClass testClass,
java.lang.String methodName,
AssumptionViolatedException exception) |
BlockJUnit4ClassRunner(TestClass testClass)
Creates a BlockJUnit4ClassRunner to run
testClass . |
ParentRunner(TestClass testClass)
Constructs a new
ParentRunner that will run the TestClass . |
Modifier and Type | Field and Description |
---|---|
private TestClass |
TestWithParameters.testClass |
Modifier and Type | Method and Description |
---|---|
TestClass |
TestWithParameters.getTestClass() |
Constructor and Description |
---|
TestWithParameters(java.lang.String name,
TestClass testClass,
java.util.List<java.lang.Object> parameters) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Iterable<TestClass> |
AnnotationsValidator.ClassValidator.getAnnotatablesForTestClass(TestClass testClass) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract java.lang.Iterable<T> |
AnnotationsValidator.AnnotatableValidator.getAnnotatablesForTestClass(TestClass testClass) |
(package private) java.lang.Iterable<TestClass> |
AnnotationsValidator.ClassValidator.getAnnotatablesForTestClass(TestClass testClass) |
(package private) java.lang.Iterable<FrameworkMethod> |
AnnotationsValidator.MethodValidator.getAnnotatablesForTestClass(TestClass testClass) |
(package private) java.lang.Iterable<FrameworkField> |
AnnotationsValidator.FieldValidator.getAnnotatablesForTestClass(TestClass testClass) |
(package private) java.util.List<java.lang.Exception> |
AnnotationsValidator.ClassValidator.validateAnnotatable(AnnotationValidator validator,
TestClass testClass) |
java.util.List<java.lang.Exception> |
AnnotationValidator.validateAnnotatedClass(TestClass testClass)
Validates annotation on the given class.
|
java.util.List<java.lang.Exception> |
PublicClassValidator.validateTestClass(TestClass testClass)
Validate that the specified
TestClass is public. |
java.util.List<java.lang.Exception> |
TestClassValidator.validateTestClass(TestClass testClass)
Validate a single facet of a test class.
|
java.util.List<java.lang.Exception> |
AnnotationsValidator.validateTestClass(TestClass testClass)
Validate all annotations of the specified test class that are be
annotated with
ValidateWith . |
java.util.List<java.lang.Exception> |
AnnotationsValidator.AnnotatableValidator.validateTestClass(TestClass testClass) |