2005-11-10 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Thu, 10 Nov 2005 17:02:50 +0000 (17:02 -0000)
committerZoltan Varga <vargaz@gmail.com>
Thu, 10 Nov 2005 17:02:50 +0000 (17:02 -0000)
* StackTest.cs QueueTest.cs: Remove tests for removed TrimToSize ()
method.

svn path=/trunk/mcs/; revision=52858

mcs/class/System/Test/System.Collections.Generic/ChangeLog
mcs/class/System/Test/System.Collections.Generic/QueueTest.cs
mcs/class/System/Test/System.Collections.Generic/StackTest.cs

index ce33fbf265ade797ca75cf42caeac39a828ec9f7..13946d7a26185e354ca78ff43e7a852cd3a0e708 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * StackTest.cs QueueTest.cs: Remove tests for removed TrimToSize ()
+       method.
+
 2005-11-09  Zoltan Varga  <vargaz@gmail.com>
 
        * SortedListTest.cs: New file.
index f63935f6b74df6180978436d479fd0d555267bab..65a4a18b701ecb802eb5961b64b4a8de22a92555 100644 (file)
@@ -186,16 +186,7 @@ namespace MonoTests.System.Collections.Generic {
                        AssertEquals (x.Length, 1);
                        AssertEquals (x [0], 1);
                }
-               
-               [Test]
-               public void TestTrimToSize ()
-               {
-                       Queue <int> s = new Queue <int> ();
-                       s.TrimToSize ();
-                       s.Enqueue (1);
-                       s.TrimToSize ();
-               }
-               
+
                [Test]
                public void TestEnumerator ()
                {
@@ -231,4 +222,4 @@ namespace MonoTests.System.Collections.Generic {
                }
         }
 }
-#endif
\ No newline at end of file
+#endif
index 3e395fc45cd8ccd8a2875bfa132999ea4a835e63..8fa9d38ddb72888df069efbb61aafab5f7f517ad 100644 (file)
@@ -188,15 +188,6 @@ namespace MonoTests.System.Collections.Generic {
                        AssertEquals (x [0], 1);
                }
                
-               [Test]
-               public void TestTrimToSize ()
-               {
-                       Stack <int> s = new Stack <int> ();
-                       s.TrimToSize ();
-                       s.Push (1);
-                       s.TrimToSize ();
-               }
-               
                [Test]
                public void TestEnumerator ()
                {
@@ -233,4 +224,4 @@ namespace MonoTests.System.Collections.Generic {
                }
         }
 }
-#endif
\ No newline at end of file
+#endif