Class CompositeCurveTests
java.lang.Object
org.opengis.cite.iso19136.data.DataFixture
org.opengis.cite.iso19136.data.spatial.CompositeCurveTests
Validates the content of a gml:CompositeCurve element, which implements the
GM_CompositeCurve class from ISO 19107. A composite curve is a sequence of orientable
curves agreeing in orientation such that each curve (except the first) begins where the
previous one ends.
Sources
- ISO 19136:2007, cl. 11.2.2.2: CompositeCurveType, CompositeCurve
- ISO 19107:2003, cl. 6.6.5: GM_CompositeCurve
-
Field Summary
Fields inherited from class org.opengis.cite.iso19136.data.DataFixture
dataFile, model
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
[Test
] Verifies that the component curves of a gml:CompositeCurve element are connected.void
A configuration method (BeforeClass
) that looks for gml:CompositeCurve elements in the GML document under test.Methods inherited from class org.opengis.cite.iso19136.data.DataFixture
generateXPathExpression, initDataFixture, setDataFile, setSchemaModel
-
Field Details
-
curveNodes
NodeList curveNodes -
curveElems
-
-
Constructor Details
-
CompositeCurveTests
public CompositeCurveTests()
-
-
Method Details
-
findCompositeCurves
@BeforeClass(alwaysRun=true) public void findCompositeCurves()A configuration method (BeforeClass
) that looks for gml:CompositeCurve elements in the GML document under test. If none are found all test methods defined in the class will be skipped. -
compositeCurveComponentsAreConnected
public void compositeCurveComponentsAreConnected()[Test
] Verifies that the component curves of a gml:CompositeCurve element are connected.Sources
- ISO 19136, 11.2.2.2: CompositeCurveType, CompositeCurve
-