Package org.nuxeo.runtime.test.runner
Class MethodSorter.LineComparator
java.lang.Object
org.nuxeo.runtime.test.runner.MethodSorter.LineComparator
- All Implemented Interfaces:
Comparator<org.junit.runners.model.FrameworkMethod>
- Enclosing class:
- MethodSorter
public static class MethodSorter.LineComparator
extends Object
implements Comparator<org.junit.runners.model.FrameworkMethod>
Comparator of methods according to their line number.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.junit.runners.model.FrameworkMethod fm1, org.junit.runners.model.FrameworkMethod fm2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
nameToLine
-
-
Constructor Details
-
LineComparator
-
-
Method Details
-
compare
public int compare(org.junit.runners.model.FrameworkMethod fm1, org.junit.runners.model.FrameworkMethod fm2) - Specified by:
compare
in interfaceComparator<org.junit.runners.model.FrameworkMethod>
-