Class TestRunParser

java.lang.Object
com.testmonitor.parsers.TestRunParser

public class TestRunParser extends Object
  • Constructor Details

    • TestRunParser

      public TestRunParser()
  • Method Details

    • parse

      public static ArrayList<TestRun> parse(org.json.JSONObject response)
      Parse a JSONObject in a list of test runs
      Parameters:
      response - The JSON response of a request
      Returns:
      A parsed list of test runs
    • parse

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