浏览代码

🎨 规范部分单元测试方法名

dev1
Binary Wang 5 年前
父节点
当前提交
70640f4d00
共有 1 个文件被更改,包括 7 次插入8 次删除
  1. +7
    -8
      weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/ProfitSharingServiceImplTest.java

+ 7
- 8
weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/ProfitSharingServiceImplTest.java 查看文件

@@ -23,7 +23,7 @@ public class ProfitSharingServiceImplTest {
private WxPayService payService;

@Test
public void testProfitsharing() throws WxPayException {
public void testProfitSharing() throws WxPayException {
ReceiverList instance = ReceiverList.getInstance();
instance.add(new Receiver(WxPayConstants.ReceiverType.PERSONAL_OPENID,
"oyOUE5ql4TtzrBg5cVOwxq6tbjOs",
@@ -40,7 +40,7 @@ public class ProfitSharingServiceImplTest {
}

@Test
public void testMultiprofitsharing() throws WxPayException {
public void testMultiProfitSharing() throws WxPayException {
ReceiverList instance = ReceiverList.getInstance();
instance.add(new Receiver(WxPayConstants.ReceiverType.MERCHANT_ID,
"86693852",
@@ -56,7 +56,7 @@ public class ProfitSharingServiceImplTest {
}

@Test
public void testProfitsharingFinish() throws WxPayException {
public void testProfitSharingFinish() throws WxPayException {
ProfitSharingFinishRequest request = ProfitSharingFinishRequest
.newBuilder()
.outOrderNo("20191023103251431856285")
@@ -67,7 +67,7 @@ public class ProfitSharingServiceImplTest {
}

@Test
public void testAddreceiver() throws WxPayException {
public void testAddReceiver() throws WxPayException {
Receiver receiver = new Receiver(WxPayConstants.ReceiverType.PERSONAL_OPENID,
"oyOUE5ql4TtzrBg5cVOwxq6tbjOs",
"***",
@@ -92,7 +92,7 @@ public class ProfitSharingServiceImplTest {
}

@Test
public void testProfitsharingQuery() throws WxPayException {
public void testProfitSharingQuery() throws WxPayException {
ProfitSharingQueryRequest request = ProfitSharingQueryRequest
.newBuilder()
.outOrderNo("20191023112023031060677")
@@ -104,7 +104,7 @@ public class ProfitSharingServiceImplTest {
}

@Test
public void testProfitsharingReturn() throws WxPayException {
public void testProfitSharingReturn() throws WxPayException {
ProfitSharingReturnRequest request = ProfitSharingReturnRequest
.newBuilder()
.outOrderNo("20191023154723316420060")
@@ -118,7 +118,7 @@ public class ProfitSharingServiceImplTest {
}

@Test
public void testProfitsharingReturnQuery() throws WxPayException {
public void testProfitSharingReturnQuery() throws WxPayException {
ProfitSharingReturnQueryRequest request = ProfitSharingReturnQueryRequest
.newBuilder()
.outOrderNo("20191023154723316420060")
@@ -127,5 +127,4 @@ public class ProfitSharingServiceImplTest {
this.logger.info(this.payService.getProfitSharingService().profitSharingReturnQuery(request).toString());
}


}

正在加载...
取消
保存