[Cleanup] Removed TARGET_JVM
[mono.git] / mcs / class / corlib / Test / System.Collections.Generic / ListTest.cs
index c5966206cd824b8cedc516c180aa6f1a4a0fe848..0dc4231858d9165a028c2be176190532b13610bc 100644 (file)
@@ -345,7 +345,6 @@ namespace MonoTests.System.Collections.Generic {
 #if !NET_4_0 // FIXME: the blob contains the 2.0 mscorlib version
 
                [Test]
-               [Category ("TargetJvmNotWorking")]
                public void SerializeTest ()
                {
                        List <int> list = new List <int> ();
@@ -353,11 +352,7 @@ namespace MonoTests.System.Collections.Generic {
                        list.Add (0);
                        list.Add (7);
 
-#if TARGET_JVM
-                       BinaryFormatter bf = (BinaryFormatter)vmw.@internal.remoting.BinaryFormatterUtils.CreateBinaryFormatter (false);
-#else
                        BinaryFormatter bf = new BinaryFormatter ();
-#endif // TARGET_JVM
                        MemoryStream ms = new MemoryStream ();
                        bf.Serialize (ms, list);
 
@@ -371,18 +366,13 @@ namespace MonoTests.System.Collections.Generic {
 #endif
 
                [Test]
-               [Category ("TargetJvmNotWorking")]
                public void DeserializeTest ()
                {
                        MemoryStream ms = new MemoryStream ();
                        ms.Write (_serializedList, 0, _serializedList.Length);
                        ms.Position = 0;
 
-#if TARGET_JVM
-                       BinaryFormatter bf = (BinaryFormatter)vmw.@internal.remoting.BinaryFormatterUtils.CreateBinaryFormatter (false);
-#else
                        BinaryFormatter bf = new BinaryFormatter ();
-#endif // TARGET_JVM
                        List<int> list = (List<int>) bf.Deserialize (ms);
                        Assert.AreEqual (3, list.Count, "#1");
                        Assert.AreEqual (5, list [0], "#2");