From 4c632b49ffb8ed9342f83b13ef35ef5076e6bd19 Mon Sep 17 00:00:00 2001 From: oneRain Date: Tue, 10 Mar 2020 16:26:21 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=80=82=E9=85=8D=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Test/Storage.Test/ACLTest.cs | 2 +- Test/Storage.Test/CloudTest.cs | 2 +- Test/Storage.Test/FileTest.cs | 4 ++-- Test/Storage.Test/ObjectTest.cs | 2 +- Test/Storage.Test/OperationTest.cs | 2 +- Test/Storage.Test/QueryTest.cs | 2 +- Test/Storage.Test/RelationTest.cs | 2 +- Test/Storage.Test/RoleTest.cs | 2 +- Test/Storage.Test/SubClassTest.cs | 2 +- Test/Storage.Test/UserTest.cs | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Test/Storage.Test/ACLTest.cs b/Test/Storage.Test/ACLTest.cs index eb13f66..6eddc29 100644 --- a/Test/Storage.Test/ACLTest.cs +++ b/Test/Storage.Test/ACLTest.cs @@ -8,7 +8,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/CloudTest.cs b/Test/Storage.Test/CloudTest.cs index e723fbf..0e699f1 100644 --- a/Test/Storage.Test/CloudTest.cs +++ b/Test/Storage.Test/CloudTest.cs @@ -10,7 +10,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/FileTest.cs b/Test/Storage.Test/FileTest.cs index 9259f58..48a2b38 100644 --- a/Test/Storage.Test/FileTest.cs +++ b/Test/Storage.Test/FileTest.cs @@ -13,7 +13,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] @@ -72,7 +72,7 @@ namespace LeanCloud.Test { [Test] public async Task AWS() { - LeanCloud.Initialize("UlCpyvLm8aMzQsW6KnP6W3Wt-MdYXbMMI", "PyCTYoNoxCVoKKg394PBeS4r"); + LCApplication.Initialize("UlCpyvLm8aMzQsW6KnP6W3Wt-MdYXbMMI", "PyCTYoNoxCVoKKg394PBeS4r"); LCFile file = new LCFile("avatar", AvatarFilePath); await file.Save((count, total) => { TestContext.WriteLine($"progress: {count}/{total}"); diff --git a/Test/Storage.Test/ObjectTest.cs b/Test/Storage.Test/ObjectTest.cs index f94a39f..ab6e22f 100644 --- a/Test/Storage.Test/ObjectTest.cs +++ b/Test/Storage.Test/ObjectTest.cs @@ -10,7 +10,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/OperationTest.cs b/Test/Storage.Test/OperationTest.cs index ececc97..1e2f277 100644 --- a/Test/Storage.Test/OperationTest.cs +++ b/Test/Storage.Test/OperationTest.cs @@ -9,7 +9,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/QueryTest.cs b/Test/Storage.Test/QueryTest.cs index 30c385a..6b5c705 100644 --- a/Test/Storage.Test/QueryTest.cs +++ b/Test/Storage.Test/QueryTest.cs @@ -9,7 +9,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/RelationTest.cs b/Test/Storage.Test/RelationTest.cs index 433802b..c060c40 100644 --- a/Test/Storage.Test/RelationTest.cs +++ b/Test/Storage.Test/RelationTest.cs @@ -10,7 +10,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/RoleTest.cs b/Test/Storage.Test/RoleTest.cs index f11da18..9360afe 100644 --- a/Test/Storage.Test/RoleTest.cs +++ b/Test/Storage.Test/RoleTest.cs @@ -12,7 +12,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/SubClassTest.cs b/Test/Storage.Test/SubClassTest.cs index 9e1c994..663247a 100644 --- a/Test/Storage.Test/SubClassTest.cs +++ b/Test/Storage.Test/SubClassTest.cs @@ -40,7 +40,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown] diff --git a/Test/Storage.Test/UserTest.cs b/Test/Storage.Test/UserTest.cs index 83a64e4..9f6d9e3 100644 --- a/Test/Storage.Test/UserTest.cs +++ b/Test/Storage.Test/UserTest.cs @@ -10,7 +10,7 @@ namespace LeanCloud.Test { [SetUp] public void SetUp() { Logger.LogDelegate += Utils.Print; - LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); + LCApplication.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com"); } [TearDown]