Class SHAFT.TestData.JSON
java.lang.Object
com.shaft.tools.io.JSONFileManager
com.shaft.driver.SHAFT.TestData.JSON
- Enclosing class:
SHAFT.TestData
Reads test data from JSON files.
-
Nested Class Summary
Nested classes/interfaces inherited from class JSONFileManager
JSONFileManager.DataType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSONFileManagergetInstance(String jsonFilePath) Factory method for creating a JSON test-data reader.Methods inherited from class JSONFileManager
get, getTestData, getTestDataAsJson, getTestDataAsList, getTestDataAsMap
-
Constructor Details
-
JSON
Creates a new instance of the test data json reader using the target json file path- Parameters:
jsonFilePath- target test data json file path
-
-
Method Details
-
getInstance
Factory method for creating a JSON test-data reader.- Parameters:
jsonFilePath- target test data JSON file path- Returns:
- a new
JSONFileManagerinstance
-