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)
setExpectedIntersectionMatrix
in interface Testable
public void setDescription(String description)
public void setExpectedConvexHull(Geometry expectedConvexHull)
setExpectedConvexHull
in interface Testable
public void setExpectedBoundary(Geometry expectedBoundary)
setExpectedBoundary
in interface Testable
public void setExpectedIntersection(Geometry expectedIntersection)
setExpectedIntersection
in interface Testable
public void setExpectedUnion(Geometry expectedUnion)
setExpectedUnion
in interface Testable
public void setExpectedDifference(Geometry expectedDifference)
setExpectedDifference
in interface Testable
public void setExpectedSymDifference(Geometry expectedSymDifference)
setExpectedSymDifference
in interface Testable
public void setExpectedCentroid(Geometry expectedCentroid)
setExpectedCentroid
in interface Testable
public Geometry getGeometry(int index)
getGeometry
in interface Testable
public IntersectionMatrix getIntersectionMatrix()
getIntersectionMatrix
in interface Testable
public String getExpectedIntersectionMatrix()
getExpectedIntersectionMatrix
in interface Testable
public String getDescription()
getDescription
in interface Testable
public String getFailedMsg()
getFailedMsg
in interface Testable
public boolean isRun()
public String getWellKnownText(int i)
getWellKnownText
in interface Testable
public Geometry getExpectedConvexHull()
getExpectedConvexHull
in interface Testable
public Geometry getExpectedBoundary()
getExpectedBoundary
in interface Testable
public Geometry getExpectedIntersection()
getExpectedIntersection
in interface Testable
public Geometry getExpectedUnion()
getExpectedUnion
in interface Testable
public Geometry getExpectedDifference()
getExpectedDifference
in interface Testable
public Geometry getExpectedSymDifference()
getExpectedSymDifference
in interface Testable
public Geometry[] getGeometries()
public void runTest() throws ParseException
runTest
in interface Testable
ParseException
public void initGeometry() throws ParseException
initGeometry
in interface Testable
ParseException
Copyright © 2016. All rights reserved.