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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Date
private boolean
private Date
private int
private List
private TestReader
private List
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
private List
Creates TestRun's, one for each test File.getEnd()
int
int
int
int
getStart()
int
int
Returns the total number of tests.private List
getTests()
private List
boolean
Returns whether the TestEngine is running any TestCase's.void
run()
void
setTestCaseIndexToRun
(int testCaseIndexToRun) void
setTestFiles
(List testFiles) Sets the File's that contain the tests.
-
Field Details
-
testFiles
-
testCaseIndexToRun
private int testCaseIndexToRun -
running
private boolean running -
testRuns
-
testReader
-
start
-
end
-
-
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() -
getTests
-
getTests
-
createTestRuns
Creates TestRun's, one for each test File.
-