chore: 适配 rename

oneRain 2020-03-10 16:26:21 +08:00
parent dd84065145
commit 4c632b49ff
10 changed files with 11 additions and 11 deletions

View File

@ -8,7 +8,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -10,7 +10,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -13,7 +13,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]
@ -72,7 +72,7 @@ namespace LeanCloud.Test {
[Test] [Test]
public async Task AWS() { public async Task AWS() {
LeanCloud.Initialize("UlCpyvLm8aMzQsW6KnP6W3Wt-MdYXbMMI", "PyCTYoNoxCVoKKg394PBeS4r"); LCApplication.Initialize("UlCpyvLm8aMzQsW6KnP6W3Wt-MdYXbMMI", "PyCTYoNoxCVoKKg394PBeS4r");
LCFile file = new LCFile("avatar", AvatarFilePath); LCFile file = new LCFile("avatar", AvatarFilePath);
await file.Save((count, total) => { await file.Save((count, total) => {
TestContext.WriteLine($"progress: {count}/{total}"); TestContext.WriteLine($"progress: {count}/{total}");

View File

@ -10,7 +10,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -9,7 +9,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -9,7 +9,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -10,7 +10,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -12,7 +12,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -40,7 +40,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]

View File

@ -10,7 +10,7 @@ namespace LeanCloud.Test {
[SetUp] [SetUp]
public void SetUp() { public void SetUp() {
Logger.LogDelegate += Utils.Print; 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] [TearDown]