示例#1
0
        public void ValidateProxyNone()
        {
            ProxyPool pool = new ProxyPool();

            pool.ValidateProxy( pool.Proxies[ 0 ], ProxyPoolOptions.None );
            // should be ok because validation disabled
            pool.ValidateProxy( new Uri( "http://heise.de" ), ProxyPoolOptions.None );
        }
示例#2
0
        public void Create()
        {
            ProxyPool pool = new ProxyPool();

            Assert.IsTrue( pool.Proxies.Count > 0 );
        }