diff --git a/Realtime/Realtime-Unity/Realtime-Unity.csproj b/Realtime/Realtime-Unity/Realtime-Unity.csproj
index 19ba882..b900418 100644
--- a/Realtime/Realtime-Unity/Realtime-Unity.csproj
+++ b/Realtime/Realtime-Unity/Realtime-Unity.csproj
@@ -115,6 +115,9 @@
LCIMClient.cs
+
+ LCRealtime.cs
+
diff --git a/Realtime/Realtime.Test/Client.cs b/Realtime/Realtime.Test/Client.cs
index 9669bea..e43a7bf 100644
--- a/Realtime/Realtime.Test/Client.cs
+++ b/Realtime/Realtime.Test/Client.cs
@@ -3,7 +3,6 @@ using System;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using LeanCloud;
-using LeanCloud.Common;
using LeanCloud.Realtime;
using LeanCloud.Storage;
@@ -24,9 +23,13 @@ namespace Realtime.Test {
[Test]
public async Task OpenAndClose() {
- LCIMClient client = new LCIMClient("c1");
- await client.Open();
- await client.Close();
+ LCIMClient c1 = new LCIMClient("c1");
+ LCIMClient c2 = new LCIMClient("c2");
+ await c1.Open();
+ await c2.Open();
+
+ await c1.Close();
+ await c2.Close();
}
[Test]
@@ -34,7 +37,14 @@ namespace Realtime.Test {
LCUser user = await LCUser.Login("hello", "world");
LCIMClient client = new LCIMClient(user);
await client.Open();
+
+
+ LCUser game = await LCUser.Login("game", "play");
+ LCIMClient client2 = new LCIMClient(game);
+ await client2.Open();
+
await client.Close();
+ await client2.Close();
}
[Test]
@@ -67,8 +77,6 @@ namespace Realtime.Test {
[Test]
public async Task CreateChatRoom() {
- TaskCompletionSource