| 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 |
| Constructor and Description |
|---|
Theories(TestClass testClass) |
TheoryAnchor(FrameworkMethod testMethod,
TestClass testClass) |
| Modifier and Type | Method and Description |
|---|---|
static Assignments |
Assignments.allUnassigned(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 |
SpecificDataPointsSupplier(TestClass testClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleMemberValidator.validate(TestClass target,
List<Throwable> errors)
Validate the
TestClass and adds reasons
for rejecting the class to a list of errors. |
| Modifier and Type | Method and Description |
|---|---|
List<Exception> |
OrderWithValidator.validateAnnotatedClass(TestClass testClass)
Adds to
errors a throwable for each problem detected. |
| Modifier and Type | Method and Description |
|---|---|
protected TestClass |
ParentRunner.createTestClass(Class<?> testClass)
Deprecated.
Please use
ParentRunner(org.junit.runners.model.TestClass). |
TestClass |
ParentRunner.getTestClass()
Returns a
TestClass object wrapping the class to be executed. |
| Constructor and Description |
|---|
BlockJUnit4ClassRunner(TestClass testClass)
Creates a BlockJUnit4ClassRunner to run
testClass. |
ParentRunner(TestClass testClass)
Constructs a new
ParentRunner that will run the TestClass. |
| Modifier and Type | Method and Description |
|---|---|
TestClass |
TestWithParameters.getTestClass() |
| Constructor and Description |
|---|
TestWithParameters(String name,
TestClass testClass,
List<Object> parameters) |
| Modifier and Type | Method and Description |
|---|---|
List<Exception> |
AnnotationValidator.validateAnnotatedClass(TestClass testClass)
Validates annotation on the given class.
|
List<Exception> |
AnnotationsValidator.validateTestClass(TestClass testClass)
Validate all annotations of the specified test class that are be
annotated with
ValidateWith. |
List<Exception> |
PublicClassValidator.validateTestClass(TestClass testClass)
Validate that the specified
TestClass is public. |
List<Exception> |
TestClassValidator.validateTestClass(TestClass testClass)
Validate a single facet of a test class.
|
Copyright © 2002–2025 JUnit. All rights reserved.