Commit 3a3520eb authored by 马博's avatar 马博

test

parent 5d7c3df3
package http.cases.ExchangeTest; package http.cases.ExchangeTest;
import base.DuibaBase;
import base.DuibaBases; import base.DuibaBases;
import http.service.app.SupplierExchangeTemplateService; import http.service.app.SupplierExchangeTemplateService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -11,7 +12,7 @@ import java.util.Map; ...@@ -11,7 +12,7 @@ import java.util.Map;
* Created by zhaoran on 2018/11/15 * Created by zhaoran on 2018/11/15
* Remark: 校验Q币、虚拟商品兑换模板 * Remark: 校验Q币、虚拟商品兑换模板
*/ */
public class CheckTemplet extends DuibaBases { public class CheckTemplet extends DuibaBase {
@Autowired @Autowired
SupplierExchangeTemplateService supplierExchangeTemplateService ; SupplierExchangeTemplateService supplierExchangeTemplateService ;
......
...@@ -19,7 +19,7 @@ import org.testng.annotations.Test; ...@@ -19,7 +19,7 @@ import org.testng.annotations.Test;
import java.util.Map; import java.util.Map;
//@ContextConfiguration(classes = DuibaConfig.class) //@ContextConfiguration(classes = DuibaConfig.class)
public class Exchange_ExchangeTest extends DuibaBase { public class Exchange_ExchangeTest extends CheckTemplet {
@Value("${manager.host}") @Value("${manager.host}")
String ManagerHost; String ManagerHost;
@Autowired @Autowired
......
...@@ -23,7 +23,7 @@ import java.util.Map; ...@@ -23,7 +23,7 @@ import java.util.Map;
* Created by yeqinqin on 2018/4/24. * Created by yeqinqin on 2018/4/24.
*/ */
public class ObjectExchange_ExchangeTest extends DuibaBase { public class ObjectExchange_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
private MobileService mobileService; private MobileService mobileService;
......
...@@ -27,7 +27,7 @@ import java.util.Map; ...@@ -27,7 +27,7 @@ import java.util.Map;
/** /**
* Created by mabo on 2018/9/13 * Created by mabo on 2018/9/13
*/ */
public class Qb_兑换流程测试_ExchangeTest extends DuibaBase { public class Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
private MobileService mobileService; private MobileService mobileService;
@Autowired @Autowired
......
...@@ -25,7 +25,7 @@ import static io.restassured.RestAssured.given; ...@@ -25,7 +25,7 @@ import static io.restassured.RestAssured.given;
* Created by panyuli on 2018/07/06. * Created by panyuli on 2018/07/06.
*/ */
public class 优惠券_兑换异常测试_ExchangeTest extends DuibaBase { public class 优惠券_兑换异常测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
......
...@@ -26,7 +26,7 @@ import static io.restassured.RestAssured.given; ...@@ -26,7 +26,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2018/07/06. * Created by lvwenyan on 2018/07/06.
*/ */
public class 优惠券_兑换流程测试_ExchangeTest extends DuibaBase { public class 优惠券_兑换流程测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
private MobileService mobileService; private MobileService mobileService;
......
...@@ -22,7 +22,7 @@ import java.util.Map; ...@@ -22,7 +22,7 @@ import java.util.Map;
* Created by lvwenyan on 2018/06/08. * Created by lvwenyan on 2018/06/08.
*/ */
public class 商品订单失败测试_ExchangeTest extends DuibaBase { public class 商品订单失败测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
......
...@@ -22,7 +22,7 @@ import java.util.Map; ...@@ -22,7 +22,7 @@ import java.util.Map;
/** /**
* Created by yeqinqin on 2018/6/11. * Created by yeqinqin on 2018/6/11.
*/ */
public class 实物_兑换异常测试_ExchangeTest extends DuibaBase { public class 实物_兑换异常测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
private MobileService mobileService; private MobileService mobileService;
......
...@@ -25,7 +25,7 @@ import static io.restassured.RestAssured.given; ...@@ -25,7 +25,7 @@ import static io.restassured.RestAssured.given;
*/ */
//@ContextConfiguration(classes = DuibaConfig.class) //@ContextConfiguration(classes = DuibaConfig.class)
public class 平台券_兑换流程测试_ExchangeTest extends DuibaBase { public class 平台券_兑换流程测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
AppPlatformCouponService appPlatformCouponService; AppPlatformCouponService appPlatformCouponService;
......
...@@ -23,7 +23,7 @@ import java.util.Map; ...@@ -23,7 +23,7 @@ import java.util.Map;
* 测试开发者账号:zhaoran@duiba.com.cn , 用户uid:4386 * 测试开发者账号:zhaoran@duiba.com.cn , 用户uid:4386
*/ */
public class 开发者账户余额校验测试_ExchangeTest extends DuibaBase { public class 开发者账户余额校验测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
......
...@@ -26,7 +26,7 @@ import static io.restassured.RestAssured.given; ...@@ -26,7 +26,7 @@ import static io.restassured.RestAssured.given;
* Created by lvwenyan on 2018/08/24. * Created by lvwenyan on 2018/08/24.
*/ */
public class 支付宝_兑换流程测试_ExchangeTest extends DuibaBase { public class 支付宝_兑换流程测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
AlipayExchangeService alipayExchangeService; AlipayExchangeService alipayExchangeService;
......
...@@ -22,7 +22,7 @@ import java.util.Map; ...@@ -22,7 +22,7 @@ import java.util.Map;
/** /**
* Created by panyuli on 2018/6/11. * Created by panyuli on 2018/6/11.
*/ */
public class 虚拟商品_兑换异常测试_ExchangeTest extends DuibaBase { public class 虚拟商品_兑换异常测试_ExchangeTest extends CheckTemplet {
@Autowired @Autowired
private MobileService mobileService; private MobileService mobileService;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment