Class Runner2

java.lang.Object
org.scalatools.testing.Runner2
All Implemented Interfaces:
Runner

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

    • Runner2

      public Runner2()
  • Method Details

    • run

      public abstract void run(String testClassName, Fingerprint fingerprint, EventHandler eventHandler, 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(String testClassName, TestFingerprint fingerprint, EventHandler eventHandler, 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