1 33 34 package edu.rice.cs.drjava.model.junit; 35 36 import java.io.IOException ; 37 import java.io.File ; 38 import java.util.List ; 39 import edu.rice.cs.drjava.model.OpenDefinitionsDocument; 40 import edu.rice.cs.util.text.SwingDocument; 41 42 public interface JUnitModel { 43 44 46 47 48 public void setForceTestSuffix(boolean b); 49 50 52 55 public void addListener(JUnitListener listener); 56 57 61 public void removeListener(JUnitListener listener); 62 63 64 public void removeAllListeners(); 65 66 68 69 public SwingDocument getJUnitDocument(); 70 71 75 public void junitAll(); 76 77 82 public void junitProject(); 83 84 88 public void junitDocs(List <OpenDefinitionsDocument> lod); 89 90 94 public void junit(OpenDefinitionsDocument doc) throws ClassNotFoundException , IOException ; 95 96 100 public void junitClasses(List <String > qualifiedClassnames, List <File > files); 101 102 104 107 public void nonTestCase(boolean isTestAll); 108 109 111 112 public JUnitErrorModel getJUnitErrorModel(); 113 114 115 public void resetJUnitErrors(); 116 117 } 118 | Popular Tags |