Author: andrews
Date: 2006-11-15 09:44:13 -0500 (Wed, 15 Nov 2006)
New Revision: 67925

Modified:
   trunk/mcs/class/System/Test/System.Collections.Generic/ChangeLog
   trunk/mcs/class/System/Test/System.Collections.Generic/LinkedListTest.cs
   trunk/mcs/class/System/Test/System.Collections.Generic/QueueTest.cs
   trunk/mcs/class/System/Test/System.Collections.Generic/SortedListTest.cs
   trunk/mcs/class/System/Test/System.Collections.Generic/StackTest.cs
Log:
TARGET_JVM to workaround CopyTo limitations


Modified: trunk/mcs/class/System/Test/System.Collections.Generic/ChangeLog
===================================================================
--- trunk/mcs/class/System/Test/System.Collections.Generic/ChangeLog    
2006-11-15 14:34:35 UTC (rev 67924)
+++ trunk/mcs/class/System/Test/System.Collections.Generic/ChangeLog    
2006-11-15 14:44:13 UTC (rev 67925)
@@ -1,3 +1,8 @@
+2006-11-15  Andrew Skiba  <[EMAIL PROTECTED]>
+
+       * LinkedListTest.cs, QueueTest.cs, SortedListTest.cs, StackTest.cs:
+       TARGET_JVM to workaround CopyTo limitations.
+
 2006-04-05  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * SortedDictionaryTest.cs : new test.

Modified: 
trunk/mcs/class/System/Test/System.Collections.Generic/LinkedListTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Collections.Generic/LinkedListTest.cs    
2006-11-15 14:34:35 UTC (rev 67924)
+++ trunk/mcs/class/System/Test/System.Collections.Generic/LinkedListTest.cs    
2006-11-15 14:44:13 UTC (rev 67925)
@@ -118,7 +118,7 @@
                        for (LinkedListNode <int> current = intlist.First; 
current != null; current = current.Next )
                                Assert.AreSame (intlist, current.List);
                }
-
+#if !TARGET_JVM
                [Test]
                public void CopyToTest ()
                {
@@ -128,7 +128,7 @@
                        for (int i = 0; i < 3; i++)
                                Assert.AreEqual (values [i], output [i]);
                }
-
+#endif
                [Test]
                public void FindTest ()
                {

Modified: trunk/mcs/class/System/Test/System.Collections.Generic/QueueTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Collections.Generic/QueueTest.cs 
2006-11-15 14:34:35 UTC (rev 67924)
+++ trunk/mcs/class/System/Test/System.Collections.Generic/QueueTest.cs 
2006-11-15 14:44:13 UTC (rev 67925)
@@ -85,7 +85,7 @@
                        AssertEquals (s.Contains (1), true);
                        AssertEquals (s.Contains (0), false);
                }
-               
+#if !TARGET_JVM
                [Test]
                public void TestCopyTo ()
                {
@@ -100,7 +100,7 @@
                        AssertEquals (x [1], 1);
                        AssertEquals (x [2], 2);
                }
-               
+#endif
                [Test]
                public void TestPeek ()
                {

Modified: 
trunk/mcs/class/System/Test/System.Collections.Generic/SortedListTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Collections.Generic/SortedListTest.cs    
2006-11-15 14:34:35 UTC (rev 67924)
+++ trunk/mcs/class/System/Test/System.Collections.Generic/SortedListTest.cs    
2006-11-15 14:44:13 UTC (rev 67925)
@@ -80,7 +80,7 @@
                public void ItemMissingKey () {
                        string s = list [99];
                }
-
+#if !TARGET_JVM
                [Test]
                public void Keys () {
                        IList<int> keys = list.Keys;
@@ -112,7 +112,7 @@
                        Assert.AreEqual (2, arr [1]);
                        Assert.AreEqual (5, arr [2]);
                }
-
+#endif
                [Test]
                public void KeysNonGeneric () {
                        ICollection keys = ((IDictionary)list).Keys;

Modified: trunk/mcs/class/System/Test/System.Collections.Generic/StackTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Collections.Generic/StackTest.cs 
2006-11-15 14:34:35 UTC (rev 67924)
+++ trunk/mcs/class/System/Test/System.Collections.Generic/StackTest.cs 
2006-11-15 14:44:13 UTC (rev 67925)
@@ -86,7 +86,7 @@
                        AssertEquals (s.Contains (1), true);
                        AssertEquals (s.Contains (0), false);
                }
-               
+#if !TARGET_JVM
                [Test]
                public void TestCopyTo ()
                {
@@ -101,7 +101,7 @@
                        AssertEquals (x [1], 2);
                        AssertEquals (x [2], 1);
                }
-               
+#endif
                [Test]
                public void TestPeek ()
                {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to