1 54 55 package junitx.runner.engine; 56 57 import java.util.Properties ; 58 59 import junit.framework.Test; 60 import junit.framework.TestResult; 61 62 68 public interface RunListener { 69 70 void setRunContext(RunContext context); 71 72 void init(Properties props) throws Exception ; 73 74 void runStarted(final Test test, long time); 75 76 void runStopped(final Test test, long duration); 77 78 void runEnded(final Test test, final TestResult result, long duration); 79 80 void testIgnored(final Test test); 81 82 void testStarted(final Test test, final TestResult result); 83 84 void testFailure(final Test test, final TestResult result, Throwable t); 85 86 void testError(final Test test, final TestResult result, Throwable t); 87 88 void testSuccess(final Test test, final TestResult result); 89 90 } 91 | Popular Tags |