Package org.junit.runner.manipulation
Class Orderer
- java.lang.Object
-
- org.junit.runner.manipulation.Orderer
-
public final class Orderer extends Object
Orders tests.- Since:
- 4.13
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Object target)
Order the tests intarget
.List<Description>
order(Collection<Description> descriptions)
Orders the descriptions.
-
-
-
Method Detail
-
order
public List<Description> order(Collection<Description> descriptions) throws InvalidOrderingException
Orders the descriptions.- Returns:
- descriptions in order
- Throws:
InvalidOrderingException
-
apply
public void apply(Object target) throws InvalidOrderingException
Order the tests intarget
.- Throws:
InvalidOrderingException
- if ordering does something invalid (like remove or add children)
-
-