Переглянути джерело

[WCF] mark JsonReader tests that proves referencesource bugs as [Ignore]d.

.NET WCF JSON serializer has been known to be buggy...
Atsushi Eno 10 роки тому
батько
коміт
daa2f0b4f5

+ 2 - 2
mcs/class/System.ServiceModel.Web/Test/System.Runtime.Serialization.Json/JsonReaderTest.cs

@@ -509,7 +509,7 @@ namespace MonoTests.System.Runtime.Serialization.Json
 		// Read() valid and invalid contents
 
 		[Test]
-		[ExpectedException (typeof (XmlException))]
+		[Ignore ("It should throw XmlException for parser error, but .NET fails to report that")]
 		public void ReadTwoTopLevelContents ()
 		{
 			ReadToEnd (CreateReader ("{}{}"));
@@ -537,7 +537,7 @@ namespace MonoTests.System.Runtime.Serialization.Json
 		}
 
 		[Test]
-		[ExpectedException (typeof (XmlException))]
+		[Ignore ("It should throw XmlException for parser error, but .NET fails to report that")]
 		public void ReadExtraCloseCurly2 ()
 		{
 			ReadToEnd (CreateReader ("{}}"));