Commit 44047fa7 by fangyuan

尝试将异常case 放入对应api 文件相同case 的包目录下

parent 55689707
package com.live.cases.interactionLive;
package com.live.cases.classReport;
import com.alibaba.fastjson.JSONObject;
import com.live.enums.ApiModele;
......
package com.live.cases.interactionLive;
package com.live.cases.classReport;
import com.alibaba.fastjson.JSONObject;
import com.live.enums.ApiModele;
......
package com.live.cases.interactionLive;
package com.live.cases.fileManage;
import com.alibaba.fastjson.JSONObject;
import com.live.enums.ApiModele;
......
package com.live.cases.interactionLive;
package com.live.cases.fileManage;
import com.alibaba.fastjson.JSONObject;
import com.live.enums.ApiModele;
......
package com.live.cases.interactionLive;
package com.live.cases.fileManage;
import com.alibaba.fastjson.JSONObject;
import com.live.enums.ApiModele;
......
package com.live.cases.interactionLive;
package com.live.cases.fileManage;
import com.alibaba.fastjson.JSONObject;
import com.live.enums.ApiModele;
......
......@@ -6,7 +6,6 @@ import com.live.enums.ApiModele;
import com.live.enums.RequestType;
import com.live.enums.Terminal;
import com.xiaomai.utils.XMBaseTest;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
......@@ -28,11 +27,11 @@ public class testDelCommonFolder extends XMBaseTest {
super.beforeTest();
}
//@Test
@Test(enabled = false)
public void testDelCommonFolderList(){
GetFolderData testCommonFolderList = new GetFolderData();
String id = testCommonFolderList.getCommonFolderListFirstId();
//System.out.println("获取id" + id);
System.out.println("获取id" + id);
JSONObject jsonObject = new JSONObject();
List StringList = new ArrayList();
......@@ -41,11 +40,9 @@ public class testDelCommonFolder extends XMBaseTest {
jsonObject.put("instId","1300628703858597889");
System.out.println("请求" + jsonObject);
xmAppApi.doRequest(RequestType.JSON,params,jsonObject.toJSONString(),headers);
xmAppApi.doRequest(RequestType.JSON,params,jsonObject.toJSONString(),headers).assetsSuccess(true);
JSONObject responseRes = xmAppApi.getBodyInJSON();
Assert.assertEquals("true",responseRes.getString("success"));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment