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
a3b57c44
Commit
a3b57c44
authored
Nov 13, 2018
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
1dfbb537
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
虚拟商品_兑换异常测试_ExchangeTest.java
...ava/http/cases/ExchangeTest/虚拟商品_兑换异常测试_ExchangeTest.java
+9
-8
No files found.
src/test/java/http/cases/ExchangeTest/虚拟商品_兑换异常测试_ExchangeTest.java
View file @
a3b57c44
...
@@ -88,7 +88,7 @@ public class 虚拟商品_兑换异常测试_ExchangeTest extends DuibaTestBase
...
@@ -88,7 +88,7 @@ public class 虚拟商品_兑换异常测试_ExchangeTest extends DuibaTestBase
Assert
.
assertTrue
(
message
.
contains
(
"今日已兑完,明天再来哦(14)"
),
"今日已兑完,校验失败"
);
Assert
.
assertTrue
(
message
.
contains
(
"今日已兑完,明天再来哦(14)"
),
"今日已兑完,校验失败"
);
logger
.
info
(
"自有虚拟商品库存不足"
);
logger
.
info
(
"自有虚拟商品库存不足"
);
}
}
@Test
(
description
=
"虚拟商品用户每日兑换限制测试只能兑换一次"
)
//
@Test(description = "虚拟商品用户每日兑换限制测试只能兑换一次" )
public
void
自有虚拟商品用户每日兑换限制测试只能兑换一次
()
throws
Exception
{
public
void
自有虚拟商品用户每日兑换限制测试只能兑换一次
()
throws
Exception
{
try
{
try
{
logger
.
info
(
"虚拟商品用户每日兑换限制测试只能兑换一次"
);
logger
.
info
(
"虚拟商品用户每日兑换限制测试只能兑换一次"
);
...
@@ -134,8 +134,8 @@ public class 虚拟商品_兑换异常测试_ExchangeTest extends DuibaTestBase
...
@@ -134,8 +134,8 @@ public class 虚拟商品_兑换异常测试_ExchangeTest extends DuibaTestBase
}
}
@Test
(
description
=
"虚拟商品用户永久兑换"
)
//
@Test(description = "虚拟商品用户永久兑换")
public
void
自有虚拟商品用户永久一次兑换
()
throws
Exception
{
public
void
自有虚拟商品用户永久一次兑换
()
throws
Exception
{
try
{
try
{
logger
.
info
(
"自有虚拟商品用户永久一次兑换"
);
logger
.
info
(
"自有虚拟商品用户永久一次兑换"
);
//商品详情页面
//商品详情页面
...
@@ -182,11 +182,11 @@ public void 自有虚拟商品用户永久一次兑换() throws Exception{
...
@@ -182,11 +182,11 @@ public void 自有虚拟商品用户永久一次兑换() throws Exception{
}
}
//@Test(description = "虚拟商品自定义兑换按钮文案马上使用按钮")
//@Test(description = "虚拟商品自定义兑换按钮文案马上使用按钮")
public
void
虚拟商品自定义兑换按钮文案马上使用按钮
()
throws
Exception
{
public
void
虚拟商品自定义兑换按钮文案马上使用按钮
()
throws
Exception
{
logger
.
info
(
"虚拟商品马上使用按钮验证开始"
);
logger
.
info
(
"虚拟商品马上使用按钮验证开始"
);
//创建虚拟商品的时候,有自定义兑换按钮文案的文案设置,将文案设置成马上使用
//创建虚拟商品的时候,有自定义兑换按钮文案的文案设置,将文案设置成马上使用
}
}
}
}
\ No newline at end of file
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