Class TestRunnerTestCaseAdapter
java.lang.Object
org.locationtech.jtstest.testbuilder.model.TestRunnerTestCaseAdapter
- All Implemented Interfaces:
Testable
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGeometry
(int index) getName()
getWellKnownText
(int index) void
boolean
isFailed()
boolean
isPassed()
void
runTest()
void
setExpectedBoundary
(Geometry expectedBoundary) void
setExpectedCentroid
(Geometry expected) void
setExpectedConvexHull
(Geometry expectedConvexHull) void
setExpectedDifference
(Geometry expectedDifference) void
setExpectedIntersection
(Geometry expectedIntersection) void
setExpectedIntersectionMatrix
(String expectedIntersectionMatrix) void
setExpectedSymDifference
(Geometry expectedSymDifference) void
setExpectedUnion
(Geometry expectedUnion) void
setGeometry
(int index, Geometry g) void
void
toGeometry
(Test test)
-
Constructor Details
-
TestRunnerTestCaseAdapter
-
-
Method Details
-
setGeometry
- Specified by:
setGeometry
in interfaceTestable
-
setIntersectionMatrix
- Specified by:
setIntersectionMatrix
in interfaceTestable
-
setName
-
setExpectedIntersectionMatrix
-
setExpectedConvexHull
-
setExpectedBoundary
-
setExpectedIntersection
-
setExpectedUnion
-
setExpectedDifference
-
setExpectedSymDifference
-
setExpectedCentroid
-
isFailed
public boolean isFailed() -
getFailedMsg
-
getName
-
getGeometry
- Specified by:
getGeometry
in interfaceTestable
-
getIntersectionMatrix
- Specified by:
getIntersectionMatrix
in interfaceTestable
-
getDescription
- Specified by:
getDescription
in interfaceTestable
-
isPassed
public boolean isPassed() -
getWellKnownText
- Specified by:
getWellKnownText
in interfaceTestable
-
getTestRunnerTestCase
-
getExpectedIntersectionMatrix
-
getExpectedConvexHull
-
getExpectedBoundary
-
getExpectedIntersection
-
getExpectedUnion
-
getExpectedDifference
-
getExpectedSymDifference
-
runTest
- Throws:
ParseException
-
initGeometry
- Specified by:
initGeometry
in interfaceTestable
- Throws:
ParseException
-
toGeometry
-