public static class MethodSorter.LineComparator extends Object implements Comparator<org.junit.runners.model.FrameworkMethod>
Modifier and Type | Field and Description |
---|---|
Map<String,Integer> |
nameToLine |
Constructor and Description |
---|
LineComparator(Map<String,Integer> nameToLine) |
Modifier and Type | Method and Description |
---|---|
int |
compare(org.junit.runners.model.FrameworkMethod fm1,
org.junit.runners.model.FrameworkMethod fm2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public Map<String,Integer> nameToLine
public LineComparator(Map<String,Integer> nameToLine)
public int compare(org.junit.runners.model.FrameworkMethod fm1, org.junit.runners.model.FrameworkMethod fm2)
compare
in interface Comparator<org.junit.runners.model.FrameworkMethod>
Copyright © 2015 Nuxeo SA. All rights reserved.