Class MethodOrderer.Alphanumeric

  • All Implemented Interfaces:
    MethodOrderer
    Enclosing interface:
    MethodOrderer

    @API(status=DEPRECATED,
         since="5.7")
    @Deprecated
    public static class MethodOrderer.Alphanumeric
    extends MethodOrderer.MethodName
    Deprecated.
    as of JUnit Jupiter 5.7 in favor of MethodOrderer.MethodName; to be removed in 6.0
    MethodOrderer that sorts methods alphanumerically based on their names using String.compareTo(String).

    If two methods have the same name, String representations of their formal parameter lists will be used as a fallback for comparing the methods.

    Since:
    5.4
    • Constructor Detail

      • Alphanumeric

        public Alphanumeric()
        Deprecated.