Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
* WebConnection.cs: propagate the exception to the request.
* WebException.cs: new internal ctor.
* HttpWebRequest.cs: use new ctor to encapsulate the innerException.
Fixes#323452.
2009-06-16 Andrés G. Aragoneses <[email protected]>
* WebRequestTest.cs: Drop NotWorking attrib, more accurate tests.
svn path=/trunk/mcs/; revision=136198
1.0 profile change. Added trivial tests to argument null checks.
Added test for DefaultWebProxy. Fixed line endings.
* WebRequest.cs: Changed serialization ctor to throw NIE on 1.0
profile. Cache default proxy, but still allow it to be explicitly set
to null.
svn path=/trunk/mcs/; revision=87517
* DnsCas.cs: New. CAS unit tests for Dns.
* DnsTest.cs: Fixed the wrong End* method being used in AsyncResolve.
* FileWebRequestCas.cs: New. CAS unit tests for FileWebRequest.
* HttpWebRequestCas.cs: New. CAS unit tests for HttpWebRequest.
* WebRequestTest.cs: Added tests to validate exceptions.
svn path=/trunk/mcs/; revision=44754