Class Systematiser


  • public final class Systematiser
    extends java.lang.Object
    Helps determine how should ITestNGMethod be ordered by TestNG.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  Systematiser.Order  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Systematiser()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Comparator<ITestNGMethod> getComparator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COMPARE_INSTANCES

        private static final java.util.Comparator<ITestNGMethod> COMPARE_INSTANCES
    • Constructor Detail

      • Systematiser

        private Systematiser()
    • Method Detail

      • getComparator

        public static java.util.Comparator<ITestNGMethod> getComparator()
        Returns:
        - A Comparator that helps TestNG sort ITestNGMethods in a specific order. Currently the following two orders are supported :
        1. Based on the name of methods
        2. Based on the toString() implementation that resides within the test class