Class TestRunner

java.lang.Object
noaa.coastwatch.test.TestRunner

public class TestRunner extends Object
The TestableTester class contains a single static method main() that runs the unit tests for all classes that registered for testing.
Since:
3.3.1
Author:
Peter Hollemans
  • Method Details

    • getInstance

      public static TestRunner getInstance()
      Gets the singleton instance of this class.
    • register

      public void register(Class classObj)
      Registers a class for testing.
      Parameters:
      classObj - the class for testing.
    • runTests

      public void runTests() throws Exception
      Runs the tests for the classes registered for testing.
      Throws:
      Exception
    • main

      public static void main(String[] argv) throws Exception
      Runs the main method.
      Throws:
      Exception