Esempio n. 1
0
        public void T05_Delete()
        {
            var to = new TagAddRemove(_ta);
            to.Remove.Add(TAG_GROUP, _remlist);
            OpTest(_ua.ChannelTags(to));

            Thread.Sleep(5000);
            ChannelResponse cr = _ua.Channel(_ta.IosChannel);
            OpTest(cr);
            Assert.IsNotNull(cr.Channel);
            Assert.That(!cr.Channel.TagGroups.ContainsKey(TAG_GROUP) || cr.Channel.TagGroups[TAG_GROUP].Count == 0);
        }
Esempio n. 2
0
 public void T01_Create()
 {
     var to = new TagAddRemove(_ta);
     to.Add.Add(TAG_GROUP, new[] { _remlist.First() });
     OpTest(_ua.ChannelTags(to));
 }