1 11 12 package org.eclipse.jdt.junit; 13 14 import org.eclipse.jdt.internal.junit.model.ITestRunListener2; 15 16 17 28 public interface ITestRunListener { 29 34 public static final int STATUS_OK= ITestRunListener2.STATUS_OK; 35 41 public static final int STATUS_ERROR= ITestRunListener2.STATUS_ERROR; 42 48 public static final int STATUS_FAILURE= ITestRunListener2.STATUS_FAILURE; 49 54 public void testRunStarted(int testCount); 55 60 public void testRunEnded(long elapsedTime); 61 66 public void testRunStopped(long elapsedTime); 67 73 public void testStarted(String testId, String testName); 74 80 public void testEnded(String testId, String testName); 81 91 public void testFailed(int status, String testId, String testName, String trace); 92 93 96 public void testRunTerminated(); 97 98 110 public void testReran(String testId, String testClass, String testName, int status, String trace); 111 } 112 113 114 | Popular Tags |