コード例 #1
0
 public void unregisterdNameDNT()
 {
     Assert.DoesNotThrow(() => UnityClientList.removeClient(""));
     Assert.DoesNotThrow(() => UnityClientList.setClientPublic("", true));
     Assert.DoesNotThrow(() => UnityClientList.getClientPublic(""));
 }
コード例 #2
0
 public void DuplicateClientRemovedDNT()
 {
     Assert.DoesNotThrow(() => UnityClientList.removeClient(ts));
     Assert.DoesNotThrow(() => UnityClientList.removeClient(ts));
 }
コード例 #3
0
 public void ClientExistsWorks()
 {
     Assert.True(UnityClientList.clientExists(ts));
     UnityClientList.removeClient(ts);
     Assert.False(UnityClientList.clientExists(ts));
 }
コード例 #4
0
 public void TearDown()
 {
     UnityClientList.removeClient(ts);
 }