Commit 4f18fc92 by donghu

修改包结构

1 parent cbb35d29
Showing 32 changed files with 155 additions and 59 deletions
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
package com.pipi.frt.basic;
package com.pipi.basic;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
package com.pipi.frt.basic;
package com.pipi.basic;
import com.fangdd.qa.framework.utils.common.PropUtil;
......
package com.pipi.frt.dao;
package com.pipi.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
......@@ -6,7 +6,7 @@ import java.sql.SQLException;
import org.apache.log4j.Logger;
import com.fangdd.qa.framework.utils.common.DbUtil;
import com.pipi.frt.sql.FootStoneSql;
import com.pipi.sql.FootStoneSql;
public class FootStoneDao {
......
......@@ -8,8 +8,8 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.fangdd.qa.framework.tools.HttpToolKit;
import com.pipi.frt.basic.BasicData;
import com.pipi.frt.basic.ConfigReader;
import com.pipi.basic.BasicData;
import com.pipi.basic.ConfigReader;
import com.pipi.qa.service.CosPlayPlayerService;
/**
......
package com.pipi.frt.sql;
package com.pipi.sql;
/**
* Created by hu.dong on 2017年10月17日 下午1:59:17
......
......@@ -6,12 +6,12 @@ import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import com.alibaba.fastjson.JSONObject;
import com.pipi.frt.basic.BasicData;
import com.pipi.basic.BasicData;
import com.pipi.qa.service.CosPlayPlayerService;
import com.pipi.qa.service.impl.CosPlyaPlayerServiceImpl;
/**
* Created by hu.dong on 2017年9月21日 上午11:37:39
* Created by hu.dong on 2021年6月21日 上午11:37:39
* @author hu.dong
......@@ -20,10 +20,6 @@ import com.pipi.qa.service.impl.CosPlyaPlayerServiceImpl;
@Test(groups = { "pipi-test" })
public class CosPlayerTest extends AbstractTest {
//public String env = "pre-test";
//public String env = "t3";
//public static String env =ConfigReader.env;
@BeforeClass(alwaysRun = true)
public void BeforeClassTest() {
CosPlayPlayerService cosPlyaPlayerServiceImpl = new CosPlyaPlayerServiceImpl();
......
{"environment":"t3","failed":0,"passed":9,"skipped":0,"suiteDuration":"12秒846毫秒","suiteEnds":"2021-07-14 17:28:35","suiteStarts":"2021-07-14 17:28:22","total":9}
\ No newline at end of file
{"environment":"t3","failed":0,"passed":0,"skipped":9,"suiteDuration":"48秒872毫秒","suiteEnds":"2021-07-15 17:41:08","suiteStarts":"2021-07-15 17:40:19","total":9}
\ No newline at end of file
This diff could not be displayed because it is too large.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite hostname="DESKTOP-U3UHQH3" ignored="0" name="Default test" tests="9" failures="0" timestamp="14 七月 2021 09:28:35 GMT" time="12.833" errors="0">
<testcase name="testActivityList" time="0.296" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testAuditGuild" time="1.783" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testMoneyDetailsSave" time="0.486" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testSend" time="0.7" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testVirtualMoneyModify" time="0.378" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testGiftList" time="0.206" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testLotteryActivity" time="0.464" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRoomList" time="0.516" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRemove" time="0.49" classname="com.pipi.invoker.CosPlayerTest"/>
<testsuite hostname="DESKTOP-U3UHQH3" ignored="0" name="Default test" tests="9" failures="0" timestamp="15 七月 2021 09:41:08 GMT" time="48.851" errors="0">
<testcase name="@BeforeClass BeforeClassTest" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<failure type="java.lang.NullPointerException">
<![CDATA[java.lang.NullPointerException
at com.pipi.qa.service.impl.CosPlyaPlayerServiceImpl.getUserMobileToken(CosPlyaPlayerServiceImpl.java:72)
at com.pipi.invoker.CosPlayerTest.BeforeClassTest(CosPlayerTest.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:217)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:144)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:169)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
]]>
</failure>
</testcase> <!-- @BeforeClass BeforeClassTest -->
<testcase name="testActivityList" time="0.003" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testActivityList -->
<testcase name="testAuditGuild" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testAuditGuild -->
<testcase name="testMoneyDetailsSave" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testMoneyDetailsSave -->
<testcase name="testSend" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testSend -->
<testcase name="testVirtualMoneyModify" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testVirtualMoneyModify -->
<testcase name="testGiftList" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGiftList -->
<testcase name="testLotteryActivity" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testLotteryActivity -->
<testcase name="testRoomList" time="0.0" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRoomList -->
<testcase name="testRemove" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRemove -->
</testsuite> <!-- Default test -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite guice-stage="DEVELOPMENT" name="Failed suite [Default suite]">
<parameter name="env" value="param-val-not-found"/>
<test name="Default test(failed)">
<classes>
<class name="com.pipi.invoker.CosPlayerTest">
<methods>
<include name="springTestContextBeforeTestClass"/>
<include name="afterClass"/>
<include name="testRoomList" invocation-numbers="0"/>
<include name="testRoomList"/>
<include name="BeforeClassTest"/>
<include name="springTestContextPrepareTestInstance"/>
<include name="beforeClass"/>
<include name="beforeClassTest"/>
<include name="springTestContextBeforeTestMethod"/>
<include name="testMoneyDetailsSave" invocation-numbers="0"/>
<include name="testActivityList" invocation-numbers="0"/>
<include name="testVirtualMoneyModify" invocation-numbers="0"/>
<include name="testGiftList" invocation-numbers="0"/>
<include name="testSend" invocation-numbers="0"/>
<include name="testLotteryActivity" invocation-numbers="0"/>
<include name="testActivityList"/>
<include name="testMoneyDetailsSave"/>
<include name="testVirtualMoneyModify"/>
<include name="testGiftList"/>
<include name="testSend"/>
<include name="testLotteryActivity"/>
<include name="afterClassTest"/>
<include name="testRemove" invocation-numbers="0"/>
<include name="testRemove"/>
<include name="springTestContextAfterTestClass"/>
<include name="testAuditGuild"/>
<include name="springTestContextAfterTestMethod"/>
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite name="com.pipi.invoker.CosPlayerTest" tests="9" time="5.329" ignored="0" failures="0" timestamp="14 七月 2021 09:28:35 GMT" skipped="0" hostname="DESKTOP-U3UHQH3" errors="0">
<testcase name="testActivityList" time="0.298" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testVirtualMoneyModify" time="0.379" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRoomList" time="0.517" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testSend" time="0.701" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testLotteryActivity" time="0.465" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testRemove" time="0.490" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testMoneyDetailsSave" time="0.486" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testAuditGuild" time="1.785" classname="com.pipi.invoker.CosPlayerTest"/>
<testcase name="testGiftList" time="0.208" classname="com.pipi.invoker.CosPlayerTest"/>
<testsuite name="com.pipi.invoker.CosPlayerTest" tests="10" time="0.015" ignored="0" failures="0" timestamp="15 七月 2021 09:41:08 GMT" skipped="9" hostname="DESKTOP-U3UHQH3" errors="1">
<testcase name="testLotteryActivity" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testLotteryActivity -->
<testcase name="testRoomList" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRoomList -->
<testcase name="testActivityList" time="0.004" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testActivityList -->
<testcase name="testVirtualMoneyModify" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testVirtualMoneyModify -->
<testcase name="testRemove" time="0.003" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testRemove -->
<testcase name="testSend" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testSend -->
<testcase name="testGiftList" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testGiftList -->
<testcase name="BeforeClassTest" time="0.000" classname="com.pipi.invoker.CosPlayerTest">
<error type="java.lang.NullPointerException">
<![CDATA[java.lang.NullPointerException
at com.pipi.qa.service.impl.CosPlyaPlayerServiceImpl.getUserMobileToken(CosPlyaPlayerServiceImpl.java:72)
at com.pipi.invoker.CosPlayerTest.BeforeClassTest(CosPlayerTest.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:217)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:144)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:169)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
]]>
</error>
</testcase> <!-- BeforeClassTest -->
<testcase name="testAuditGuild" time="0.002" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testAuditGuild -->
<testcase name="testMoneyDetailsSave" time="0.001" classname="com.pipi.invoker.CosPlayerTest">
<skipped/>
</testcase> <!-- testMoneyDetailsSave -->
</testsuite> <!-- com.pipi.invoker.CosPlayerTest -->
......@@ -31,12 +31,12 @@
</tr>
<tr>
<td>&nbsp;</td>
<td>testActivityList</td>
<td>testMoneyDetailsSave</td>
<td>pipi-test </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>testMoneyDetailsSave</td>
<td>testActivityList</td>
<td>pipi-test </td>
</tr>
<tr>
......
This diff could not be displayed because it is too large.
......@@ -20,9 +20,9 @@
<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
</tr></table>
<table width='100%' class='test-passed'>
<table width='100%' class='test-skipped'>
<tr><td>
<table style='width: 100%'><tr><td valign='top'>Default test (9/0/0)</td><td valign='top' align='right'>
<table style='width: 100%'><tr><td valign='top'>Default test (0/0/9)</td><td valign='top' align='right'>
<a href='Default test.html' target='mainFrame'>Results</a>
</td></tr></table>
</td></tr><p/>
......
......@@ -4,6 +4,6 @@
</head><body>
<h2><p align='center'>Test results</p></h2>
<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>9</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td>
<td>9</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>
<tr align='center' class='invocation-failed'><td><em>Total</em></td><td><em>0</em></td><td><em>0</em></td><td><em>9</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-failed'><td><a href='Default suite/index.html'>Default suite</a></td>
<td>0</td><td>0</td><td>9</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite guice-stage="DEVELOPMENT" name="Failed suite [Default suite]">
<parameter name="env" value="param-val-not-found"/>
<test name="Default test(failed)">
<classes>
<class name="com.pipi.invoker.CosPlayerTest">
<methods>
<include name="springTestContextBeforeTestClass"/>
<include name="afterClass"/>
<include name="testRoomList" invocation-numbers="0"/>
<include name="testRoomList"/>
<include name="BeforeClassTest"/>
<include name="springTestContextPrepareTestInstance"/>
<include name="beforeClass"/>
<include name="beforeClassTest"/>
<include name="springTestContextBeforeTestMethod"/>
<include name="testMoneyDetailsSave" invocation-numbers="0"/>
<include name="testActivityList" invocation-numbers="0"/>
<include name="testVirtualMoneyModify" invocation-numbers="0"/>
<include name="testGiftList" invocation-numbers="0"/>
<include name="testSend" invocation-numbers="0"/>
<include name="testLotteryActivity" invocation-numbers="0"/>
<include name="testActivityList"/>
<include name="testMoneyDetailsSave"/>
<include name="testVirtualMoneyModify"/>
<include name="testGiftList"/>
<include name="testSend"/>
<include name="testLotteryActivity"/>
<include name="afterClassTest"/>
<include name="testRemove" invocation-numbers="0"/>
<include name="testRemove"/>
<include name="springTestContextAfterTestClass"/>
<include name="testAuditGuild"/>
<include name="springTestContextAfterTestMethod"/>
......
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!