Mark tests as not working under TARGET_JVM
[mono.git] / mcs / class / corlib / Test / System.Collections / CaseInsensitiveHashCodeProviderTest.cs
index a810cf66bdceb86aba9c979b29f343cf42c5f829..7343d5158781edffb2bf78c1184215b4ae2cd697 100644 (file)
@@ -138,9 +138,6 @@ namespace MonoTests.System.Collections {
                };
 
                [Test]
-#if TARGET_JVM
-               [Category("NotWorking")]
-#endif
                public void SerializationRoundtrip ()
                {
                        CaseInsensitiveHashCodeProvider enus = new CaseInsensitiveHashCodeProvider (new CultureInfo ("en-US"));
@@ -155,12 +152,13 @@ namespace MonoTests.System.Collections {
                }
 
                [Test]
-#if TARGET_JVM
-               [Category ("NotWorking")]
-#endif
                public void Deserialize ()
                {
+#if TARGET_JVM
+                       BinaryFormatter bf = (BinaryFormatter)vmw.@internal.remoting.BinaryFormatterUtils.CreateBinaryFormatter (false);
+#else
                        BinaryFormatter bf = new BinaryFormatter ();
+#endif // TARGET_JVM
 
                        MemoryStream ms = new MemoryStream (serialized_en_us);
                        CaseInsensitiveHashCodeProvider enus = (CaseInsensitiveHashCodeProvider) bf.Deserialize (ms);