Fix URi tests (and class) to be omcpatible with both 2.0 and 4.0 (and SL4)
authorSebastien Pouliot <sebastien@ximian.com>
Mon, 13 Sep 2010 21:38:42 +0000 (17:38 -0400)
committerSebastien Pouliot <sebastien@ximian.com>
Mon, 13 Sep 2010 21:38:42 +0000 (17:38 -0400)
commit60d5ffbd37fd3d7e5672e2291a40faa129076803
tree6ba1804a65fa60bce7db7af15fb75f6fbc185118
parentdea65b0a0616de82107c02ddf2420697ac52dcc5
Fix URi tests (and class) to be omcpatible with both 2.0 and 4.0 (and SL4)

* System/Uri.cs: Fix some "bugs" that are not part of FX4 anymore.
Change how Query/Fragment are merged to match FX4 (while keeping it
compatible with buggy FX2 under the NET_2_0 profile)

* Test/System/UriTest.cs: Adjust test cases to work with 4.0. Mark with
NotDotNet two test cases that are Mono/Unix-specific
* Test/System/UriTest2.cs: Add new test cases where a relative Uri is
merged with an absolute Uri (some changes in SL4/FX4 wrt FX2)
* Test/System/UriTest3.cs: Adjust for bugs fixed after FX 2.0.
mcs/class/System/System/Uri.cs
mcs/class/System/Test/System/UriTest.cs
mcs/class/System/Test/System/UriTest2.cs
mcs/class/System/Test/System/UriTest3.cs