Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Driesen <drieseng@users.sourceforge.net>2005-12-27 11:37:50 +0300
committerGert Driesen <drieseng@users.sourceforge.net>2005-12-27 11:37:50 +0300
commit2ff0bdf8d2aba15057e61ee0cae1831c4dd656b0 (patch)
treee617fe6097b1a303f20c32ad643d9240ddae8681 /mcs/class/System.XML
parent9ae7cd84b3ffd3a59c5335d83c355d484e8a9e68 (diff)
* XmlTextWriterTests.cs: Allow all tests to pass on .NET 1.1.
svn path=/trunk/mcs/; revision=54859
Diffstat (limited to 'mcs/class/System.XML')
-rw-r--r--mcs/class/System.XML/Test/System.Xml/ChangeLog4
-rw-r--r--mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs6
2 files changed, 10 insertions, 0 deletions
diff --git a/mcs/class/System.XML/Test/System.Xml/ChangeLog b/mcs/class/System.XML/Test/System.Xml/ChangeLog
index ca84f27a785..85b2f984740 100644
--- a/mcs/class/System.XML/Test/System.Xml/ChangeLog
+++ b/mcs/class/System.XML/Test/System.Xml/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-27 Gert Driesen <drieseng@users.sourceforge.net>
+
+ * XmlTextWriterTests.cs: Allow all tests to pass on .NET 1.1.
+
2005-12-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriterTests.cs : enabled
diff --git a/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs b/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs
index 9d952de9693..a70f1a124d0 100644
--- a/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs
+++ b/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs
@@ -504,6 +504,9 @@ namespace MonoTests.System.Xml
}
[Test]
+#if ONLY_1_1
+ [Category ("NotDotNet")] // MS.NET 1.1 does not allow zero-length namespace URI
+#endif
public void WriteStartElement_Prefix_EmptyNamespace ()
{
xtw.WriteStartElement ("x", "whatever", "");
@@ -1007,6 +1010,9 @@ namespace MonoTests.System.Xml
}
[Test]
+#if ONLY_1_1
+ [Category ("NotDotNet")] // MS.NET 1.1 does not allow zero-length namespace URI
+#endif
public void NamespacesPrefixWithEmptyAndNullNamespaceEmpty ()
{
xtw.WriteStartElement ("foo", "bar", "");