Package | Description |
---|---|
org.junit.internal.requests |
Provides implementations of
Request . |
org.junit.runner |
Provides classes used to describe, collect, run and analyze multiple tests.
|
org.junit.runner.manipulation |
Modifier and Type | Field and Description |
---|---|
private Ordering |
OrderingRequest.ordering |
Constructor and Description |
---|
OrderingRequest(Request request,
Ordering ordering) |
Modifier and Type | Method and Description |
---|---|
Request |
Request.orderWith(Ordering ordering)
Returns a Request whose Tests can be run in a certain order, defined by
ordering |
Modifier and Type | Class and Description |
---|---|
class |
Alphanumeric
A sorter that orders tests alphanumerically by test name.
|
class |
Sorter
A
Sorter orders tests. |
Modifier and Type | Field and Description |
---|---|
private Ordering |
Orderer.ordering |
Modifier and Type | Method and Description |
---|---|
Ordering |
Ordering.Factory.create(Ordering.Context context)
Creates an Ordering instance using the given context.
|
Ordering |
Alphanumeric.create(Ordering.Context context) |
static Ordering |
Ordering.definedBy(java.lang.Class<? extends Ordering.Factory> factoryClass,
Description annotatedTestClass)
Creates an
Ordering from the given factory class. |
static Ordering |
Ordering.definedBy(Ordering.Factory factory,
Description annotatedTestClass)
Creates an
Ordering from the given factory. |
static Ordering |
Ordering.shuffledBy(java.util.Random random)
Creates an
Ordering that shuffles the items using the given
Random instance. |
Constructor and Description |
---|
Orderer(Ordering delegate) |