Наследование: OctoTorrent.Client.Tracker.Tracker
Пример #1
0
        public void Defaults()
        {
            DefaultTracker tracker = new DefaultTracker();

            Assert.AreEqual(TimeSpan.FromMinutes(3), tracker.MinUpdateInterval, "#1");
            Assert.AreEqual(TimeSpan.FromMinutes(30), tracker.UpdateInterval, "#2");
            Assert.IsNotNull(tracker.WarningMessage, "#3");
            Assert.IsNotNull(tracker.FailureMessage, "#5");
        }
Пример #2
0
 public void Defaults()
 {
     DefaultTracker tracker = new DefaultTracker();
     Assert.AreEqual(TimeSpan.FromMinutes(3), tracker.MinUpdateInterval, "#1");
     Assert.AreEqual(TimeSpan.FromMinutes(30), tracker.UpdateInterval, "#2");
     Assert.IsNotNull(tracker.WarningMessage, "#3");
     Assert.IsNotNull(tracker.FailureMessage, "#5");
 }