Class TestEngine

java.lang.Object
org.locationtech.jtstest.testrunner.TestEngine
All Implemented Interfaces:
Runnable

public class TestEngine extends Object implements Runnable
Converts test File's to TestCase's and runs them.
Version:
1.7
  • Constructor Details

    • TestEngine

      public TestEngine()
      Creates a TestEngine.
  • Method Details

    • setTestFiles

      public void setTestFiles(List<File> testFiles)
      Sets the File's that contain the tests.
    • setTestCaseIndexToRun

      public void setTestCaseIndexToRun(int testCaseIndexToRun)
    • getExceptionCount

      public int getExceptionCount()
    • getFailedCount

      public int getFailedCount()
    • getPassedCount

      public int getPassedCount()
    • getParseExceptionCount

      public int getParseExceptionCount()
    • isRunning

      public boolean isRunning()
      Returns whether the TestEngine is running any TestCase's.
    • getTestCount

      public int getTestCount()
      Returns the total number of tests.
    • getTestCaseCount

      public int getTestCaseCount()
    • getParsingProblems

      public List getParsingProblems()
    • getTestRuns

      public List<TestRun> getTestRuns()
    • getStart

      public Date getStart()
    • getEnd

      public Date getEnd()
    • clearParsingProblems

      public void clearParsingProblems()
    • run

      public void run()
      Specified by:
      run in interface Runnable