示例#1
0
        public async Task CheckConnectionWrongKeyTest()
        {
            IHueClient client = new HueClient(ConfigurationManager.AppSettings["ip"].ToString(), "wrongkey123");

            var result = await client.CheckConnection();

            Assert.IsFalse(result);
        }
示例#2
0
    public async Task CheckConnectionWrongKeyTest()
    {
      IHueClient client = new HueClient(ConfigurationManager.AppSettings["ip"].ToString(), "wrongkey123");

      var result = await client.CheckConnection();

      Assert.IsFalse(result);
    }
示例#3
0
        public async Task CheckConnectionWrongIpTest()
        {
            IHueClient client = new HueClient("42.1.1.1", ConfigurationManager.AppSettings["key"].ToString());

            var result = await client.CheckConnection();

            Assert.IsFalse(result);
        }
示例#4
0
    public async Task CheckConnectionWrongIpTest()
    {
      IHueClient client = new HueClient("42.1.1.1", ConfigurationManager.AppSettings["key"].ToString());

      var result = await client.CheckConnection();

      Assert.IsFalse(result);
    }