Update UnitTest

This commit is contained in:
ChsBuffer
2021-03-16 15:24:30 +08:00
parent afbda60dfb
commit 15f4895c0f
3 changed files with 5 additions and 4 deletions

View File

@@ -6,10 +6,10 @@ using Netch.Utils;
namespace UnitTest
{
[TestClass]
public class FunctionTest : TestBase
public class Function : TestBase
{
[TestMethod]
public void TestLoadI18N()
public void LoadLanguage()
{
void TestLoad(string t)
{

View File

@@ -10,10 +10,10 @@ using Netch.Utils;
namespace UnitTest
{
[TestClass]
public class TestParseShareLink : TestBase
public class ParseShareLink : TestBase
{
[TestMethod]
public void TestServerFromSSR()
public void ParseSSR()
{
const string normalCase =
"ssr://MTI3LjAuMC4xOjEyMzQ6YXV0aF9hZXMxMjhfbWQ1OmFlcy0xMjgtY2ZiOnRsczEuMl90aWNrZXRfYXV0aDpZV0ZoWW1KaS8_b2Jmc3BhcmFtPVluSmxZV3QzWVRFeExtMXZaUQ";

View File

@@ -6,6 +6,7 @@
<UseWindowsForms>true</UseWindowsForms>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>