public class ViewTests extends BaseFixture
Contains test methods that apply to view elements (kml:Camera, kml:LookAt).
NS_MAP, testSubject| Constructor and Description |
|---|
ViewTests() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
checkTiltRange(Element lookAt,
org.opengis.cite.validation.ValidationErrorHandler errHandler)
An error is reported if the value of the kml:tilt element (of type
kml:anglepos180Type) is outside the valid range 0-90.
|
void |
verifyLookAt()
[
Test] Verifies that a kml:LookAt element satisfies all of the
following constraints:
if it is not a descendant of kml:Update, it contains all of the
following child elements: kml:longitude, kml:latitude, and kml:range;
0 <= kml:tilt <= 90;
if kml:altitudeMode does not have the value "clampToGround", then the
kml:altitude element is present. |
obtainTestSubject, setTestSubject, verifyElementNotEmptypublic void verifyLookAt()
Test] Verifies that a kml:LookAt element satisfies all of the
following constraints:
void checkTiltRange(Element lookAt, org.opengis.cite.validation.ValidationErrorHandler errHandler)
lookAt - A kml:LookAt element.errHandler - The error handler that accepts a reported constraint
violation.Copyright © 2021 Open Geospatial Consortium. All rights reserved.