Add NUnit test case for System.Diagnostics.Trace support
[mono.git] / mcs / class / System / Test / StringCollectionTest.cs
index 33a1bffc00ef7071356d209eed3cddf5b82934a5..3bd203d14310a881e9e13adea20aeb8e02e82458 100644 (file)
@@ -6,9 +6,17 @@
 */\r
 \r
 using NUnit.Framework;\r
+using System.Collections.Specialized;\r
 \r
-namespace System.Collections.Specialized {\r
+namespace Ximian.Mono.Tests.System.Collections.Specialized {\r
        public class StringCollectionTest : TestCase {\r
+\r
+               public static ITest Suite {\r
+                       get {\r
+                               return new TestSuite(typeof (StringCollectionTest));\r
+                       }\r
+               }\r
+\r
                private StringCollection sc;\r
                string[] strings = {\r
                        "foo",\r
@@ -20,6 +28,7 @@ namespace System.Collections.Specialized {
                        "ringo"\r
                };\r
                \r
+               public StringCollectionTest() : base("Ximian.Mono.Tests.System.Collections.Specialized.StringCollectionTest testsuite") {}\r
                public StringCollectionTest(string name) : base(name) {}\r
                \r
                protected override void SetUp() {\r
@@ -33,10 +42,6 @@ namespace System.Collections.Specialized {
                        Assert(sc.Count == 7);\r
                }\r
                \r
-               public void TestSimpleIsFixedSize() {\r
-                       Assert(!sc.IsFixedSize);\r
-               }\r
-               \r
                public void TestSimpleIsReadOnly() {\r
                        Assert(!sc.IsReadOnly);\r
                }\r