| Modifier and Type | Field and Description |
|---|---|
private boolean |
ranAtLeastOnce |
private TestCase |
testCase |
private WKTWriter |
wktWriter |
| Constructor and Description |
|---|
TestRunnerTestCaseAdapter(TestCase testCase) |
private TestCase testCase
private boolean ranAtLeastOnce
private WKTWriter wktWriter
public TestRunnerTestCaseAdapter(TestCase testCase)
public void setGeometry(int index,
Geometry g)
setGeometry in interface Testablepublic void setIntersectionMatrix(IntersectionMatrix im)
setIntersectionMatrix in interface Testablepublic void setExpectedIntersectionMatrix(java.lang.String expectedIntersectionMatrix)
public void setExpectedConvexHull(Geometry expectedConvexHull)
public void setExpectedBoundary(Geometry expectedBoundary)
public void setExpectedIntersection(Geometry expectedIntersection)
public void setExpectedUnion(Geometry expectedUnion)
public void setExpectedDifference(Geometry expectedDifference)
public void setExpectedSymDifference(Geometry expectedSymDifference)
public void setExpectedCentroid(Geometry expected)
public boolean isFailed()
public java.lang.String getFailedMsg()
public Geometry getGeometry(int index)
getGeometry in interface Testablepublic IntersectionMatrix getIntersectionMatrix()
getIntersectionMatrix in interface Testablepublic java.lang.String getDescription()
getDescription in interface Testablepublic boolean isPassed()
public java.lang.String getWellKnownText(int index)
getWellKnownText in interface Testablepublic TestCase getTestRunnerTestCase()
public java.lang.String getExpectedIntersectionMatrix()
public Geometry getExpectedConvexHull()
public Geometry getExpectedBoundary()
public Geometry getExpectedIntersection()
public Geometry getExpectedUnion()
public Geometry getExpectedDifference()
public Geometry getExpectedSymDifference()
public void runTest()
throws ParseException
ParseExceptionpublic void initGeometry()
throws ParseException
initGeometry in interface TestableParseExceptionprivate void setExpectedSpatialFunction(java.lang.String opName,
Geometry expectedGeometry)
private Test getOrCreateABTest(java.lang.String opName)
private Result getDefaultResult(java.lang.String opName)
private Test getABTest(java.lang.String opName)
private int maxTestIndex(TestCase testCase)