diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2006-01-15 06:24:19 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2006-01-15 06:24:19 +0300 |
commit | 97c08a345189de79332e75268f5ac806caa800f8 (patch) | |
tree | a8184f103daa90b9aa9fa26504aea8b94c91e29f /mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaSetTests.cs | |
parent | ff0343ec9a5ff32a6a8df8cdf23fc26a927f5b6e (diff) |
revert r55476, incorrectly made changes to the tag, not the branchmono-1.1.13
svn path=/tags/mono-1-1-13/mcs/; revision=55590
Diffstat (limited to 'mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaSetTests.cs')
-rw-r--r-- | mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaSetTests.cs | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaSetTests.cs b/mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaSetTests.cs index 20ad97f68b2..56a066c6760 100644 --- a/mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaSetTests.cs +++ b/mcs/class/System.XML/Test/System.Xml.Schema/XmlSchemaSetTests.cs @@ -56,22 +56,9 @@ namespace MonoTests.System.Xml } [Test] - public void AddSchemaThenReader () - { - XmlSchemaSet ss = new XmlSchemaSet (); - XmlDocument doc = new XmlDocument (); - doc.LoadXml ("<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' />"); - XmlSchema xs = new XmlSchema (); - xs.TargetNamespace = "ab"; - ss.Add (xs); - ss.Add ("ab", new XmlNodeReader (doc)); - } - - [Test] - [Category ("NotWorking")] // How can we differentiate this - // case and the testcase above? + [Ignore ("This behavior might be changed, since Add(XmlSchema) does not throw any exceptions, while this does.")] [ExpectedException (typeof (ArgumentException))] - public void AddReaderTwice () + public void AddTwice () { XmlSchemaSet ss = new XmlSchemaSet (); XmlDocument doc = new XmlDocument (); @@ -81,16 +68,6 @@ namespace MonoTests.System.Xml } [Test] - public void AddSchemaTwice () - { - XmlSchemaSet ss = new XmlSchemaSet (); - XmlDocument doc = new XmlDocument (); - doc.LoadXml ("<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' targetNamespace='urn:ab' />"); - ss.Add (XmlSchema.Read (new XmlNodeReader (doc), null)); - ss.Add (XmlSchema.Read (new XmlNodeReader (doc), null)); - } - - [Test] public void CompilationSettings () { Assert.IsNotNull (new XmlSchemaSet ().CompilationSettings); |