Class TestResultParser

java.lang.Object
com.testmonitor.parsers.TestResultParser

public class TestResultParser extends Object
  • Constructor Details

    • TestResultParser

      public TestResultParser()
  • Method Details

    • parse

      public static ArrayList<TestResult> parse(org.json.JSONObject response)
      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

      public static TestResult parse(HashMap<String,Object> item)
      Parse a hashmap into a test result.
      Parameters:
      item - the hashmap that contains the test result data.
      Returns:
      The parsed test result