Disable two tests which fail on Windows with the .NET runtime.
authorMartin Baulig <martin.baulig@gmail.com>
Mon, 16 Jul 2012 22:59:34 +0000 (00:59 +0200)
committerMartin Baulig <martin.baulig@gmail.com>
Mon, 16 Jul 2012 22:59:34 +0000 (00:59 +0200)
mcs/class/System.Net.Http/Test/System.Net.Http.Headers/ContentDispositionHeaderValueTest.cs
mcs/class/System.Net.Http/Test/System.Net.Http/StreamContentTest.cs

index f00b41e202740081a364501da5f1579d94057bf7..87bd1a95fe686c3eba6b1572c4d5b6cac21de69d 100644 (file)
@@ -55,6 +55,16 @@ namespace MonoTests.System.Net.Http.Headers
                }
 
                [Test]
+               /*
+                * This fails on Windows with the .NET runtime:
+                * 
+                * Test Case Failures:
+                * 1) MonoTests.System.Net.Http.Headers.ContentDispositionHeaderValueTest.Equals : System.NullReferenceException : Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
+                * bei System.Net.Http.Headers.ContentDispositionHeaderValue.set_Size(Nullable`1 value)
+                * bei MonoTests.System.Net.Http.Headers.ContentDispositionHeaderValueTest.Equals()
+                * 
+                */
+               [Category ("NotWorking")]
                public void Equals ()
                {
                        var value = new ContentDispositionHeaderValue ("x");
index 46459f0079aba433a4c726b666c83b61dca9f122..9db2950a785dae36f91b3846959fb012b330bc1e 100644 (file)
@@ -142,6 +142,11 @@ namespace MonoTests.System.Net.Http
                }
 
                [Test]
+               /*
+                * The .NET runtime hits the "#9" assertion.
+                * The test succeeds with Mono.
+                */
+               [Category ("NotWorking")]
                public void CopyToAsync ()
                {
                        var ms = new MemoryStream ();