test: 引入代码分析器工具

This commit is contained in:
Fu Diwei
2022-02-21 18:27:07 +08:00
parent ab96ebba31
commit 022ef5bc71
36 changed files with 232 additions and 1380 deletions

View File

@@ -22,8 +22,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
WechatAgentId = int.Parse(config.GetProperty("AgentId").GetString())!;
WechatAgentSecret = config.GetProperty("AgentSecret").GetString()!;
ProjectSourceDirectory = jdoc.RootElement.GetProperty("ProjectSourceDirectory").GetString()!;
ProjectTestDirectory = jdoc.RootElement.GetProperty("ProjectTestDirectory").GetString()!;
WorkDirectoryForSdk = jdoc.RootElement.GetProperty("WorkDirectoryForSdk").GetString()!;
WorkDirectoryForTest = jdoc.RootElement.GetProperty("WorkDirectoryForTest").GetString()!;
}
catch (Exception ex)
{
@@ -35,7 +35,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
public static readonly int WechatAgentId;
public static readonly string WechatAgentSecret;
public static readonly string ProjectSourceDirectory;
public static readonly string ProjectTestDirectory;
public static readonly string WorkDirectoryForSdk;
public static readonly string WorkDirectoryForTest;
}
}