public class TestRun
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private GeometryOperation |
geomOp |
private PrecisionModel |
precisionModel |
private ResultMatcher |
resultMatcher |
private int |
runIndex |
private int |
testCaseIndexToRun |
private java.util.List |
testCases |
private java.io.File |
testFile |
private java.io.File |
workspace |
Constructor and Description |
---|
TestRun(java.lang.String description,
int runIndex,
PrecisionModel precisionModel,
GeometryOperation geomOp,
ResultMatcher resultMatcher,
java.io.File testFile) |
Modifier and Type | Method and Description |
---|---|
void |
addTestCase(TestCase testCase) |
java.lang.String |
getDescription() |
GeometryOperation |
getGeometryOperation() |
PrecisionModel |
getPrecisionModel() |
ResultMatcher |
getResultMatcher() |
int |
getRunIndex() |
java.util.List |
getTestCases() |
int |
getTestCount() |
java.io.File |
getTestFile() |
java.io.File |
getWorkspace() |
void |
run() |
void |
setTestCaseIndexToRun(int testCaseIndexToRun) |
void |
setWorkspace(java.io.File workspace) |
private int testCaseIndexToRun
private java.lang.String description
private java.util.List testCases
private PrecisionModel precisionModel
private GeometryOperation geomOp
private ResultMatcher resultMatcher
private int runIndex
private java.io.File testFile
private java.io.File workspace
public TestRun(java.lang.String description, int runIndex, PrecisionModel precisionModel, GeometryOperation geomOp, ResultMatcher resultMatcher, java.io.File testFile)
description
- runIndex
- precisionModel
- geomOp
- a GeometryOperation to use for all tests in this run (may be null)testFile
- public void setWorkspace(java.io.File workspace)
public void setTestCaseIndexToRun(int testCaseIndexToRun)
public java.io.File getWorkspace()
public int getTestCount()
public java.lang.String getDescription()
public int getRunIndex()
public PrecisionModel getPrecisionModel()
public GeometryOperation getGeometryOperation()
public ResultMatcher getResultMatcher()
public java.util.List getTestCases()
public java.io.File getTestFile()
public void addTestCase(TestCase testCase)
public void run()
run
in interface java.lang.Runnable