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
5d7c3df3
Commit
5d7c3df3
authored
Nov 28, 2018
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
58ff4052
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
23 additions
and
12 deletions
+23
-12
DuibaBase.java
src/test/java/base/DuibaBase.java
+1
-1
Exchange_ExchangeTest.java
...t/java/http/cases/ExchangeTest/Exchange_ExchangeTest.java
+2
-1
ObjectExchange_ExchangeTest.java
.../http/cases/ExchangeTest/ObjectExchange_ExchangeTest.java
+2
-1
Qb_兑换流程测试_ExchangeTest.java
.../java/http/cases/ExchangeTest/Qb_兑换流程测试_ExchangeTest.java
+2
-1
优惠券_兑换异常测试_ExchangeTest.java
...java/http/cases/ExchangeTest/优惠券_兑换异常测试_ExchangeTest.java
+2
-1
优惠券_兑换流程测试_ExchangeTest.java
...java/http/cases/ExchangeTest/优惠券_兑换流程测试_ExchangeTest.java
+2
-1
商品订单失败测试_ExchangeTest.java
...t/java/http/cases/ExchangeTest/商品订单失败测试_ExchangeTest.java
+2
-1
实物_兑换异常测试_ExchangeTest.java
.../java/http/cases/ExchangeTest/实物_兑换异常测试_ExchangeTest.java
+2
-1
平台券_兑换流程测试_ExchangeTest.java
...java/http/cases/ExchangeTest/平台券_兑换流程测试_ExchangeTest.java
+2
-1
开发者账户余额校验测试_ExchangeTest.java
...ava/http/cases/ExchangeTest/开发者账户余额校验测试_ExchangeTest.java
+2
-1
支付宝_兑换流程测试_ExchangeTest.java
...java/http/cases/ExchangeTest/支付宝_兑换流程测试_ExchangeTest.java
+2
-1
虚拟商品_兑换异常测试_ExchangeTest.java
...ava/http/cases/ExchangeTest/虚拟商品_兑换异常测试_ExchangeTest.java
+2
-1
No files found.
src/test/java/base/DuibaBase.java
View file @
5d7c3df3
...
...
@@ -22,7 +22,7 @@ public class DuibaBase extends AbstractTestNGSpringContextTestsDuiba {
// @PostConstruct
@BeforeSuite
public
final
void
setUp
()
{
logger
.
info
(
"--------------------DuibaBase.setUp() Test"
);
logger
.
info
(
"--------------------DuibaBase.setUp() Test
s
"
);
//只初始化一次
jdbc
.
initDataSource
();
...
...
src/test/java/http/cases/ExchangeTest/Exchange_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.service.Activity.ManagerService
;
import
http.service.Authorization
;
...
...
@@ -18,7 +19,7 @@ import org.testng.annotations.Test;
import
java.util.Map
;
//@ContextConfiguration(classes = DuibaConfig.class)
public
class
Exchange_ExchangeTest
extends
DuibaBase
s
{
public
class
Exchange_ExchangeTest
extends
DuibaBase
{
@Value
(
"${manager.host}"
)
String
ManagerHost
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/ObjectExchange_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.service.Activity.ManagerService
;
import
http.service.Authorization
;
...
...
@@ -22,7 +23,7 @@ import java.util.Map;
* Created by yeqinqin on 2018/4/24.
*/
public
class
ObjectExchange_ExchangeTest
extends
DuibaBase
s
{
public
class
ObjectExchange_ExchangeTest
extends
DuibaBase
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/ExchangeTest/Qb_兑换流程测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.service.Activity.ManagerService
;
import
http.service.Authorization
;
...
...
@@ -26,7 +27,7 @@ import java.util.Map;
/**
* Created by mabo on 2018/9/13
*/
public
class
Qb_
兑换流程测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
Qb_
兑换流程测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
private
MobileService
mobileService
;
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/优惠券_兑换异常测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
base.DuibaLog
;
import
http.service.Activity.ManagerService
;
...
...
@@ -24,7 +25,7 @@ import static io.restassured.RestAssured.given;
* Created by panyuli on 2018/07/06.
*/
public
class
优惠券
_
兑换异常测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
优惠券
_
兑换异常测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/优惠券_兑换流程测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
utils.RedisUtil
;
import
http.service.Activity.ManagerService
;
...
...
@@ -25,7 +26,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2018/07/06.
*/
public
class
优惠券
_
兑换流程测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
优惠券
_
兑换流程测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/ExchangeTest/商品订单失败测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.service.Activity.ManagerService
;
import
http.service.Authorization
;
...
...
@@ -21,7 +22,7 @@ import java.util.Map;
* Created by lvwenyan on 2018/06/08.
*/
public
class
商品订单失败测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
商品订单失败测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/实物_兑换异常测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.service.Activity.ManagerService
;
import
http.service.Authorization
;
...
...
@@ -21,7 +22,7 @@ import java.util.Map;
/**
* Created by yeqinqin on 2018/6/11.
*/
public
class
实物
_
兑换异常测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
实物
_
兑换异常测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
private
MobileService
mobileService
;
...
...
src/test/java/http/cases/ExchangeTest/平台券_兑换流程测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.service.Authorization
;
import
http.service.app.AppPlatformCouponService
;
...
...
@@ -24,7 +25,7 @@ import static io.restassured.RestAssured.given;
*/
//@ContextConfiguration(classes = DuibaConfig.class)
public
class
平台券
_
兑换流程测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
平台券
_
兑换流程测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
AppPlatformCouponService
appPlatformCouponService
;
...
...
src/test/java/http/cases/ExchangeTest/开发者账户余额校验测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
base.DuibaLog
;
import
http.service.Activity.ManagerService
;
...
...
@@ -22,7 +23,7 @@ import java.util.Map;
* 测试开发者账号:zhaoran@duiba.com.cn , 用户uid:4386
*/
public
class
开发者账户余额校验测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
开发者账户余额校验测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
...
...
src/test/java/http/cases/ExchangeTest/支付宝_兑换流程测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
http.service.Authorization
;
import
http.service.Manager.ADeveloperService
;
...
...
@@ -25,7 +26,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2018/08/24.
*/
public
class
支付宝
_
兑换流程测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
支付宝
_
兑换流程测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
AlipayExchangeService
alipayExchangeService
;
...
...
src/test/java/http/cases/ExchangeTest/虚拟商品_兑换异常测试_ExchangeTest.java
View file @
5d7c3df3
package
http
.
cases
.
ExchangeTest
;
import
base.DuibaBase
;
import
base.DuibaBases
;
import
base.DuibaLog
;
import
base.DuibaTestBase
;
...
...
@@ -21,7 +22,7 @@ import java.util.Map;
/**
* Created by panyuli on 2018/6/11.
*/
public
class
虚拟商品
_
兑换异常测试
_ExchangeTest
extends
DuibaBase
s
{
public
class
虚拟商品
_
兑换异常测试
_ExchangeTest
extends
DuibaBase
{
@Autowired
private
MobileService
mobileService
;
...
...
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