🎨 规范部分代码

This commit is contained in:
Binary Wang
2020-06-06 17:15:24 +08:00
parent f14b33a642
commit 93414199d6
8 changed files with 935 additions and 415 deletions

View File

@ -0,0 +1,162 @@
package me.chanjar.weixin.open.api.impl;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
/**
* 单元测试类.
*
* @author <a href="https://github.com/binarywang">Binary Wang</a>
* @date 2020-06-06
*/
public class WxOpenComponentServiceImplTest {
@Test
public void testGetWxMpServiceByAppid() {
}
@Test
public void testGetWxMaServiceByAppid() {
}
@Test
public void testGetWxFastMaServiceByAppid() {
}
@Test
public void testGetWxOpenService() {
}
@Test
public void testGetWxOpenConfigStorage() {
}
@Test
public void testCheckSignature() {
}
@Test
public void testGetComponentAccessToken() {
}
@Test
public void testPost() {
}
@Test
public void testTestPost() {
}
@Test
public void testGet() {
}
@Test
public void testTestGet() {
}
@Test
public void testGetPreAuthUrl() {
}
@Test
public void testTestGetPreAuthUrl() {
}
@Test
public void testGetMobilePreAuthUrl() {
}
@Test
public void testTestGetMobilePreAuthUrl() {
}
@Test
public void testRoute() {
}
@Test
public void testGetQueryAuth() {
}
@Test
public void testGetAuthorizerInfo() {
}
@Test
public void testGetAuthorizerList() {
}
@Test
public void testGetAuthorizerOption() {
}
@Test
public void testSetAuthorizerOption() {
}
@Test
public void testGetAuthorizerAccessToken() {
}
@Test
public void testOauth2getAccessToken() {
}
@Test
public void testTestCheckSignature() {
}
@Test
public void testOauth2refreshAccessToken() {
}
@Test
public void testOauth2buildAuthorizationUrl() {
}
@Test
public void testMiniappJscode2Session() {
}
@Test
public void testGetTemplateDraftList() {
}
@Test
public void testGetTemplateList() {
}
@Test
public void testAddToTemplate() {
}
@Test
public void testDeleteTemplate() {
}
@Test
public void testCreateOpenAccount() {
}
@Test
public void testBindOpenAccount() {
}
@Test
public void testUnbindOpenAccount() {
}
@Test
public void testGetOpenAccount() {
}
@Test
public void testFastRegisterWeapp() {
}
@Test
public void testFastRegisterWeappSearch() {
}
}

View File

@ -0,0 +1,218 @@
package me.chanjar.weixin.open.api.impl;
import org.testng.annotations.Test;
/**
* @author <a href="https://github.com/binarywang">Binary Wang</a>
* @date 2020-06-06
*/
public class WxOpenFastMaServiceImplTest {
@Test
public void testInitHttp() {
}
@Test
public void testGetRequestHttpClient() {
}
@Test
public void testGetRequestHttpProxy() {
}
@Test
public void testGetRequestType() {
}
@Test
public void testDoGetAccessTokenRequest() {
}
@Test
public void testGetRequestHttp() {
}
@Test
public void testGetPaidUnionId() {
}
@Test
public void testJsCode2SessionInfo() {
}
@Test
public void testSetDynamicData() {
}
@Test
public void testCheckSignature() {
}
@Test
public void testGetAccessToken() {
}
@Test
public void testTestGetAccessToken() {
}
@Test
public void testGet() {
}
@Test
public void testPost() {
}
@Test
public void testTestPost() {
}
@Test
public void testExecute() {
}
@Test
public void testExtractAccessToken() {
}
@Test
public void testGetWxMaConfig() {
}
@Test
public void testSetWxMaConfig() {
}
@Test
public void testSetRetrySleepMillis() {
}
@Test
public void testSetMaxRetryTimes() {
}
@Test
public void testGetMsgService() {
}
@Test
public void testGetMediaService() {
}
@Test
public void testGetUserService() {
}
@Test
public void testGetQrcodeService() {
}
@Test
public void testGetTemplateService() {
}
@Test
public void testGetSubscribeService() {
}
@Test
public void testGetAnalysisService() {
}
@Test
public void testGetCodeService() {
}
@Test
public void testGetJsapiService() {
}
@Test
public void testGetSettingService() {
}
@Test
public void testGetShareService() {
}
@Test
public void testGetRunService() {
}
@Test
public void testGetSecCheckService() {
}
@Test
public void testGetPluginService() {
}
@Test
public void testGetExpressService() {
}
@Test
public void testGetCloudService() {
}
@Test
public void testGetLiveService() {
}
@Test
public void testTestGetWxMaConfig() {
}
@Test
public void testTestGetAccessToken1() {
}
@Test
public void testGetAccountBasicInfo() {
}
@Test
public void testSetNickname() {
}
@Test
public void testQuerySetNicknameStatus() {
}
@Test
public void testCheckWxVerifyNickname() {
}
@Test
public void testModifyHeadImage() {
}
@Test
public void testModifySignature() {
}
@Test
public void testComponentRebindAdmin() {
}
@Test
public void testGetAllCategories() {
}
@Test
public void testAddCategory() {
}
@Test
public void testDeleteCategory() {
}
@Test
public void testGetCategory() {
}
@Test
public void testModifyCategory() {
}
}

View File

@ -0,0 +1,334 @@
package me.chanjar.weixin.open.api.impl;
import org.testng.annotations.Test;
/**
* @author <a href="https://github.com/binarywang">Binary Wang</a>
* @date 2020-06-06
*/
public class WxOpenMaServiceImplTest {
@Test
public void testInitHttp() {
}
@Test
public void testGetRequestHttpClient() {
}
@Test
public void testGetRequestHttpProxy() {
}
@Test
public void testGetRequestType() {
}
@Test
public void testDoGetAccessTokenRequest() {
}
@Test
public void testGetRequestHttp() {
}
@Test
public void testGetPaidUnionId() {
}
@Test
public void testJsCode2SessionInfo() {
}
@Test
public void testSetDynamicData() {
}
@Test
public void testCheckSignature() {
}
@Test
public void testGetAccessToken() {
}
@Test
public void testTestGetAccessToken() {
}
@Test
public void testGet() {
}
@Test
public void testPost() {
}
@Test
public void testTestPost() {
}
@Test
public void testExecute() {
}
@Test
public void testExtractAccessToken() {
}
@Test
public void testGetWxMaConfig() {
}
@Test
public void testSetWxMaConfig() {
}
@Test
public void testSetRetrySleepMillis() {
}
@Test
public void testSetMaxRetryTimes() {
}
@Test
public void testGetMsgService() {
}
@Test
public void testGetMediaService() {
}
@Test
public void testGetUserService() {
}
@Test
public void testGetQrcodeService() {
}
@Test
public void testGetTemplateService() {
}
@Test
public void testGetSubscribeService() {
}
@Test
public void testGetAnalysisService() {
}
@Test
public void testGetCodeService() {
}
@Test
public void testGetJsapiService() {
}
@Test
public void testGetSettingService() {
}
@Test
public void testGetShareService() {
}
@Test
public void testGetRunService() {
}
@Test
public void testGetSecCheckService() {
}
@Test
public void testGetPluginService() {
}
@Test
public void testGetExpressService() {
}
@Test
public void testGetCloudService() {
}
@Test
public void testGetLiveService() {
}
@Test
public void testTestJsCode2SessionInfo() {
}
@Test
public void testTestGetWxMaConfig() {
}
@Test
public void testTestGetAccessToken1() {
}
@Test
public void testGetDomain() {
}
@Test
public void testModifyDomain() {
}
@Test
public void testGetWebViewDomain() {
}
@Test
public void testGetWebViewDomainInfo() {
}
@Test
public void testSetWebViewDomain() {
}
@Test
public void testSetWebViewDomainInfo() {
}
@Test
public void testGetAccountBasicInfo() {
}
@Test
public void testBindTester() {
}
@Test
public void testUnbindTester() {
}
@Test
public void testUnbindTesterByUserStr() {
}
@Test
public void testGetTesterList() {
}
@Test
public void testChangeWxaSearchStatus() {
}
@Test
public void testGetWxaSearchStatus() {
}
@Test
public void testGetShowWxaItem() {
}
@Test
public void testUpdateShowWxaItem() {
}
@Test
public void testCodeCommit() {
}
@Test
public void testGetTestQrcode() {
}
@Test
public void testGetCategoryList() {
}
@Test
public void testGetPageList() {
}
@Test
public void testSubmitAudit() {
}
@Test
public void testGetAuditStatus() {
}
@Test
public void testGetLatestAuditStatus() {
}
@Test
public void testReleaseAudited() {
}
@Test
public void testChangeVisitStatus() {
}
@Test
public void testRevertCodeRelease() {
}
@Test
public void testUndoCodeAudit() {
}
@Test
public void testGetSupportVersion() {
}
@Test
public void testGetSupportVersionInfo() {
}
@Test
public void testSetSupportVersion() {
}
@Test
public void testSetSupportVersionInfo() {
}
@Test
public void testGrayRelease() {
}
@Test
public void testRevertGrayRelease() {
}
@Test
public void testGetGrayReleasePlan() {
}
@Test
public void testQueryQuota() {
}
@Test
public void testSpeedAudit() {
}
@Test
public void testAddQrcodeJump() {
}
@Test
public void testGetQrcodeJump() {
}
@Test
public void testDownloadQrcodeJump() {
}
@Test
public void testDeleteQrcodeJump() {
}
@Test
public void testPublishQrcodeJump() {
}
}