Class TestEngine
java.lang.Object
org.locationtech.jtstest.testrunner.TestEngine
- All Implemented Interfaces:
Runnable
Converts test File's to TestCase's and runs them.
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getEnd()
int
int
int
int
getStart()
int
int
Returns the total number of tests.boolean
Returns whether the TestEngine is running any TestCase's.void
run()
void
setTestCaseIndexToRun
(int testCaseIndexToRun) void
setTestFiles
(List<File> testFiles) Sets the File's that contain the tests.
-
Constructor Details
-
TestEngine
public TestEngine()Creates a TestEngine.
-
-
Method Details
-
setTestFiles
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
-
getTestRuns
-
getStart
-
getEnd
-
clearParsingProblems
public void clearParsingProblems() -
run
public void run()
-