| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
expectedIM |
protected boolean |
failed |
protected String |
failedMsg |
protected boolean |
isRun |
protected String |
name |
| Constructor and Description |
|---|
TestCase() |
TestCase(String name) |
TestCase(String name,
String description,
String wkta,
String wktb,
String expectedIM) |
TestCase(String name,
String description,
String wkta,
String wktb,
String expectedIM,
String expectedConvexHull,
String expectedIntersection,
String expectedUnion,
String expectedDifference,
String expectedSymDifference) |
TestCase(String name,
String description,
String wkta,
String wktb,
String expectedIM,
String expectedConvexHull,
String expectedIntersection,
String expectedUnion,
String expectedDifference,
String expectedSymDifference,
String expectedBoundary) |
TestCase(TestCase tc) |
protected String name
protected String description
protected String expectedIM
protected boolean isRun
protected boolean failed
protected String failedMsg
public TestCase()
public TestCase(String name)
public TestCase(String name, String description, String wkta, String wktb, String expectedIM)
public TestCase(String name, String description, String wkta, String wktb, String expectedIM, String expectedConvexHull, String expectedIntersection, String expectedUnion, String expectedDifference, String expectedSymDifference)
public TestCase(String name, String description, String wkta, String wktb, String expectedIM, String expectedConvexHull, String expectedIntersection, String expectedUnion, String expectedDifference, String expectedSymDifference, String expectedBoundary)
public TestCase(TestCase tc)
public void setGeometry(int index,
Geometry g)
setGeometry in interface Testablepublic TestCase setPrecisionModel(PrecisionModel pm)
public void setIntersectionMatrix(IntersectionMatrix im)
setIntersectionMatrix in interface Testablepublic void setExpectedIntersectionMatrix(String expectedIntersectionMatrix)
setExpectedIntersectionMatrix in interface Testablepublic void setDescription(String description)
public void setExpectedConvexHull(Geometry expectedConvexHull)
setExpectedConvexHull in interface Testablepublic void setExpectedBoundary(Geometry expectedBoundary)
setExpectedBoundary in interface Testablepublic void setExpectedIntersection(Geometry expectedIntersection)
setExpectedIntersection in interface Testablepublic void setExpectedUnion(Geometry expectedUnion)
setExpectedUnion in interface Testablepublic void setExpectedDifference(Geometry expectedDifference)
setExpectedDifference in interface Testablepublic void setExpectedSymDifference(Geometry expectedSymDifference)
setExpectedSymDifference in interface Testablepublic void setExpectedCentroid(Geometry expectedCentroid)
setExpectedCentroid in interface Testablepublic Geometry getGeometry(int index)
getGeometry in interface Testablepublic IntersectionMatrix getIntersectionMatrix()
getIntersectionMatrix in interface Testablepublic String getExpectedIntersectionMatrix()
getExpectedIntersectionMatrix in interface Testablepublic String getDescription()
getDescription in interface Testablepublic String getFailedMsg()
getFailedMsg in interface Testablepublic boolean isRun()
public String getWellKnownText(int i)
getWellKnownText in interface Testablepublic Geometry getExpectedConvexHull()
getExpectedConvexHull in interface Testablepublic Geometry getExpectedBoundary()
getExpectedBoundary in interface Testablepublic Geometry getExpectedIntersection()
getExpectedIntersection in interface Testablepublic Geometry getExpectedUnion()
getExpectedUnion in interface Testablepublic Geometry getExpectedDifference()
getExpectedDifference in interface Testablepublic Geometry getExpectedSymDifference()
getExpectedSymDifference in interface Testablepublic Geometry[] getGeometries()
public void runTest()
throws ParseException
runTest in interface TestableParseExceptionpublic void initGeometry()
throws ParseException
initGeometry in interface TestableParseExceptionCopyright © 2025. All rights reserved.