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 milestone.static ArrayList<TestResult>parse(org.json.JSONObject response) Parse a JSONObject in a list of milestones
-
Constructor Details
-
TestResultParser
public TestResultParser()
-
-
Method Details
-
parse
Parse a JSONObject in a list of milestones- Parameters:
response- The JSON response of a request- Returns:
- A parsed list of test results
-
parse
Parse a hashmap into a milestone.- Parameters:
item- the hashmap that contains the milestone data.- Returns:
- The parsed milestone
-