Commit 961d4f9a by fangyuan

update case

parent 3cfea9c3
...@@ -17,7 +17,6 @@ import org.testng.annotations.Test; ...@@ -17,7 +17,6 @@ import org.testng.annotations.Test;
public class TestGetCourseDocList extends XMBaseTest { public class TestGetCourseDocList extends XMBaseTest {
GetLiveCourseId tools = new GetLiveCourseId();
@BeforeMethod @BeforeMethod
public void beforeTest() { public void beforeTest() {
...@@ -30,7 +29,7 @@ public class TestGetCourseDocList extends XMBaseTest { ...@@ -30,7 +29,7 @@ public class TestGetCourseDocList extends XMBaseTest {
@Test @Test
public void getCourseDocList() { public void getCourseDocList() {
GetLiveCourseId tools = new GetLiveCourseId();
String id = tools.createCourse(); String id = tools.createCourse();
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<!--<suite name="xm-autotest-live" parallel="true" thread-count="20" data-provider-thread-count="5" >--> <!--<suite name="xm-autotest-live" parallel="true" thread-count="20" data-provider-thread-count="5" >-->
<!--可能存在线程不安全情况让sutie case 按顺序执行 parallel="false" --> <!--可能存在线程不安全情况让sutie case 按顺序执行 parallel="false" -->
<suite name="xm-autotest-live" parallel="false" > <suite name="xm-autotest-live" parallel="none" >
<listeners> <listeners>
<listener class-name="com.xiaomai.client.RetryListener" /> <listener class-name="com.xiaomai.client.RetryListener" />
......
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