Skip to content

Commit 0697786

Browse files
committed
自动化 UI 测试:初步完成获取数据;
1 parent fec0c6a commit 0697786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

APIJSON-Android/APIJSONTest/app/src/main/java/apijson/demo/ui/UIAutoListActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public void onHttpResponse(int requestCode, String resultJson, Exception e) {
478478
Log.e(TAG, "onHttpResponse e = " + e.getMessage());
479479
}
480480
JSONResponse response = new JSONResponse(resultJson);
481-
array = response.getJSONArray(isTouch ? "Input[]" : "Flow[]");
481+
array = response.getArray(isTouch ? "Input[]" : "Flow[]");
482482
if (array == null) {
483483
array = new JSONArray();
484484
}

0 commit comments

Comments
 (0)