Example #1
0
        public async Task KeyTest()
        {
            tracker = (HTTPTracker)TrackerFactory.Create(new Uri(AnnounceUrl + "?key=value"));
            await tracker.AnnounceAsync(announceParams);

            Assert.AreEqual("value", keys[0], "#1");
        }
Example #2
0
        public async Task Announce()
        {
            await tracker.AnnounceAsync(announceParams);

            Assert.IsTrue(StringComparer.OrdinalIgnoreCase.Equals(keys[0], tracker.Key), "#2");
        }