| 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)
public void setDescription(String description)
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 expectedCentroid)
public Geometry getGeometry(int index)
getGeometry in interface Testablepublic IntersectionMatrix getIntersectionMatrix()
getIntersectionMatrix in interface Testablepublic String getExpectedIntersectionMatrix()
public String getDescription()
getDescription in interface Testablepublic boolean isFailed()
public String getFailedMsg()
public boolean isPassed()
public boolean isRun()
public String getWellKnownText(int i)
getWellKnownText in interface Testablepublic Geometry getExpectedConvexHull()
public Geometry getExpectedBoundary()
public Geometry getExpectedIntersection()
public Geometry getExpectedUnion()
public Geometry getExpectedDifference()
public Geometry getExpectedSymDifference()
public Geometry[] getGeometries()
public void runTest()
throws ParseException
ParseExceptionpublic void initGeometry()
throws ParseException
initGeometry in interface TestableParseExceptionCopyright © 2025. All rights reserved.