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
847cc1f8
Commit
847cc1f8
authored
May 27, 2019
by
吕雯燕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv
parent
6cf5962f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
14 deletions
+19
-14
Qb_兑换流程测试_ExchangeTest.java
...cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换流程测试_ExchangeTest.java
+6
-1
Qb_兑换限制测试_ExchangeTest.java
...cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换限制测试_ExchangeTest.java
+2
-1
多档位话费_兑换流程测试_ExchangeTest.java
...es/ExchangeTest/兑吧_直充类商品兑换/多档位话费_兑换流程测试_ExchangeTest.java
+2
-1
支付宝_兑换流程测试_ExchangeTest.java
...ases/ExchangeTest/兑吧_直充类商品兑换/支付宝_兑换流程测试_ExchangeTest.java
+4
-2
新支付宝_兑换流程测试_ExchangeTest.java
...ses/ExchangeTest/兑吧_直充类商品兑换/新支付宝_兑换流程测试_ExchangeTest.java
+2
-7
话费_兑换限制测试_ExchangeTest.java
...cases/ExchangeTest/兑吧_直充类商品兑换/话费_兑换限制测试_ExchangeTest.java
+3
-2
No files found.
src/test/java/http/cases/ExchangeTest/Qb_兑换流程测试_ExchangeTest.java
→
src/test/java/http/cases/ExchangeTest/
兑吧_直充类商品兑换/
Qb_兑换流程测试_ExchangeTest.java
View file @
847cc1f8
package
http
.
cases
.
ExchangeTest
;
package
http
.
cases
.
ExchangeTest
.
兑吧
_
直充类商品兑换
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.cases.ExchangeTest.CheckTemplet
;
import
http.service.Activity.ManagerService
;
import
http.service.Authorization
;
import
http.service.app.*
;
...
...
@@ -108,6 +109,8 @@ public class Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
Assert
.
assertTrue
(
status
.
equals
(
"success"
),
"校验订单状态失败"
);
logger
.
info
(
"校验兑换订单状态正确"
);
}
@Test
public
void
qbExchange_
积分不足
()
throws
Exception
{
int
uid
=
3086
;
...
...
@@ -130,6 +133,8 @@ public class Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
}
@Test
public
void
开发者余额不足测试
()
throws
Exception
{
int
uid
=
3490
;
...
...
src/test/java/http/cases/ExchangeTest/Qb_兑换限制测试_ExchangeTest.java
→
src/test/java/http/cases/ExchangeTest/
兑吧_直充类商品兑换/
Qb_兑换限制测试_ExchangeTest.java
View file @
847cc1f8
package
http
.
cases
.
ExchangeTest
;
package
http
.
cases
.
ExchangeTest
.
兑吧
_
直充类商品兑换
;
import
base.DuibaLog
;
import
http.cases.ExchangeTest.CheckTemplet
;
import
http.service.Activity.ManagerService
;
import
http.service.Authorization
;
import
http.service.app.*
;
...
...
src/test/java/http/cases/ExchangeTest/多档位话费_兑换流程测试_ExchangeTest.java
→
src/test/java/http/cases/ExchangeTest/
兑吧_直充类商品兑换/
多档位话费_兑换流程测试_ExchangeTest.java
View file @
847cc1f8
package
http
.
cases
.
ExchangeTest
;
package
http
.
cases
.
ExchangeTest
.
兑吧
_
直充类商品兑换
;
import
http.cases.ExchangeTest.CheckTemplet
;
import
http.service.Authorization
;
import
http.service.app.CouponExchangeService
;
import
http.service.app.CrecordService
;
...
...
src/test/java/http/cases/ExchangeTest/支付宝_兑换流程测试_ExchangeTest.java
→
src/test/java/http/cases/ExchangeTest/
兑吧_直充类商品兑换/
支付宝_兑换流程测试_ExchangeTest.java
View file @
847cc1f8
package
http
.
cases
.
ExchangeTest
;
package
http
.
cases
.
ExchangeTest
.
兑吧
_
直充类商品兑换
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.cases.ExchangeTest.CheckTemplet
;
import
http.cases.ExchangeTest.Database
;
import
http.service.Authorization
;
import
http.service.Manager.ADeveloperService
;
import
http.service.app.AlipayExchangeService
;
...
...
@@ -87,7 +89,7 @@ public class 支付宝_兑换流程测试_ExchangeTest extends CheckTemplet {
logger
.
info
(
"订单号:"
+
orderId
);
//订单审核,判断是否在待审核节点
Map
<
String
,
Object
>
mapOrder
=
jdbc
.
findSimpleResult
(
"SELECT * FROM "
+
Database
.
orders_consumer
+
"."
+
Database
.
orders9
+
" WHERE id = "
+
orderId
);
Map
<
String
,
Object
>
mapOrder
=
jdbc
.
findSimpleResult
(
"SELECT * FROM "
+
Database
.
orders_consumer
+
"."
+
Database
.
orders9
+
" WHERE id = "
+
orderId
);
String
flowWork
=
String
.
valueOf
(
mapOrder
.
get
(
"flowwork_stage"
));
Thread
.
sleep
(
300
);
logger
.
info
(
"数据库订单节点:"
+
flowWork
);
...
...
src/test/java/http/cases/ExchangeTest/新支付宝_兑换流程测试_ExchangeTest.java
→
src/test/java/http/cases/ExchangeTest/
兑吧_直充类商品兑换/
新支付宝_兑换流程测试_ExchangeTest.java
View file @
847cc1f8
package
http
.
cases
.
ExchangeTest
;
package
http
.
cases
.
ExchangeTest
.
兑吧
_
直充类商品兑换
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
base.DuibaTestBase
;
import
http.cases.ExchangeTest.CheckTemplet
;
import
http.service.Authorization
;
import
http.service.Manager.ADeveloperService
;
import
http.service.app.gawService
;
import
http.service.app.tawService
;
import
http.service.app.MobileService
;
import
http.service.hd.DeveloperAccountService
;
import
http.service.hd.DsOrderService
;
import
org.apache.http.auth.AUTH
;
import
utils.MatcherString
;
import
base.DuibaLog
;
import
io.restassured.response.Response
;
...
...
src/test/java/http/cases/ExchangeTest/话费_兑换限制测试_ExchangeTest.java
→
src/test/java/http/cases/ExchangeTest/
兑吧_直充类商品兑换/
话费_兑换限制测试_ExchangeTest.java
View file @
847cc1f8
package
http
.
cases
.
ExchangeTest
;
package
http
.
cases
.
ExchangeTest
.
兑吧
_
直充类商品兑换
;
import
http.cases.ExchangeTest.CheckTemplet
;
import
http.service.Authorization
;
import
http.service.app.CouponExchangeService
;
import
http.service.app.CrecordService
;
...
...
@@ -22,7 +23,7 @@ import static io.restassured.RestAssured.given;
/**
* Created by mabo on 2019/2/28
*/
public
class
话费
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
public
class
话费
_
兑换限制测试
_ExchangeTest
extends
CheckTemplet
{
@Autowired
private
MobileService
mobileService
;
@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