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

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ward <matt.ward@xamarin.com>2015-06-12 16:17:34 +0300
committerMatt Ward <matt.ward@xamarin.com>2015-06-12 16:17:34 +0300
commitcf639f254e3cf05198e853652d3144be92e6ccff (patch)
tree2f66dad92d3eec899e9d85b97fc327f0c9842c92 /main/src/addins/Xml/Tests
parent16011bbbf7ff3a8f86b6109688ef46da35239412 (diff)
parent77383f837e063921767df632f2c51e8e5c2bdf11 (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.cs6
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));