1 33 34 package edu.rice.cs.drjava.model.junit; 35 36 import java.util.List ; 37 38 import edu.rice.cs.drjava.model.OpenDefinitionsDocument; 39 import edu.rice.cs.drjava.model.compiler.CompilerListener; 40 41 import edu.rice.cs.util.classloader.ClassFileError; 42 43 48 public interface JUnitListener { 49 50 53 public void nonTestCase(boolean isTestAll); 54 55 58 public void classFileError(ClassFileError e); 59 60 61 public void junitStarted(); 62 63 64 public void junitClassesStarted(); 65 66 69 public void junitSuiteStarted(int numTests); 70 71 74 public void junitTestStarted(String name); 75 76 81 public void junitTestEnded(String name, boolean wasSuccessful, boolean causedError); 82 83 84 public void junitEnded(); 85 86 90 public void compileBeforeJUnit(final CompilerListener l); 91 } | Popular Tags |