Example #1
0
        public void ScrapeTest_NoScrapes()
        {
            IgnoringListener listener = new IgnoringListener(57532);

            try
            {
                listener.IgnoreScrapes = true;
                listener.Start();
                OfflineScrapeTest();
            }
            finally
            {
                listener.Stop();
            }
        }
Example #2
0
        public void AnnounceTest_NoAnnounce()
        {
            IgnoringListener listener = new IgnoringListener(57532);

            try
            {
                listener.IgnoreAnnounces = true;
                listener.Start();
                OfflineAnnounceTest();
            }
            finally
            {
                listener.Stop();
            }
        }