Package org.spockframework.runtime
Class JUnitSorterAdapter
java.lang.Object
org.spockframework.runtime.JUnitSorterAdapter
- All Implemented Interfaces:
Comparator<FeatureInfo>
,IFeatureSortOrder
Adapts an org.junit.runner.manipulation.Sorter to a IMethodInfoSorter.
- Author:
- Peter Niederwieser
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
JUnitSorterAdapter
public JUnitSorterAdapter(org.junit.runner.manipulation.Sorter sorter)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<FeatureInfo>
-