Author: kostat
Date: 2007-05-06 03:20:55 -0400 (Sun, 06 May 2007)
New Revision: 76765
Modified:
trunk/mcs/class/System/Test/System/UriTest.cs
Log:
TARGET_JVM: UNC is not supported
Modified: trunk/mcs/class/System/Test/System/UriTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System/UriTest.cs 2007-05-06 07:17:43 UTC
(rev 76764)
+++ trunk/mcs/class/System/Test/System/UriTest.cs 2007-05-06 07:20:55 UTC
(rev 76765)
@@ -640,10 +640,12 @@
AssertEquals ("#7e", "/", uri.AbsolutePath);
AssertEquals ("#7f", "/", uri.PathAndQuery);
AssertEquals ("#7g", "file://one_file.txt/",
uri.GetLeftPart (UriPartial.Path));
+#if !TARGET_JVM
if (isWin32)
AssertEquals ("#7b", "\\\\one_file.txt\\",
uri.LocalPath);
else
AssertEquals ("#7b", "/", uri.LocalPath);
+#endif
AssertEquals ("#7c", "file", uri.Scheme);
AssertEquals ("#7d", "one_file.txt", uri.Host);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches