diff options
author | Zoltan Varga <vargaz@gmail.com> | 2005-02-01 19:38:26 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2005-02-01 19:38:26 +0300 |
commit | f11aa4c48cbf17526f66fa1bf4c34b1642ed3e1f (patch) | |
tree | 1c0dbc3ed809922174e4ea7abc33676fc6ccc401 /mcs | |
parent | 2741eb2d5cc610a02af3e3f8f16d373a4d44b1fc (diff) |
2005-02-01 Zoltan Varga <vargaz@freemail.hu>
* HttpWebRequestTest.cs ServicePointManagerTest.cs ServicePointTest.cs:
Mark some tests with [Caregory ("InetAccess")].
svn path=/trunk/mcs/; revision=39932
Diffstat (limited to 'mcs')
4 files changed, 10 insertions, 1 deletions
diff --git a/mcs/class/System/Test/System.Net/ChangeLog b/mcs/class/System/Test/System.Net/ChangeLog index f9cd6df63e1..5181a4f5d26 100644 --- a/mcs/class/System/Test/System.Net/ChangeLog +++ b/mcs/class/System/Test/System.Net/ChangeLog @@ -1,3 +1,8 @@ +2005-02-01 Zoltan Varga <vargaz@freemail.hu> + + * HttpWebRequestTest.cs ServicePointManagerTest.cs ServicePointTest.cs: + Mark some tests with [Caregory ("InetAccess")]. + 2005-01-28 Nick Drochak <ndrochak@ieee.org> * DnsTest.cs: Pick a URL we can most likely fail against. diff --git a/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs b/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs index 1e90447c262..1256e2d735b 100644 --- a/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs +++ b/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs @@ -20,7 +20,8 @@ namespace MonoTests.System.Net public class HttpWebRequestTest : Assertion
{
[Test]
- public void Sync ()
+ [Category("InetAccess")]
+ public void Sync ()
{
HttpWebRequest req = (HttpWebRequest) WebRequest.Create ("http://www.google.com");
AssertNotNull ("req:If Modified Since: ", req.IfModifiedSince);
diff --git a/mcs/class/System/Test/System.Net/ServicePointManagerTest.cs b/mcs/class/System/Test/System.Net/ServicePointManagerTest.cs index 5438ec3a63d..58d12cc6d22 100644 --- a/mcs/class/System/Test/System.Net/ServicePointManagerTest.cs +++ b/mcs/class/System/Test/System.Net/ServicePointManagerTest.cs @@ -43,6 +43,7 @@ public class ServicePointManagerTest : Assertion }
[Test, ExpectedException (typeof (InvalidOperationException))]
+ [Category ("InetAccess")]
public void MaxServicePointManagers ()
{
AssertEquals ("#1", 0, ServicePointManager.MaxServicePoints);
diff --git a/mcs/class/System/Test/System.Net/ServicePointTest.cs b/mcs/class/System/Test/System.Net/ServicePointTest.cs index 01ee2709f1f..16666cc6d85 100644 --- a/mcs/class/System/Test/System.Net/ServicePointTest.cs +++ b/mcs/class/System/Test/System.Net/ServicePointTest.cs @@ -34,6 +34,7 @@ public class ServicePointTest }
[Test]
+ [Category ("InetAccess")]
public void All ()
{
ServicePoint p = ServicePointManager.FindServicePoint (new Uri ("mailto:xx@yyy.com"));
@@ -114,6 +115,7 @@ public class ServicePointTest // while ConnectionLimit equals 2
[Test]
+ [Category ("InetAccess")]
public void ConnectionLimit ()
{
// the default is already 2, just in case it isn't..
|