diff options
author | Matt Ward <matt.ward@xamarin.com> | 2015-06-12 16:17:34 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@xamarin.com> | 2015-06-12 16:17:34 +0300 |
commit | cf639f254e3cf05198e853652d3144be92e6ccff (patch) | |
tree | 2f66dad92d3eec899e9d85b97fc327f0c9842c92 /main/src/addins/Xml/Tests | |
parent | 16011bbbf7ff3a8f86b6109688ef46da35239412 (diff) | |
parent | 77383f837e063921767df632f2c51e8e5c2bdf11 (diff) |
Merge remote-tracking branch 'origin/master' into roslyn
Diffstat (limited to 'main/src/addins/Xml/Tests')
-rw-r--r-- | main/src/addins/Xml/Tests/Schema/SchemaAssociationTests.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/src/addins/Xml/Tests/Schema/SchemaAssociationTests.cs b/main/src/addins/Xml/Tests/Schema/SchemaAssociationTests.cs index 8324bfcd7e..cabd53a3c9 100644 --- a/main/src/addins/Xml/Tests/Schema/SchemaAssociationTests.cs +++ b/main/src/addins/Xml/Tests/Schema/SchemaAssociationTests.cs @@ -24,24 +24,22 @@ namespace MonoDevelop.Xml.Tests.Schema } [Test] - [Platform (Exclude = "Win")] - [Ignore ("This test is broken. It fails under MS.NET and it'll fail under mono 4.2+ as we now use the MS reference source for this code")] public void ToXml() { XmlFileAssociation schema = new XmlFileAssociation (".xml", "http://mono-project.com", null); schema.WriteTo(writer); + writer.Close (); string expectedXml = "<SchemaAssociation extension=\".xml\" namespace=\"http://mono-project.com\" prefix=\"\" />"; Assert.AreEqual(expectedXml, xml.ToString()); } [Test] - [Platform (Exclude = "Win")] - [Ignore ("This test is broken. It fails under MS.NET and it'll fail under mono 4.2+ as we now use the MS reference source for this code")] public void FromXml() { XmlFileAssociation expectedSchema = new XmlFileAssociation (".xml", "http://mono-project.com", null); expectedSchema.WriteTo(writer); + writer.Close (); string propertiesXml = "<SerializedNode>" + xml.ToString() + "</SerializedNode>"; XmlTextReader reader = new XmlTextReader (new StringReader(propertiesXml)); |