2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 29 Jun 2010 22:51:10 +0000 (22:51 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Tue, 29 Jun 2010 22:51:10 +0000 (22:51 -0000)
* XmlWriterTests.cs : add test matrix for understanding things.
  Make those test names consistent. Mark as NotWorking.

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

mcs/class/System.XML/Test/System.Xml/ChangeLog
mcs/class/System.XML/Test/System.Xml/XmlWriterTests.cs

index d7c4adf95990a42fc2e2983ab00752f44f425755..efb462ae7c0bcb09dc233c0a0257fc2b3c651445 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XmlWriterTests.cs : add test matrix for understanding things.
+         Make those test names consistent. Mark as NotWorking.
+
 2010-06-29  Andreia Gaita  <avidigal@novell.com>
 
        * XmlWriterTests.cs : added tests for bug #607967.
index 9e269ff10ec20a0a1b5d201777c9e09b65daaa25..fa36863549bd4c6b763ea532aa7c52e2652c209a 100644 (file)
@@ -575,8 +575,32 @@ namespace MonoTests.System.Xml
                        AssertType.AreEqual ("<?xml version='1.0' encoding='utf-16'?><foo></foo>".Replace ('\'', '"'), sw.ToString ());\r
                }\r
 \r
+               //\r
+               // Reader      | wrapper   |\r
+               // overrides   | argument  | sample\r
+               // ------------+--------------------------\r
+               //      -      |     -     | CreateNOCL\r
+               //             | Auto      | CreateNOCLSettingsCLAuto\r
+               //             | Document  | CreateNOCLSettingsCLDoc\r
+               //             | Fragment  | CreateNOCLSettingsCLFrag\r
+               // Auto        |     -     | CreateCLAuto\r
+               //             | Auto      |  -\r
+               //             | Document  | CreateCLAutoSettingsCLDoc\r
+               //             | Fragment  | CreateCLAutoSettingsCLFrag\r
+               // Document    |     -     | CreateCLDoc\r
+               //             | Auto      | CreateCLDocSettingsCLAuto\r
+               //             | Document  |  -\r
+               //             | Fragment  | CreateCLDocSettingsCLFrag\r
+               // Fragment    |     -     | CreateCLFlag\r
+               //             | Auto      | CreateCLFragSettingsCLAuto\r
+               //             | Document  | CreateCLFragSettingsCLDoc\r
+               //             | Fragment  |  -\r
+               //\r
+\r
                [Test]\r
-               public void CreateCLAuto () {\r
+               [Category ("NotWorking")]\r
+               public void CreateCLAuto ()\r
+               {\r
                        ConformanceLevelAuto cl = new ConformanceLevelAuto ();\r
                        XmlWriter xw = XmlWriter.Create (cl);\r
                        WriteState state = xw.WriteState;\r
@@ -584,14 +608,17 @@ namespace MonoTests.System.Xml
 \r
                [Test]\r
                [ExpectedException (typeof (InvalidOperationException))]\r
-               public void CreateCLDoc () {\r
+               public void CreateCLDoc ()\r
+               {\r
                        ConformanceLevelDocument cl = new ConformanceLevelDocument ();\r
                        XmlWriter xw = XmlWriter.Create (cl);\r
                        WriteState state = xw.WriteState;\r
                }\r
 \r
                [Test]\r
-               public void CreateCLFrag () {\r
+               [Category ("NotWorking")]\r
+               public void CreateCLFrag ()\r
+               {\r
                        ConformanceLevelFragment cl = new ConformanceLevelFragment ();\r
                        XmlWriter xw = XmlWriter.Create (cl);\r
                        WriteState state = xw.WriteState;\r
@@ -599,7 +626,8 @@ namespace MonoTests.System.Xml
 \r
                [Test]\r
                [ExpectedException (typeof (InvalidOperationException))]\r
-               public void CreateNOCL () {\r
+               public void CreateNOCL ()\r
+               {\r
                        InvalidWriteState cl = new InvalidWriteState ();\r
                        XmlWriter xw = XmlWriter.Create (cl);\r
                        WriteState state = xw.WriteState;\r
@@ -607,7 +635,8 @@ namespace MonoTests.System.Xml
 \r
                [Test]\r
                [ExpectedException (typeof (InvalidOperationException))]\r
-               public void CreateNOCLSettingsCLAuto () {\r
+               public void CreateNOCLSettingsCLAuto ()\r
+               {\r
                        InvalidWriteState cl = new InvalidWriteState ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Auto });\r
                        WriteState state = xw.WriteState;\r
@@ -615,7 +644,8 @@ namespace MonoTests.System.Xml
 \r
                [Test]\r
                [ExpectedException (typeof (InvalidOperationException))]\r
-               public void CreateNOCLSettingsCLDOC () {\r
+               public void CreateNOCLSettingsCLDoc ()\r
+               {\r
                        InvalidWriteState cl = new InvalidWriteState ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Document });\r
                        WriteState state = xw.WriteState;\r
@@ -623,21 +653,26 @@ namespace MonoTests.System.Xml
 \r
                [Test]\r
                [ExpectedException (typeof (InvalidOperationException))]\r
-               public void CreateNOCLSettingsCLFrag () {\r
+               public void CreateNOCLSettingsCLFrag ()\r
+               {\r
                        InvalidWriteState cl = new InvalidWriteState ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Fragment });\r
                        WriteState state = xw.WriteState;\r
                }\r
 \r
                [Test]\r
-               public void CreateCLAutoSettingsCLDoc () {\r
+               [Category ("NotWorking")]\r
+               public void CreateCLAutoSettingsCLDoc ()\r
+               {\r
                        ConformanceLevelAuto cl = new ConformanceLevelAuto ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Document });\r
                        WriteState state = xw.WriteState;\r
                }\r
 \r
                [Test]\r
-               public void CreateCLAutoSettingsCLFrag () {\r
+               [Category ("NotWorking")]\r
+               public void CreateCLAutoSettingsCLFrag ()\r
+               {\r
                        ConformanceLevelAuto cl = new ConformanceLevelAuto ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Fragment });\r
                        WriteState state = xw.WriteState;\r
@@ -645,14 +680,17 @@ namespace MonoTests.System.Xml
 \r
                [Test]\r
                [ExpectedException (typeof (InvalidOperationException))]\r
-               public void CreateCLDocSettingsCLAuto () {\r
+               public void CreateCLDocSettingsCLAuto ()\r
+               {\r
                        ConformanceLevelDocument cl = new ConformanceLevelDocument ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Auto });\r
                        WriteState state = xw.WriteState;\r
                }\r
 \r
                [Test]\r
-               public void CreateCLDocSettingsCLFrag () {\r
+               [Category ("NotWorking")]\r
+               public void CreateCLDocSettingsCLFrag ()\r
+               {\r
                        ConformanceLevelDocument cl = new ConformanceLevelDocument ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Fragment });\r
                        WriteState state = xw.WriteState;\r
@@ -660,14 +698,17 @@ namespace MonoTests.System.Xml
 \r
                [Test]\r
                [ExpectedException (typeof (InvalidOperationException))]\r
-               public void CreateCLFragSettingsCLAuto () {\r
+               public void CreateCLFragSettingsCLAuto ()\r
+               {\r
                        ConformanceLevelFragment cl = new ConformanceLevelFragment ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Auto });\r
                        WriteState state = xw.WriteState;\r
                }\r
 \r
                [Test]\r
-               public void CreateCLFragSettingsCLFDoc () {\r
+               [Category ("NotWorking")]\r
+               public void CreateCLFragSettingsCLDoc ()\r
+               {\r
                        ConformanceLevelFragment cl = new ConformanceLevelFragment ();\r
                        XmlWriter xw = XmlWriter.Create (cl, new XmlWriterSettings () { ConformanceLevel = ConformanceLevel.Document });\r
                        WriteState state = xw.WriteState;\r