1 package jester; 2 3 public interface Report { 4 public static final int INITIAL_SCORE = -1; 5 6 void setNumberOfFilesThatWillBeTested(int numberOfFilesThatWillBeTested); 7 void startFile(String sourceFileName, IgnoreListDocument originalContents) throws SourceChangeException; 8 void finishFile(String sourceFileName) throws SourceChangeException; 9 10 int fileScore(); 11 int totalScore(); 12 13 void changeThatCausedTestsToFail(int indexOfChange, String valueChangedFrom, String valueChangedTo) throws SourceChangeException; 14 void changeThatDidNotCauseTestsToFail(int indexOfChange, String valueChangedFrom, String valueChangedTo) throws SourceChangeException; 15 } | Popular Tags |