public final class Orderer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
apply(java.lang.Object target)
Order the tests in
target. |
java.util.List<Description> |
order(java.util.Collection<Description> descriptions)
Orders the descriptions.
|
private final Ordering ordering
Orderer(Ordering delegate)
public java.util.List<Description> order(java.util.Collection<Description> descriptions) throws InvalidOrderingException
InvalidOrderingExceptionpublic void apply(java.lang.Object target)
throws InvalidOrderingException
target.InvalidOrderingException - if ordering does something invalid (like remove or add
children)