Class 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)  
      • 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 Detail

      • JUnitSorterAdapter

        public JUnitSorterAdapter​(org.junit.runner.manipulation.Sorter sorter)