Inheritance: System.Net.WebRequest
示例#1
0
		public void SerializationConstructor ()
		{
#if NET_2_0
			NonAbstractWebRequest w = new NonAbstractWebRequest (null, new StreamingContext ());
			Assert.IsNotNull (w);
#else
			try {
				new NonAbstractWebRequest (null, new StreamingContext ());
				Assert.Fail ("#1");
			} catch (NotImplementedException) {
			}
#endif
		}
示例#2
0
		public void ConnectionGroupName ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.ConnectionGroupName);
		}
示例#3
0
		public void GetResponse ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			w.GetResponse ();
		}
示例#4
0
		public void EndGetResponse ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			w.EndGetResponse (null);
		}
示例#5
0
		public void BeginGetResponse ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			IAsyncResult r = w.BeginGetResponse (new AsyncCallback (Callback), w);
		}
示例#6
0
		public void Timeout ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.Timeout);
		}
示例#7
0
		public void Proxy ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.Proxy);
		}
示例#8
0
        public void SerializationConstructor()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest(null, new StreamingContext());

            Assert.IsNotNull(w);
        }
示例#9
0
        public void Credentials()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.Credentials);
        }
示例#10
0
        public void Headers()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.Headers);
        }
示例#11
0
        public void ContentType()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.ContentType);
        }
示例#12
0
        public void ContentLength()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.ContentLength);
        }
示例#13
0
        public void ConnectionGroupName()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.ConnectionGroupName);
        }
示例#14
0
		public void ContentType ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.ContentType);
		}
示例#15
0
        public void Method()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.Method);
        }
示例#16
0
		public void Headers ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.Headers);
		}
示例#17
0
        public void PreAuthenticate()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsTrue(w.PreAuthenticate);
        }
示例#18
0
		public void PreAuthenticate ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsTrue (w.PreAuthenticate);
		}
示例#19
0
        public void Proxy()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.Proxy);
        }
示例#20
0
		public void RequestUri ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.RequestUri);
		}
示例#21
0
        public void RequestUri()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.RequestUri);
        }
示例#22
0
		public void Abort ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			w.Abort ();
		}
示例#23
0
        public void Timeout()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            Assert.IsNull(w.Timeout);
        }
示例#24
0
		public void EndGetRequestStream ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			w.EndGetRequestStream (null);
		}
示例#25
0
        public void Abort()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            w.Abort();
        }
示例#26
0
		public void GetRequestStream ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			w.GetRequestStream ();
		}
示例#27
0
 public void BeginGetResponse()
 {
     NonAbstractWebRequest w = new NonAbstractWebRequest();
     IAsyncResult          r = w.BeginGetResponse(new AsyncCallback(Callback), w);
 }
示例#28
0
		public void SerializationConstructor ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest (null, new StreamingContext ());
			Assert.IsNotNull (w);
		}
示例#29
0
        public void EndGetRequestStream()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            w.EndGetRequestStream(null);
        }
示例#30
0
		public void ContentLength ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.ContentLength);
		}
示例#31
0
        public void EndGetResponse()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            w.EndGetResponse(null);
        }
示例#32
0
		public void Credentials ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.Credentials);
		}
示例#33
0
        public void GetRequestStream()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            w.GetRequestStream();
        }
示例#34
0
		public void Method ()
		{
			NonAbstractWebRequest w = new NonAbstractWebRequest ();
			Assert.IsNull (w.Method);
		}
示例#35
0
        public void GetResponse()
        {
            NonAbstractWebRequest w = new NonAbstractWebRequest();

            w.GetResponse();
        }