Class TestRunnerTestCaseAdapter

java.lang.Object
org.locationtech.jtstest.testbuilder.model.TestRunnerTestCaseAdapter
All Implemented Interfaces:
Testable

public class TestRunnerTestCaseAdapter extends Object implements Testable
Version:
1.7
  • Constructor Details

    • TestRunnerTestCaseAdapter

      public TestRunnerTestCaseAdapter(TestCase testCase)
  • Method Details

    • setGeometry

      public void setGeometry(int index, Geometry g)
      Specified by:
      setGeometry in interface Testable
    • setIntersectionMatrix

      public void setIntersectionMatrix(IntersectionMatrix im)
      Specified by:
      setIntersectionMatrix in interface Testable
    • setName

      public void setName(String name)
      Specified by:
      setName in interface Testable
    • setExpectedIntersectionMatrix

      public void setExpectedIntersectionMatrix(String expectedIntersectionMatrix)
    • setExpectedConvexHull

      public void setExpectedConvexHull(Geometry expectedConvexHull)
    • setExpectedBoundary

      public void setExpectedBoundary(Geometry expectedBoundary)
    • setExpectedIntersection

      public void setExpectedIntersection(Geometry expectedIntersection)
    • setExpectedUnion

      public void setExpectedUnion(Geometry expectedUnion)
    • setExpectedDifference

      public void setExpectedDifference(Geometry expectedDifference)
    • setExpectedSymDifference

      public void setExpectedSymDifference(Geometry expectedSymDifference)
    • setExpectedCentroid

      public void setExpectedCentroid(Geometry expected)
    • isFailed

      public boolean isFailed()
    • getFailedMsg

      public String getFailedMsg()
    • getName

      public String getName()
      Specified by:
      getName in interface Testable
    • getGeometry

      public Geometry getGeometry(int index)
      Specified by:
      getGeometry in interface Testable
    • getIntersectionMatrix

      public IntersectionMatrix getIntersectionMatrix()
      Specified by:
      getIntersectionMatrix in interface Testable
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface Testable
    • isPassed

      public boolean isPassed()
    • getWellKnownText

      public String getWellKnownText(int index)
      Specified by:
      getWellKnownText in interface Testable
    • getTestRunnerTestCase

      public TestCase getTestRunnerTestCase()
    • getExpectedIntersectionMatrix

      public String getExpectedIntersectionMatrix()
    • getExpectedConvexHull

      public Geometry getExpectedConvexHull()
    • getExpectedBoundary

      public Geometry getExpectedBoundary()
    • getExpectedIntersection

      public Geometry getExpectedIntersection()
    • getExpectedUnion

      public Geometry getExpectedUnion()
    • getExpectedDifference

      public Geometry getExpectedDifference()
    • getExpectedSymDifference

      public Geometry getExpectedSymDifference()
    • runTest

      public void runTest() throws ParseException
      Throws:
      ParseException
    • initGeometry

      public void initGeometry() throws ParseException
      Specified by:
      initGeometry in interface Testable
      Throws:
      ParseException
    • toGeometry

      public Geometry toGeometry(Test test)