2010-01-21 Sebastien Pouliot <[email protected]>
* CookieContainerTest.cs: Additional test cases from Tom Philpot
In System.Net:
2010-01-21 Sebastien Pouliot <[email protected]>
* CookieContainer.cs: Fix to cloning and expiration. Patch
by Tom Philpot <[email protected]>
svn path=/trunk/mcs/; revision=149976
2009-12-24 Sebastien Pouliot <[email protected]>
* CookieContainerTest.cs: Split many tests into smaller test
cases. Add test cases for DefaultPerDomainCookieLimit and
DefaultCookieLimit. Remove all [Category ("NotWorking")] since
everything works now.
In System.Net:
2009-12-24 Sebastien Pouliot <[email protected]>
* Cookie.cs: Re-work ToString to be useable in more cases. Fix
some issues found by Gendarme.
* CookieContainer.cs: Fix all NonWorking (and new) unit tests.
Implement removing oldest cookies when limits are reached.
* CookieCollection.cs: Move to generics internally. Fix sort to
be closer to MS implementation (but still not 100% identical).
Fix some issues found by Gendarme.
svn path=/trunk/mcs/; revision=148891
* HttpWebRequestTest.cs: use different ports for different tests since
the shutdown might take a little bit and tests might conflict.
svn path=/trunk/mcs/; revision=137667
Modified CanRead and CanWrite to return false when instance is disposed.
* HttpWebRequestTest.cs: Enabled tests, and removed test that is now
covered by two separate CanTimeout tests for request and response
stream.
* HttpWebResponseStreamTest.cs: Enabled tests.
svn path=/trunk/mcs/; revision=137450
* SocketResponder.cs: the listener might be closed right before
Accept() is called and in that case we get an EINVAL.
* WebClientTest.cs: now that we might send separate packets for
headers and body, wait a little bit before checking socket.Available.
svn path=/trunk/mcs/; revision=137038
* WebConnectionStream.cs: Keep count of all bytes written, and perform
write overflow check in both buffered and non-buffered writing (if
not using chunked transfer encoding). Fixes bug #510642.
svn path=/trunk/mcs/; revision=136570
* HttpWebRequestTest.cs: Enabled test for bug #508027. Added test for
bug #513087.
* WebClientTest.cs: Added test for bug #484795, for Encoding property.
svn path=/trunk/mcs/; revision=136544
* 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
messages, and improve compatibility with MS. Modified set_Capacity to
no longer change MaxCookieSize when new value is less than
MaxCookieSize.
* CookieTest.cs: Added test for Path.
* CookieContainerTest.cs: Added and improved .ctor tests.
Improved tests for Capacity and MaxCookieSize. Added tests for
PerDomainCapacity. Added tests for Add overloads, GetCookieHeader,
GetCookies and SetCookies. Added test for bug #421827.
svn path=/trunk/mcs/; revision=134295
* CredentialCache.cs : implement all not-implemented methods.
Patch by Mineda Nozomi. Close bug #499556.
* CredentialCacheTest.cs : new tests for get/add/remove.
Patch by Mineda Nozomi.
svn path=/trunk/mcs/; revision=133400
for argument checks.
* Dns.cs: BeginGetHostAddresses - renamed argument to match MS,
reject "any" IP addresses. BeginGetHostEntry - renamed argument
to match MS, reject "any" IP addresses. GetHostEntry - reject
"any" IP addresses. GetHostAddresses - reject "any" IP addresses.
GetHostByName - use "hostName" as paramname in ANE.
svn path=/trunk/mcs/; revision=126281
* HttpWebResponseTest.cs:
* SocketResponder.cs:
* HttpWebRequestTest.cs: don't pretend to be a 1.1 server or the
socket will stay open. Timeout for Ntlm test is 5s now.
svn path=/trunk/mcs/; revision=117510
* IPAddress.cs : several IPv4 parsing fix exposed by bug #411920.
* IPAddressTest.cs : added test strings for bug #411920 as well as
enabling some ipv4ParseOK strings.
svn path=/trunk/mcs/; revision=109737
remain accessible after the response is disposed (and the headers are
no longer available). Adding missing disposed checks in properties
(except for StatusCode) and GetResponseHeader. On the 2.0 profile,
headers must remain accessible after the HttpWebResponse is disposed.
* System_test.dll.sources: Added HttpWebResponseTest.cs.
* HttpWebResponseTest.cs: Enabled tests.
svn path=/trunk/mcs/; revision=108804
(TryParse): Changed argument name to match MS.
(ParseIPV4): Only treat zero-length or " " address as empty on 1.0
profile. On 2.0 profile, only ignore characters after blank if last
part is valid hex string.
* IPv6Address.cs: Removed extra spaces and tabs.
* IPAddressTest.cs: Remove use of deprecated Assertion. Improved
existing tests.
svn path=/trunk/mcs/; revision=94052