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