Class TestCaseParser

java.lang.Object
com.testmonitor.parsers.TestCaseParser

public class TestCaseParser extends Object
  • Constructor Details

    • TestCaseParser

      public TestCaseParser()
  • Method Details

    • parse

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

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