polyglot.pth
Class ScriptTestSuite

java.lang.Object
  extended by polyglot.pth.AbstractTest
      extended by polyglot.pth.TestSuite
          extended by polyglot.pth.ScriptTestSuite
All Implemented Interfaces:
Test

public class ScriptTestSuite
extends TestSuite


Field Summary
protected  boolean saveProblem
           
protected  java.io.File scriptFile
           
 
Fields inherited from class polyglot.pth.TestSuite
haltOnFirstFailure, successfulTests, tests, totalTests
 
Fields inherited from class polyglot.pth.AbstractTest
description, failureMessage, hasRun, name, output, success, testResult
 
Constructor Summary
ScriptTestSuite(java.io.File scriptFile)
           
ScriptTestSuite(java.lang.String scriptFilename)
           
 
Method Summary
 java.util.List getTests()
           
protected  void loadResults()
           
protected  boolean loadScript()
           
protected  boolean parseScript()
           
protected  void postIndividualTest()
           
protected  void postRun()
           
protected  boolean runTest()
           
protected  boolean saveResults()
           
 
Methods inherited from class polyglot.pth.TestSuite
createTestResult, executeTest, getFailedTestCount, getHaltOnFirstFailure, getSuccesfulTestCount, getTestSuiteResult, getTotalTestCount, setOutputController
 
Methods inherited from class polyglot.pth.AbstractTest
getDescription, getFailureMessage, getName, getTestResult, preRun, run, setDescription, setFailureMessage, setName, setTestResult, success
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scriptFile

protected java.io.File scriptFile

saveProblem

protected boolean saveProblem
Constructor Detail

ScriptTestSuite

public ScriptTestSuite(java.lang.String scriptFilename)

ScriptTestSuite

public ScriptTestSuite(java.io.File scriptFile)
Method Detail

loadScript

protected boolean loadScript()

runTest

protected boolean runTest()
Overrides:
runTest in class TestSuite

postIndividualTest

protected void postIndividualTest()
Overrides:
postIndividualTest in class TestSuite

postRun

protected void postRun()
Overrides:
postRun in class AbstractTest

parseScript

protected boolean parseScript()

loadResults

protected void loadResults()

saveResults

protected boolean saveResults()

getTests

public java.util.List getTests()
Overrides:
getTests in class TestSuite