Class MethodSorter


  • public class MethodSorter
    extends Object
    Utility class that sorts a list of JUnit methods according to their source line number.
    Since:
    7.1
    • Method Detail

      • sortMethodsUsingSourceOrder

        public static void sortMethodsUsingSourceOrder​(List<org.junit.runners.model.FrameworkMethod> methods)
        Sorts a list of JUnit methods according to their source line number.
        Parameters:
        methods - the JUnit methods