2003-12-31 Nick Drochak <ndrochak@ieee.com>
authorNick Drochak <nickd@mono-cvs.ximian.com>
Wed, 31 Dec 2003 14:43:58 +0000 (14:43 -0000)
committerNick Drochak <nickd@mono-cvs.ximian.com>
Wed, 31 Dec 2003 14:43:58 +0000 (14:43 -0000)
* UriTest2.cs: Use proper path to find file.
* UriBuilderTest.cs: 123456789 is not a bad port.

svn path=/trunk/mcs/; revision=21563

mcs/class/System/Test/System/ChangeLog
mcs/class/System/Test/System/UriBuilderTest.cs
mcs/class/System/Test/System/UriTest2.cs

index 275f11c6e39775a415118800b9539d2af7145d02..047a1e78193b8c02c1fc05983aef6e778ced8ba4 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-31  Nick Drochak  <ndrochak@ieee.com>
+
+       * UriTest2.cs: Use proper path to find file.
+       * UriBuilderTest.cs: 123456789 is not a bad port.
+
 2003-12-11  Nick Drochak  <ndrochak@ieee.com>
 
        * UriTest.cs: Test for UriFormatException
index 1a0ed43b88a8be27a170f5ff497d481ff1f40fb2..921e06e46e3097d887f962dd76a0031bafd39609 100644 (file)
@@ -67,13 +67,6 @@ namespace MonoTests.System
                        b.Port = -12345;\r
                }\r
 \r
-               [Test]\r
-               [ExpectedException (typeof (ArgumentOutOfRangeException))]\r
-               public void BadPort2 ()\r
-               {\r
-                       b.Port = 123456789;\r
-               }\r
-\r
                [Test]\r
                [ExpectedException (typeof (ArgumentOutOfRangeException))]\r
                public void BadPort3 ()\r
index ba6f5da0c427746d7198b67b6ab265f715985266..e2d21ad8b6e0c829de70251a930d4539e287d055 100755 (executable)
@@ -1,4 +1,4 @@
-using System;\r
+using System;\r
 using System.IO;\r
 using System.Text;\r
 using NUnit.Framework;\r
@@ -50,7 +50,7 @@ namespace MonoTests.System
                [Test]\r
                public void TestFromFile ()\r
                {\r
-                       StreamReader sr = new StreamReader ("System/test-uri-props.txt", Encoding.UTF8);\r
+                       StreamReader sr = new StreamReader ("Test/System/test-uri-props.txt", Encoding.UTF8);\r
                        while (sr.Peek () > 0) {\r
                                sr.ReadLine (); // skip\r
                                string uriString = sr.ReadLine ();\r