polyglot.pth
Class OutputController
java.lang.Object
polyglot.pth.OutputController
- Direct Known Subclasses:
- SilentOutputController, StdOutputController, VerboseOutputController
public abstract class OutputController
- extends java.lang.Object
Field Summary |
protected java.io.PrintStream |
out
|
protected java.util.Calendar |
today
|
protected java.util.Calendar |
week
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected final java.io.PrintStream out
today
protected final java.util.Calendar today
week
protected final java.util.Calendar week
OutputController
public OutputController(java.io.PrintStream out)
startTest
public void startTest(Test t)
finishTest
public void finishTest(Test t,
ErrorQueue eq)
startScriptTestSuite
protected abstract void startScriptTestSuite(ScriptTestSuite sts)
startSourceFileTest
protected abstract void startSourceFileTest(SourceFileTest sft)
finishScriptTestSuite
protected abstract void finishScriptTestSuite(ScriptTestSuite sts)
finishSourceFileTest
protected abstract void finishSourceFileTest(SourceFileTest sft,
ErrorQueue eq)
displayTestSuiteResults
public abstract void displayTestSuiteResults(java.lang.String suiteName,
TestSuite ts)
displayTestResults
public abstract void displayTestResults(TestResult tr,
java.lang.String testName)
getDefaultDateFormat
protected java.text.DateFormat getDefaultDateFormat()
getSameYearDateFormat
protected java.text.DateFormat getSameYearDateFormat()
getSameWeekDateFormat
protected java.text.DateFormat getSameWeekDateFormat()
getTodayDateFormat
protected java.text.DateFormat getTodayDateFormat()
getDateDisplay
public java.lang.String getDateDisplay(java.util.Date d)
warning
public abstract void warning(java.lang.String w)