Package com.testmonitor.parsers
Class TestResultParser
java.lang.Object
com.testmonitor.parsers.TestResultParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TestResultParse a hashmap into a test result.static ArrayList<TestResult> parse(org.json.JSONObject response) Parse a JSONObject in a list of test results
-
Constructor Details
-
TestResultParser
public TestResultParser()
-
-
Method Details
-
parse
Parse a JSONObject in a list of test results- Parameters:
response- The JSON response of a reqsuest- Returns:
- A parsed list of test results
-
parse
Parse a hashmap into a test result.- Parameters:
item- the hashmap that contains the test result data.- Returns:
- The parsed test result
-