Package org.junit.runner.manipulation
Class Orderer
java.lang.Object
org.junit.runner.manipulation.Orderer
Orders tests.
- Since:
- 4.13
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Order the tests intarget
.order
(Collection<Description> descriptions) Orders the descriptions.
-
Field Details
-
ordering
-
-
Constructor Details
-
Orderer
Orderer(Ordering delegate)
-
-
Method Details
-
order
public List<Description> order(Collection<Description> descriptions) throws InvalidOrderingException Orders the descriptions.- Returns:
- descriptions in order
- Throws:
InvalidOrderingException
-
apply
Order the tests intarget
.- Throws:
InvalidOrderingException
- if ordering does something invalid (like remove or add children)
-