Searched refs:fromJson (Results 1 – 9 of 9) sorted by relevance
42 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_withAssignedAttemptId()55 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_withoutAssignedAttemptId()72 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_extraOptions()
153 return TestEnvironment.fromJson(new JSONObject(content)); in getTestEnvironment()193 return TestContext.fromJson(new JSONObject(content)); in getTestContext()266 commandTasks.add(ClusterCommand.fromJson(jsonCommand)); in parseCommandTasks()
50 public static TestResource fromJson(JSONObject json) { in fromJson() method in TestResource57 objs.add(TestResource.fromJson(jsonArray.getJSONObject(i))); in fromJsonArray()
72 public static TradefedConfigObject fromJson(JSONObject json) throws JSONException { in fromJson() method in TradefedConfigObject96 objs.add(fromJson(arr.getJSONObject(i))); in fromJsonArray()
64 public static TestContext fromJson(JSONObject json) throws JSONException { in fromJson() method in TestContext
212 public static ClusterCommand fromJson(JSONObject json) throws JSONException { in fromJson() method in ClusterCommand
214 public static TestEnvironment fromJson(JSONObject json) throws JSONException { in fromJson() method in TestEnvironment
90 mVkJson = gson.fromJson(cmdString, VkJson.class); in setUp()
258 RunHistory[] runHistories = gson.fromJson(runHistoryJson, RunHistory[].class); in writeResults()