Class 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.
    • Constructor Detail

    • Method Detail

      • compare

        public int compare​(org.junit.runners.model.FrameworkMethod fm1,
                           org.junit.runners.model.FrameworkMethod fm2)
        Specified by:
        compare in interface Comparator<org.junit.runners.model.FrameworkMethod>