Package org.spockframework.runtime
Class JUnitSorterAdapter
- java.lang.Object
-
- org.spockframework.runtime.JUnitSorterAdapter
-
- All Implemented Interfaces:
java.util.Comparator<FeatureInfo>
,IFeatureSortOrder
public class JUnitSorterAdapter extends java.lang.Object implements IFeatureSortOrder
Adapts an org.junit.runner.manipulation.Sorter to a IMethodInfoSorter.- Author:
- Peter Niederwieser
-
-
Constructor Summary
Constructors Constructor Description JUnitSorterAdapter(org.junit.runner.manipulation.Sorter sorter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(FeatureInfo m1, FeatureInfo m2)
-
-
-
Method Detail
-
compare
public int compare(FeatureInfo m1, FeatureInfo m2)
- Specified by:
compare
in interfacejava.util.Comparator<FeatureInfo>
-
-