carbidecpp20devenv/plugins/org.eclipse.test.source_3.3.0.v20080507/src/org.junit4_4.3.1/junitsrc/junit/runner/TestRunListener.java
changeset 1 82d1d1de1a01
equal deleted inserted replaced
-1:000000000000 1:82d1d1de1a01
       
     1 package junit.runner;
       
     2 /**
       
     3  * A listener interface for observing the
       
     4  * execution of a test run. Unlike TestListener,
       
     5  * this interface using only primitive objects,
       
     6  * making it suitable for remote test execution.
       
     7  */
       
     8  public interface TestRunListener {
       
     9      /* test status constants*/
       
    10      public static final int STATUS_ERROR= 1;
       
    11      public static final int STATUS_FAILURE= 2;
       
    12 
       
    13      public void testRunStarted(String testSuiteName, int testCount);
       
    14      public void testRunEnded(long elapsedTime);
       
    15      public void testRunStopped(long elapsedTime);
       
    16      public void testStarted(String testName);
       
    17      public void testEnded(String testName);
       
    18      public void testFailed(int status, String testName, String trace);
       
    19 }