Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
d9cf33cb
Commit
d9cf33cb
authored
Oct 19, 2020
by
马博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab2.dui88.com:mabo/test-platform
parents
5dc5104d
39a9ab0a
Changes
56
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
56 changed files
with
56 additions
and
55 deletions
+56
-55
手动开奖出奖.java
src/test/java/http/cases/DeveloperTest/手动开奖出奖.java
+1
-1
新建活动测试.java
src/test/java/http/cases/DeveloperTest/新建活动测试.java
+1
-1
活动中奖限制.java
src/test/java/http/cases/DeveloperTest/活动中奖限制.java
+1
-1
活动次数测试.java
src/test/java/http/cases/DeveloperTest/活动次数测试.java
+1
-1
独立活动测试.java
src/test/java/http/cases/DeveloperTest/独立活动测试.java
+1
-1
自有活动出奖.java
src/test/java/http/cases/DeveloperTest/自有活动出奖.java
+1
-1
自有答题测试.java
src/test/java/http/cases/DeveloperTest/自有答题测试.java
+1
-1
Exchange.java
src/test/java/http/cases/ExchangeTest/Exchange.java
+1
-1
ObjectExchange.java
src/test/java/http/cases/ExchangeTest/ObjectExchange.java
+1
-1
Qb_兑换流程测试.java
...st/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换流程测试.java
+1
-1
Qb_兑换限制测试.java
...st/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换限制测试.java
+1
-1
多档位话费_兑换流程测试.java
...java/http/cases/ExchangeTest/兑吧_直充类商品兑换/多档位话费_兑换流程测试.java
+1
-1
支付宝_兑换流程测试.java
...t/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/支付宝_兑换流程测试.java
+1
-1
新Qb_兑换流程测试.java
...t/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新Qb_兑换流程测试.java
+1
-1
新多档位话费_兑换流程测试.java
...ava/http/cases/ExchangeTest/兑吧_直充类商品兑换/新多档位话费_兑换流程测试.java
+1
-1
新支付宝_兑换流程测试.java
.../java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新支付宝_兑换流程测试.java
+1
-1
话费_兑换限制测试.java
...st/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/话费_兑换限制测试.java
+1
-1
兑吧卡密_兑换流程测试.java
src/test/java/http/cases/ExchangeTest/兑吧卡密_兑换流程测试.java
+1
-1
兑吧新优惠券_兑换流程测试.java
src/test/java/http/cases/ExchangeTest/兑吧新优惠券_兑换流程测试.java
+1
-1
兑吧新实物_兑换流程测试.java
src/test/java/http/cases/ExchangeTest/兑吧新实物_兑换流程测试.java
+1
-1
兑吧老优惠券_兑换流程测试.java
src/test/java/http/cases/ExchangeTest/兑吧老优惠券_兑换流程测试.java
+1
-1
兑吧老实物_兑换流程测试.java
src/test/java/http/cases/ExchangeTest/兑吧老实物_兑换流程测试.java
+1
-1
商品订单失败测试.java
src/test/java/http/cases/ExchangeTest/商品订单失败测试.java
+1
-1
平台券_兑换流程测试.java
src/test/java/http/cases/ExchangeTest/平台券_兑换流程测试.java
+1
-1
开发者账户余额校验测试.java
src/test/java/http/cases/ExchangeTest/开发者账户余额校验测试.java
+1
-1
自有新优惠券_兑换限制测试.java
...java/http/cases/ExchangeTest/自有_商品兑换限制/自有新优惠券_兑换限制测试.java
+1
-1
自有新卡密_兑换限制测试.java
.../java/http/cases/ExchangeTest/自有_商品兑换限制/自有新卡密_兑换限制测试.java
+1
-1
自有新实物_兑换流程测试.java
.../java/http/cases/ExchangeTest/自有_商品兑换限制/自有新实物_兑换流程测试.java
+1
-1
自有新虚拟商品_充值_兑换限制.java
...va/http/cases/ExchangeTest/自有_商品兑换限制/自有新虚拟商品_充值_兑换限制.java
+1
-1
自有老优惠券商品_兑换限制测试.java
...va/http/cases/ExchangeTest/自有_商品兑换限制/自有老优惠券商品_兑换限制测试.java
+1
-1
自有老实物_兑换限制测试.java
.../java/http/cases/ExchangeTest/自有_商品兑换限制/自有老实物_兑换限制测试.java
+1
-1
自有老虚拟商品_兑换限制测试.java
...ava/http/cases/ExchangeTest/自有_商品兑换限制/自有老虚拟商品_兑换限制测试.java
+1
-1
自有老优惠券_兑换流程测试.java
src/test/java/http/cases/ExchangeTest/自有老优惠券_兑换流程测试.java
+1
-1
虚拟商品_兑换异常测试.java
src/test/java/http/cases/ExchangeTest/虚拟商品_兑换异常测试.java
+1
-1
游戏_中奖优惠券_AccessTest.java
src/test/java/http/cases/GameTest/游戏_中奖优惠券_AccessTest.java
+3
-2
优惠券测试.java
src/test/java/http/cases/NewActivityTest/优惠券测试.java
+1
-1
兑吧活动工具_新商品.java
src/test/java/http/cases/NewActivityTest/兑吧活动工具_新商品.java
+1
-1
新活动工具测试.java
src/test/java/http/cases/NewActivityTest/新活动工具测试.java
+1
-1
自有活动工具_新商品.java
src/test/java/http/cases/NewActivityTest/自有活动工具_新商品.java
+1
-1
瓜分积分_实际瓜分.java
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分.java
+0
-0
瓜分积分_实际瓜分_主胜方.java
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_主胜方.java
+1
-1
瓜分积分_实际瓜分_废弃.java
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_废弃.java
+0
-0
瓜分红包_实际瓜分.java
src/test/java/http/cases/PkMoudleTest/瓜分红包_实际瓜分.java
+0
-0
瓜分红包_实际瓜分_废弃.java
src/test/java/http/cases/PkMoudleTest/瓜分红包_实际瓜分_废弃.java
+0
-0
配置测试.java
src/test/java/http/cases/PkMoudleTest/配置测试.java
+2
-2
pk_瓜分优惠券.java
src/test/java/http/cases/PkTest/pk_瓜分优惠券.java
+1
-1
pk_瓜分红包_发券测试.java
src/test/java/http/cases/PkTest/pk_瓜分红包_发券测试.java
+1
-1
pk_瓜分红包_投放两个app.java
src/test/java/http/cases/PkTest/pk_瓜分红包_投放两个app.java
+1
-1
pk_瓜分红包_押注人数不同测试.java
src/test/java/http/cases/PkTest/pk_瓜分红包_押注人数不同测试.java
+1
-1
pk_瓜分红包_押注人数相同测试.java
src/test/java/http/cases/PkTest/pk_瓜分红包_押注人数相同测试.java
+1
-1
pk_瓜分红包_首页中奖弹层测试.java
src/test/java/http/cases/PkTest/pk_瓜分红包_首页中奖弹层测试.java
+2
-2
自有单品抽奖.java
src/test/java/http/cases/SingleLotteryTest/自有单品抽奖.java
+1
-1
自有单品抽奖_新商品.java
src/test/java/http/cases/SingleLotteryTest/自有单品抽奖_新商品.java
+1
-1
自有库存不足.java
src/test/java/http/cases/SingleLotteryTest/自有库存不足.java
+1
-1
权益一期线上用户核销中匹配兑换码兑换.java
...java/http/cases/equitySubjectTest/权益一期线上用户核销中匹配兑换码兑换.java
+1
-1
权益二期线上用户核销匹配权益及兑换码兑换.java
...va/http/cases/equitySubjectTest/权益二期线上用户核销匹配权益及兑换码兑换.java
+1
-1
No files found.
src/test/java/http/cases/DeveloperTest/手动开奖出奖
_DuibaTest
.java
→
src/test/java/http/cases/DeveloperTest/手动开奖出奖.java
View file @
d9cf33cb
...
...
@@ -15,7 +15,7 @@ import java.util.Map;
/**
* Created by mabo on 2018/5/17
*/
public
class
手动开奖出奖
_DuibaTest
extends
DuibaTestBase
{
public
class
手动开奖出奖
extends
DuibaTestBase
{
@Autowired
NewActivityService
newActivityService
;
@Autowired
...
...
src/test/java/http/cases/DeveloperTest/新建活动测试
_DuibaTest
.java
→
src/test/java/http/cases/DeveloperTest/新建活动测试.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import java.lang.reflect.Method;
* Created by lvwenyan on 2018/11/23.
*/
public
class
新建活动测试
_DuibaTest
extends
DuibaTestBase
{
public
class
新建活动测试
extends
DuibaTestBase
{
@Autowired
DeveloperService
developerService
;
...
...
src/test/java/http/cases/DeveloperTest/活动中奖限制
_DuibaTest
.java
→
src/test/java/http/cases/DeveloperTest/活动中奖限制.java
View file @
d9cf33cb
...
...
@@ -18,7 +18,7 @@ import org.testng.annotations.Test;
* Created by zhaoran on 2018/5/19.
*/
@ContextConfiguration
(
classes
=
Config
.
class
)
public
class
活动中奖限制
_DuibaTest
extends
AbstractTestNGSpringContextTests
{
public
class
活动中奖限制
extends
AbstractTestNGSpringContextTests
{
@Autowired
SigninService
signinService
;
@Autowired
...
...
src/test/java/http/cases/DeveloperTest/活动次数测试
_DuibaTest
.java
→
src/test/java/http/cases/DeveloperTest/活动次数测试.java
View file @
d9cf33cb
...
...
@@ -19,7 +19,7 @@ import java.lang.reflect.Method;
* Created by zhaoran on 2018/3/15
*/
@ContextConfiguration
(
classes
=
Config
.
class
)
public
class
活动次数测试
_DuibaTest
extends
AbstractTestNGSpringContextTests
{
public
class
活动次数测试
extends
AbstractTestNGSpringContextTests
{
@Autowired
NewActivityService
newActivityService
;
...
...
src/test/java/http/cases/DeveloperTest/独立活动测试
_DuibaTest
.java
→
src/test/java/http/cases/DeveloperTest/独立活动测试.java
View file @
d9cf33cb
...
...
@@ -15,7 +15,7 @@ import org.testng.annotations.Test;
* Created by zhaoran on 2018/1/2
*/
@ContextConfiguration
(
classes
=
Config
.
class
)
public
class
独立活动测试
_DuibaTest
extends
AbstractTestNGSpringContextTests
{
public
class
独立活动测试
extends
AbstractTestNGSpringContextTests
{
@Autowired
NewActivityService
newActivityService
;
...
...
src/test/java/http/cases/DeveloperTest/自有活动出奖
_DuibaTest
.java
→
src/test/java/http/cases/DeveloperTest/自有活动出奖.java
View file @
d9cf33cb
...
...
@@ -17,7 +17,7 @@ import java.util.Map;
/**
* Created by mabo on 2018/5/17
*/
public
class
自有活动出奖
_DuibaTest
extends
DuibaTestBase
{
public
class
自有活动出奖
extends
DuibaTestBase
{
@Autowired
NewActivityService
newActivityService
;
@Autowired
...
...
src/test/java/http/cases/DeveloperTest/自有答题测试
_DuibaTest
.java
→
src/test/java/http/cases/DeveloperTest/自有答题测试.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import java.util.Map;
* Created by zhaoran on 2018/5/19.
*/
@ContextConfiguration
(
classes
=
Config
.
class
)
public
class
自有答题测试
_DuibaTest
extends
DuibaTestBase
{
public
class
自有答题测试
extends
DuibaTestBase
{
@Autowired
SigninService
signinService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/Exchange
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/Exchange.java
View file @
d9cf33cb
...
...
@@ -19,7 +19,7 @@ import org.testng.annotations.Test;
import
java.util.Map
;
//@ContextConfiguration(classes = DuibaConfig.class)
public
class
Exchange
_ExchangeTest
extends
CheckTemplet
{
public
class
Exchange
extends
CheckTemplet
{
@Value
(
"${manager.host}"
)
String
ManagerHost
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/ObjectExchange
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/ObjectExchange.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import java.util.Map;
* Created by yeqinqin on 2018/4/24.
*/
public
class
ObjectExchange
_ExchangeTest
extends
CheckTemplet
{
public
class
ObjectExchange
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -29,7 +29,7 @@ import java.util.concurrent.ThreadFactory;
/**
* Created by mabo on 2018/9/13
*/
public
class
Qb_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
Qb_
兑换流程测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换限制测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换限制测试.java
View file @
d9cf33cb
...
...
@@ -26,7 +26,7 @@ import java.util.Map;
/**
* Created by mabo on 2018/9/13
*/
public
class
Qb_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
Qb_
兑换限制测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/多档位话费_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/多档位话费_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -24,7 +24,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2019/3/14
*/
public
class
多档位话费
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
多档位话费
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/支付宝_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/支付宝_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -28,7 +28,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2018/08/24.
*/
public
class
支付宝
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
支付宝
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
AlipayExchangeService
alipayExchangeService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新Qb_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新Qb_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import java.util.Map;
* Created by lvwenyan on 2019/5/30
*/
public
class
新
Qb_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
新
Qb_
兑换流程测试
extends
CheckTemplet
{
@Autowired
gawService
gawService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新多档位话费_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新多档位话费_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import java.util.Map;
* Created by lvwenyan on 2019/5/30
*/
public
class
新多档位话费
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
新多档位话费
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
gawService
gawService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新支付宝_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新支付宝_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -28,7 +28,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2019/05/23.
*/
public
class
新支付宝
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
新支付宝
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
gawService
gawService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/话费_兑换限制测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/话费_兑换限制测试.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import static io.restassured.RestAssured.given;
/**
* Created by mabo on 2019/2/28
*/
public
class
话费
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
话费
_
兑换限制测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/兑吧卡密_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧卡密_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -34,7 +34,7 @@ import static io.restassured.RestAssured.urlEncodingEnabled;
* Created by lvwenyan on 2019/3/26.
*/
public
class
兑吧卡密
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
兑吧卡密
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
gawService
gawService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧新优惠券_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧新优惠券_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -29,7 +29,7 @@ import static io.restassured.RestAssured.given;
*/
public
class
兑吧新优惠券
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
兑吧新优惠券
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/兑吧新实物_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧新实物_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -31,7 +31,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2019/3/19.
*/
public
class
兑吧新实物
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
兑吧新实物
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
gawService
gawService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧老优惠券_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧老优惠券_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -30,7 +30,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2018/07/06.
*/
public
class
兑吧老优惠券
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
兑吧老优惠券
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧老实物_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/兑吧老实物_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -31,7 +31,7 @@ import static io.restassured.RestAssured.given;
/**
* Created by yeqinqin on 2018/6/11.
*/
public
class
兑吧老实物
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
兑吧老实物
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/ExchangeTest/商品订单失败测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/商品订单失败测试.java
View file @
d9cf33cb
...
...
@@ -22,7 +22,7 @@ import java.util.Map;
* Created by lvwenyan on 2018/06/08.
*/
public
class
商品订单失败测试
_ExchangeTest
extends
CheckTemplet
{
public
class
商品订单失败测试
extends
CheckTemplet
{
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/平台券_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/平台券_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -25,7 +25,7 @@ import static io.restassured.RestAssured.given;
*/
//@ContextConfiguration(classes = DuibaConfig.class)
public
class
平台券
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
平台券
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
AppPlatformCouponService
appPlatformCouponService
;
...
...
src/test/java/http/cases/ExchangeTest/开发者账户余额校验测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/开发者账户余额校验测试.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import java.util.Map;
* 测试开发者账号:zhaoran@duiba.com.cn , 用户uid:4386
*/
public
class
开发者账户余额校验测试
_ExchangeTest
extends
CheckTemplet
{
public
class
开发者账户余额校验测试
extends
CheckTemplet
{
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新优惠券_兑换限制测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新优惠券_兑换限制测试.java
View file @
d9cf33cb
...
...
@@ -22,7 +22,7 @@ import java.util.Map;
/**
* Created by mabo on 2019/3/25
*/
public
class
自有新优惠券
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
自有新优惠券
_
兑换限制测试
extends
CheckTemplet
{
@Autowired
http
.
service
.
app
.
gawService
gawService
;
...
...
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新卡密_兑换限制测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新卡密_兑换限制测试.java
View file @
d9cf33cb
...
...
@@ -27,7 +27,7 @@ import static io.restassured.config.RestAssuredConfig.newConfig;
/**
* Created by mabo on 2019/3/26
*/
public
class
自有新卡密
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
自有新卡密
_
兑换限制测试
extends
CheckTemplet
{
/**
* 15968831723 duibaduiba123
* 查询库存 SELECT stock_id,id from tb_goods_batch where gtype = 6 and gid = 50 //gtype=6 表示卡密类型,gid 是卡密的id,查到的id是goods_batch_id
...
...
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新实物_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新实物_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -16,7 +16,7 @@ import java.lang.reflect.Method;
import
java.sql.SQLException
;
import
java.util.Map
;
public
class
自有新实物
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
自有新实物
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
http
.
service
.
app
.
gawService
gawService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新虚拟商品_充值_兑换限制
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有新虚拟商品_充值_兑换限制.java
View file @
d9cf33cb
...
...
@@ -19,7 +19,7 @@ import java.util.Map;
/**
* Created by mabo on 2019/3/26
*/
public
class
自有新虚拟商品
_
充值
_
兑换限制
_ExchangeTest
extends
CheckTemplet
{
public
class
自有新虚拟商品
_
充值
_
兑换限制
extends
CheckTemplet
{
@Autowired
http
.
service
.
app
.
gawService
gawService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有老优惠券商品_兑换限制测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有老优惠券商品_兑换限制测试.java
View file @
d9cf33cb
...
...
@@ -28,7 +28,7 @@ import static io.restassured.RestAssured.given;
/**
* Created by mabo on 2019/3/22
*/
public
class
自有老优惠券商品
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
自有老优惠券商品
_
兑换限制测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有老实物_兑换限制测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有老实物_兑换限制测试.java
View file @
d9cf33cb
...
...
@@ -27,7 +27,7 @@ import static io.restassured.RestAssured.given;
/**
* Created by mabo on 2019/3/22
*/
public
class
自有老实物
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
自有老实物
_
兑换限制测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有老虚拟商品_兑换限制测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有_商品兑换限制/自有老虚拟商品_兑换限制测试.java
View file @
d9cf33cb
...
...
@@ -24,7 +24,7 @@ import java.util.Map;
/**
* Created by mabo on 2019/3/25
*/
public
class
自有老虚拟商品
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
自有老虚拟商品
_
兑换限制测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/自有老优惠券_兑换流程测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/自有老优惠券_兑换流程测试.java
View file @
d9cf33cb
...
...
@@ -25,7 +25,7 @@ import static io.restassured.RestAssured.given;
* Created by panyuli on 2018/07/06.
*/
public
class
自有老优惠券
_
兑换流程测试
_ExchangeTest
extends
CheckTemplet
{
public
class
自有老优惠券
_
兑换流程测试
extends
CheckTemplet
{
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/虚拟商品_兑换异常测试
_ExchangeTest
.java
→
src/test/java/http/cases/ExchangeTest/虚拟商品_兑换异常测试.java
View file @
d9cf33cb
...
...
@@ -22,7 +22,7 @@ import java.util.Map;
/**
* Created by panyuli on 2018/6/11.
*/
public
class
虚拟商品
_
兑换异常测试
_ExchangeTest
extends
CheckTemplet
{
public
class
虚拟商品
_
兑换异常测试
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/GameTest/游戏_中奖优惠券_AccessTest.java
View file @
d9cf33cb
...
...
@@ -41,7 +41,7 @@ public class 游戏_中奖优惠券_AccessTest extends DuibaTestBase {
@Test
//
@Test
public
void
游戏
_
普通优惠券中奖测试
()
throws
Exception
{
try
{
//查询游戏前奖项库存信息
...
...
@@ -55,6 +55,7 @@ public class 游戏_中奖优惠券_AccessTest extends DuibaTestBase {
Long
itemStock
=
Long
.
parseLong
(
itemStockResult
.
get
(
"stock"
).
toString
());
Response
response
=
this
.
playGame
(
"20178"
,
"z0eyz5d3"
,
"88"
,
uid_Nomal
);
logger
.
info
(
"dddddddddddd"
+
response
.
prettyPrint
());
//游戏后的奖项库存
Map
<
String
,
Object
>
ngameStockResult1
=
jdbc
.
findSimpleResult
(
"select * from ngame.ngame_stock where game_option_id = ?\n"
,
optionId
);
String
optionStock1
=
ngameStockResult1
.
get
(
"stock"
).
toString
();
...
...
@@ -116,7 +117,7 @@ public class 游戏_中奖优惠券_AccessTest extends DuibaTestBase {
int
j
=
8
;
while
(
j
>
0
&&((!
checkNomal
(
"getStartStatus"
,
statusResponse
))||(
message
.
equals
(
"处理中"
)))){
Thread
.
sleep
(
1000
);
Thread
.
sleep
(
1000
0
);
statusResponse
=
newGameService
.
getStartStatus
(
ticketId
,
uid
);
statusResponse
.
prettyPrint
();
statusSuccess
=
MatcherString
.
getString
(
statusResponse
.
asString
(),
"\"success\": (.*?),"
,
1
);
...
...
src/test/java/http/cases/NewActivityTest/优惠券测试
_DuibaTest
.java
→
src/test/java/http/cases/NewActivityTest/优惠券测试.java
View file @
d9cf33cb
...
...
@@ -23,7 +23,7 @@ import java.util.Map;
* Created by zhaoran on 2018/1/2
*/
@ContextConfiguration
(
classes
=
Config
.
class
)
public
class
优惠券测试
_DuibaTest
extends
AbstractTestNGSpringContextTests
{
public
class
优惠券测试
extends
AbstractTestNGSpringContextTests
{
@Autowired
NewActivityService
newActivityService
;
...
...
src/test/java/http/cases/NewActivityTest/兑吧活动工具_新商品
_DuibaTest
.java
→
src/test/java/http/cases/NewActivityTest/兑吧活动工具_新商品.java
View file @
d9cf33cb
...
...
@@ -16,7 +16,7 @@ import org.testng.annotations.Test;
* Created by lvwenyan on 2019/4/4.
*/
public
class
兑吧活动工具
_
新商品
_DuibaTest
extends
DuibaTestBase
{
public
class
兑吧活动工具
_
新商品
extends
DuibaTestBase
{
@Autowired
AdminNewDuibaHdtoolService
adminNewDuibaHdtoolService
;
...
...
src/test/java/http/cases/NewActivityTest/新活动工具测试
_DuibaTest
.java
→
src/test/java/http/cases/NewActivityTest/新活动工具测试.java
View file @
d9cf33cb
...
...
@@ -16,7 +16,7 @@ import java.util.Map;
/**
* Created by zhaoran on 2018/1/2
*/
public
class
新活动工具测试
_DuibaTest
extends
DuibaTestBase
{
public
class
新活动工具测试
extends
DuibaTestBase
{
@Autowired
NewActivityService
newActivityService
;
...
...
src/test/java/http/cases/NewActivityTest/自有活动工具_新商品
_DuibaTest
.java
→
src/test/java/http/cases/NewActivityTest/自有活动工具_新商品.java
View file @
d9cf33cb
...
...
@@ -19,7 +19,7 @@ import java.util.Map;
* Created by lvwenyan on 2019/4/4.
*/
public
class
自有活动工具
_
新商品
_DuibaTest
extends
DuibaTestBase
{
public
class
自有活动工具
_
新商品
extends
DuibaTestBase
{
@Autowired
LaunchService
launchService
;
...
...
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分.java
View file @
d9cf33cb
This diff is collapsed.
Click to expand it.
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_主胜方
_AccessTest
.java
→
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_主胜方.java
View file @
d9cf33cb
...
...
@@ -28,7 +28,7 @@ import java.sql.SQLException;
import
java.util.Map
;
public
class
瓜分积分
_
实际瓜分
_
主胜方
_AccessTest
extends
DuibaTestBase
{
public
class
瓜分积分
_
实际瓜分
_
主胜方
extends
DuibaTestBase
{
@Autowired
PkDevelopService
pkDevelopService
;
...
...
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_
AccessTest
.java
→
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_
废弃
.java
View file @
d9cf33cb
This diff is collapsed.
Click to expand it.
src/test/java/http/cases/PkMoudleTest/瓜分红包_实际瓜分.java
View file @
d9cf33cb
This diff is collapsed.
Click to expand it.
src/test/java/http/cases/PkMoudleTest/瓜分红包_实际瓜分_
AccessTest
.java
→
src/test/java/http/cases/PkMoudleTest/瓜分红包_实际瓜分_
废弃
.java
View file @
d9cf33cb
This diff is collapsed.
Click to expand it.
src/test/java/http/cases/PkMoudleTest/配置测试
_AccessTest
.java
→
src/test/java/http/cases/PkMoudleTest/配置测试.java
View file @
d9cf33cb
/**
* Copyright (C), 2015-2018
* FileName: 配置测试
_AccessTest
* FileName: 配置测试
* Author: zhaoran
* Date: 2018/12/10 19:45
* Description:
...
...
@@ -29,7 +29,7 @@ import java.util.Map;
import
static
io
.
restassured
.
RestAssured
.
given
;
public
class
配置测试
_AccessTest
extends
DuibaTestBase
{
public
class
配置测试
extends
DuibaTestBase
{
@Value
(
"${activity.host}"
)
String
activityHost
;
...
...
src/test/java/http/cases/PkTest/pk_瓜分优惠券
_AccessTest
.java
→
src/test/java/http/cases/PkTest/pk_瓜分优惠券.java
View file @
d9cf33cb
...
...
@@ -38,7 +38,7 @@ import java.util.Map;
* @create 2018/8/9
* @since 1.0.0
*/
public
class
pk_
瓜分优惠券
_AccessTest
extends
DuibaTestBase
{
public
class
pk_
瓜分优惠券
extends
DuibaTestBase
{
@Autowired
PkService
pkService
;
...
...
src/test/java/http/cases/PkTest/pk_瓜分红包_发券测试.java
View file @
d9cf33cb
/**
* Copyright (C), 2015-2018
* FileName: pk_瓜分红包_首页中奖弹层测试
_AccessTest
* FileName: pk_瓜分红包_首页中奖弹层测试
* Author: qianwenjun
* Date: 2018/12/22 12:38
* Description:
...
...
src/test/java/http/cases/PkTest/pk_瓜分红包_投放两个app
_AccessTest
.java
→
src/test/java/http/cases/PkTest/pk_瓜分红包_投放两个app.java
View file @
d9cf33cb
...
...
@@ -39,7 +39,7 @@ import java.util.Map;
* @create 2018/8/9
* @since 1.0.0
*/
public
class
pk_
瓜分红包
_
投放两个
app
_AccessTest
extends
DuibaTestBase
{
public
class
pk_
瓜分红包
_
投放两个
app
extends
DuibaTestBase
{
@Autowired
PkService
pkService
;
...
...
src/test/java/http/cases/PkTest/pk_瓜分红包_押注人数不同测试
_AccessTest
.java
→
src/test/java/http/cases/PkTest/pk_瓜分红包_押注人数不同测试.java
View file @
d9cf33cb
...
...
@@ -39,7 +39,7 @@ import java.util.Map;
* @create 2018/8/9
* @since 1.0.0
*/
public
class
pk_
瓜分红包
_
押注人数不同测试
_AccessTest
extends
DuibaTestBase
{
public
class
pk_
瓜分红包
_
押注人数不同测试
extends
DuibaTestBase
{
@Autowired
PkService
pkService
;
...
...
src/test/java/http/cases/PkTest/pk_瓜分红包_押注人数相同测试
_AccessTest
.java
→
src/test/java/http/cases/PkTest/pk_瓜分红包_押注人数相同测试.java
View file @
d9cf33cb
...
...
@@ -39,7 +39,7 @@ import java.util.Map;
* @create 2018/8/9
* @since 1.0.0
*/
public
class
pk_
瓜分红包
_
押注人数相同测试
_AccessTest
extends
DuibaTestBase
{
public
class
pk_
瓜分红包
_
押注人数相同测试
extends
DuibaTestBase
{
@Autowired
PkService
pkService
;
...
...
src/test/java/http/cases/PkTest/pk_瓜分红包_首页中奖弹层测试
_AccessTest
.java
→
src/test/java/http/cases/PkTest/pk_瓜分红包_首页中奖弹层测试.java
View file @
d9cf33cb
/**
* Copyright (C), 2015-2018
* FileName: pk_瓜分红包_首页中奖弹层测试
_AccessTest
* FileName: pk_瓜分红包_首页中奖弹层测试
* Author: qianwenjun
* Date: 2018/12/22 12:38
* Description:
...
...
@@ -38,7 +38,7 @@ import static io.restassured.RestAssured.given;
* @create 2018/12/22
* @since 1.0.0
*/
public
class
pk_
瓜分红包
_
首页中奖弹层测试
_AccessTest
extends
DuibaTestBase
{
public
class
pk_
瓜分红包
_
首页中奖弹层测试
extends
DuibaTestBase
{
@Autowired
...
...
src/test/java/http/cases/SingleLotteryTest/自有单品抽奖
_AccessTest
.java
→
src/test/java/http/cases/SingleLotteryTest/自有单品抽奖.java
View file @
d9cf33cb
...
...
@@ -17,7 +17,7 @@ import java.util.Map;
/**
* Created by zhaoran on 2018/6/8.
*/
public
class
自有单品抽奖
_AccessTest
extends
DuibaTestBase
{
public
class
自有单品抽奖
extends
DuibaTestBase
{
@Autowired
SingleLotteryService
singleLotteryService
;
private
static
DuibaLog
logger
=
DuibaLog
.
getLogger
();
...
...
src/test/java/http/cases/SingleLotteryTest/自有单品抽奖_新商品
_AccessTest
.java
→
src/test/java/http/cases/SingleLotteryTest/自有单品抽奖_新商品.java
View file @
d9cf33cb
...
...
@@ -17,7 +17,7 @@ import java.util.Map;
/**
* Created by lvwenyan on 2019/4/4.
*/
public
class
自有单品抽奖
_
新商品
_AccessTest
extends
DuibaTestBase
{
public
class
自有单品抽奖
_
新商品
extends
DuibaTestBase
{
@Autowired
SingleLotteryService
singleLotteryService
;
...
...
src/test/java/http/cases/SingleLotteryTest/自有库存不足
_AccessTest
.java
→
src/test/java/http/cases/SingleLotteryTest/自有库存不足.java
View file @
d9cf33cb
...
...
@@ -14,7 +14,7 @@ import java.util.Map;
/**
* Created by zhaoran on 2018/6/8.
*/
public
class
自有库存不足
_AccessTest
extends
DuibaTestBase
{
public
class
自有库存不足
extends
DuibaTestBase
{
@Autowired
SingleLotteryService
singleLotteryService
;
private
static
DuibaLog
logger
=
DuibaLog
.
getLogger
();
...
...
src/test/java/http/cases/equitySubjectTest/权益一期线上用户核销中匹配兑换码兑换
_DuibaTest
.java
→
src/test/java/http/cases/equitySubjectTest/权益一期线上用户核销中匹配兑换码兑换.java
View file @
d9cf33cb
...
...
@@ -13,7 +13,7 @@ import org.testng.annotations.Test;
import
java.util.Map
;
public
class
权益一期线上用户核销中匹配兑换码兑换
_DuibaTest
extends
CheckTemplet
{
public
class
权益一期线上用户核销中匹配兑换码兑换
extends
CheckTemplet
{
@Autowired
public
equityPrizeService
equityPrizeService
;
@Autowired
...
...
src/test/java/http/cases/equitySubjectTest/权益二期线上用户核销匹配权益及兑换码兑换
_DuibaTest
.java
→
src/test/java/http/cases/equitySubjectTest/权益二期线上用户核销匹配权益及兑换码兑换.java
View file @
d9cf33cb
...
...
@@ -16,7 +16,7 @@ import java.util.List;
import
java.util.Map
;
public
class
权益二期线上用户核销匹配权益及兑换码兑换
_DuibaTest
extends
CheckTemplet
{
public
class
权益二期线上用户核销匹配权益及兑换码兑换
extends
CheckTemplet
{
@Autowired
public
equityPrizeService
equityPrizeService
;
@Autowired
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment