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 Testable
public TestCase setPrecisionModel(PrecisionModel pm)
public void setIntersectionMatrix(IntersectionMatrix im)
setIntersectionMatrix
in interface Testable
public 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 Testable
public IntersectionMatrix getIntersectionMatrix()
getIntersectionMatrix
in interface Testable
public String getExpectedIntersectionMatrix()
public String getDescription()
getDescription
in interface Testable
public boolean isFailed()
public String getFailedMsg()
public boolean isPassed()
public boolean isRun()
public String getWellKnownText(int i)
getWellKnownText
in interface Testable
public 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
ParseException
public void initGeometry() throws ParseException
initGeometry
in interface Testable
ParseException
Copyright © 2018. All rights reserved.