Class Runner2

  • All Implemented Interfaces:
    Runner

    public abstract class Runner2
    extends java.lang.Object
    implements Runner
    New Runner that can handle more types of Fingerprints.
    • Constructor Summary

      Constructors 
      Constructor Description
      Runner2()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void run​(java.lang.String testClassName, Fingerprint fingerprint, EventHandler eventHandler, java.lang.String[] args)
      Runs the test suite with class name 'testClassName' and returns the results of executing each test contained in the suite.
      void run​(java.lang.String testClassName, TestFingerprint fingerprint, EventHandler eventHandler, java.lang.String[] args)
      Runs the test suite with class name 'testClassName' and returns the results of executing each test contained in the suite.
      • Methods inherited from class java.lang.Object

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

      • Runner2

        public Runner2()
    • Method Detail

      • run

        public abstract void run​(java.lang.String testClassName,
                                 Fingerprint fingerprint,
                                 EventHandler eventHandler,
                                 java.lang.String[] args)
        Runs the test suite with class name 'testClassName' and returns the results of executing each test contained in the suite. This Runner should run the suite in the calling (current) thread. 'fingerprint' indicates how the test suite was identified as a test suite. This method may be called with the same value for 'testClassName' but different fingerprints. For example, if both a class and its companion object were tests, this method would be called with the same name but with a different value for 'fingerprint.isModule'.
      • run

        public final void run​(java.lang.String testClassName,
                              TestFingerprint fingerprint,
                              EventHandler eventHandler,
                              java.lang.String[] args)
        Description copied from interface: Runner
        Runs the test suite with class name 'testClassName' and returns the results of executing each test contained in the suite. This Runner should run the suite in the calling (current) thread. 'fingerprint' indicates how the test suite was identified as a test suite. This method may be called with the same value for 'testClassName' but different fingerprints. For example, if both a class and its companion object were tests, this method would be called with the same name but with a different value for 'fingerprint.isModule'.
        Specified by:
        run in interface Runner