public class MethodSorter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MethodSorter.CV
Class Visitor that constructs a map of method name to source line number.
|
static class |
MethodSorter.LineComparator
Comparator of methods according to their line number.
|
static class |
MethodSorter.MV
Method Visitor that records method source line number.
|
Modifier and Type | Method and Description |
---|---|
static void |
sortMethodsUsingSourceOrder(List<org.junit.runners.model.FrameworkMethod> methods)
Sorts a list of JUnit methods according to their source line number.
|
public static void sortMethodsUsingSourceOrder(List<org.junit.runners.model.FrameworkMethod> methods)
methods
- the JUnit methodsCopyright © 2015 Nuxeo SA. All rights reserved.