Package org.opengis.cite.georss10
Class DataFixture
java.lang.Object
org.opengis.cite.georss10.DataFixture
- Direct Known Subclasses:
Georss11ValidationTests
Includes various tests of capability 1.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
obtainTestSubject
(org.testng.ITestContext testContext) Obtains the test subject from the ISuite context.void
setTestSubject
(Document testSubject) Sets the test subject.
-
Field Details
-
testSubject
-
-
Constructor Details
-
DataFixture
public DataFixture()
-
-
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.
-