public class DataFixture extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
collectionTestSubject |
protected String |
testSubject |
| Constructor and Description |
|---|
DataFixture() |
| Modifier and Type | Method and Description |
|---|---|
void |
obtainTestSubject(org.testng.ITestContext testContext)
Obtains the test subject from the ISuite context.
|
org.json.JSONObject |
readJSONObjectFromFile(File filePath) |
void |
setTestSubject(String testSubject)
Sets the test subject.
|
protected String testSubject
protected String collectionTestSubject
public void obtainTestSubject(org.testng.ITestContext testContext)
testContext - The test (group) context.public void setTestSubject(String testSubject)
testSubject - A Document node representing the test subject or metadata
about it.public org.json.JSONObject readJSONObjectFromFile(File filePath) throws IOException
IOExceptionCopyright © 2022 Open Geospatial Consortium. All rights reserved.