Class BasicYPR
java.lang.Object
org.opengis.cite.geopose10.CommonFixture
org.opengis.cite.geopose10.encodings.json.BasicYPR
BasicYPR class.
-
Field Summary
Fields inherited from class org.opengis.cite.geopose10.CommonFixture
client, request, response, ROOT_PKG_PATH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
obtainTestSubject
(org.testng.ITestContext testContext) Obtains the test subject from the ISuite context.void
setTestSubject
(File testSubject) Sets the test subject.void
Implements Conformance test A.37: Verify conformance via JSON schema Test Method: Validate the JSON data against the Basic-YPR JSON Schema 2019-9 definitionMethods inherited from class org.opengis.cite.geopose10.CommonFixture
buildGetRequest, clearMessages, getResponseEntityAsDocument, initCommonFixture
-
Constructor Details
-
BasicYPR
public BasicYPR()
-
-
Method Details
-
obtainTestSubject
@BeforeClass public void obtainTestSubject(org.testng.ITestContext testContext) Obtains the test subject from the ISuite context. The suite attributeSuiteAttribute.TEST_SUBJECT
should evaluate to a DOM Document node.- Parameters:
testContext
- The test (group) context.
-
setTestSubject
Sets the test subject. This method is intended to facilitate unit testing.- Parameters:
testSubject
- A Document node representing the test subject or metadata about it.
-
validateByBasicYprSchema
public void validateByBasicYprSchema()Implements Conformance test A.37: Verify conformance via JSON schema Test Method: Validate the JSON data against the Basic-YPR JSON Schema 2019-9 definition
-