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:
authorMarek Safar <marek.safar@gmail.com>2016-12-20 15:21:38 +0300
committerMarek Safar <marek.safar@gmail.com>2016-12-20 16:46:17 +0300
commit93e845de160cb40830c74f5d0fd7fa82fe2f1d35 (patch)
tree0c8544694460bd1d9ee00ccfc1dcdbfc06e5d95c /mcs/class/System.XML/Test
parent37d6cde0ee0ea6b788cd367040609bf741aa3269 (diff)
[System.Xml] Enable more tests
Diffstat (limited to 'mcs/class/System.XML/Test')
-rw-r--r--mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs4
-rw-r--r--mcs/class/System.XML/Test/System.Xml.Xsl/XslTransformTests.cs13
2 files changed, 4 insertions, 13 deletions
diff --git a/mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs b/mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs
index 8396ac1be88..72c77d1641b 100644
--- a/mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs
+++ b/mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs
@@ -106,7 +106,6 @@ namespace MonoTests.System.Xml.Xsl
}
[Test]
- [Category ("NotWorking")] // it depends on "mcs" existence
public void TestCSharp ()
{
string style = xslstring.Replace ("***** rewrite here *****", cs1);
@@ -136,7 +135,6 @@ namespace MonoTests.System.Xml.Xsl
}
[Test]
- [Ignore ("Actually it should throw compile exception")]
[ExpectedException (typeof (XsltException))]
public void InvalidScript ()
{
@@ -162,7 +160,6 @@ namespace MonoTests.System.Xml.Xsl
}
[Test]
- [Category ("NotWorking")] // it depends on "mcs" existence
public void CompilerWarningsShouldBeIgnored ()
{
string script = @"<xslt:stylesheet xmlns:xslt='http://www.w3.org/1999/XSL/Transform' version='1.0' xmlns:msxsl='urn:schemas-microsoft-com:xslt'
@@ -190,7 +187,6 @@ namespace MonoTests.System.Xml.Xsl
}
[Test]
- [Category ("NotWorking")] // it depends on "mcs" existence
public void CompileNoLineInfoSource ()
{
// bug #76116
diff --git a/mcs/class/System.XML/Test/System.Xml.Xsl/XslTransformTests.cs b/mcs/class/System.XML/Test/System.Xml.Xsl/XslTransformTests.cs
index f4a49b616fe..b080ba02710 100644
--- a/mcs/class/System.XML/Test/System.Xml.Xsl/XslTransformTests.cs
+++ b/mcs/class/System.XML/Test/System.Xml.Xsl/XslTransformTests.cs
@@ -91,7 +91,6 @@ namespace MonoTests.System.Xml.Xsl
}
[Test()]
- [Category ("NotWorking")] // it depends on "mcs" existence
public void MsxslTest() {
string _styleSheet = @"
<xslt:stylesheet xmlns:xslt=""http://www.w3.org/1999/XSL/Transform"" version=""1.0""
@@ -1026,7 +1025,6 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
}
[Test]
- [Category ("NotWorking")] // bug #77081: mono does not output newline and indentation for non-html elements
public void Output_Indent_Html_DocType ()
{
XsltArgumentList xsltArgs = new XsltArgumentList ();
@@ -1065,7 +1063,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
" <else>{0}" +
" </else>{0}" +
" </something>{0}" +
- "</test>", Environment.NewLine), sw.ToString (), "#1");
+ "</test>", end_of_line), sw.ToString (), "#1");
// set indent to no
sw.GetStringBuilder ().Length = 0;
@@ -1093,7 +1091,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
" <else>{0}" +
" </else>{0}" +
" </something>{0}" +
- "</test>", Environment.NewLine), sw.ToString (), "#3");
+ "</test>", end_of_line), sw.ToString (), "#3");
}
[Test]
@@ -1159,7 +1157,6 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
}
[Test]
- [Category ("NotWorking")] // bug #77081: mono does not output newline and indentation for non-html elements
public void Output_Indent_Html ()
{
XsltArgumentList xsltArgs = new XsltArgumentList ();
@@ -1213,7 +1210,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
" </whatever>{0}" +
" </p>{0}" +
" </body>{0}" +
- "</html>", Environment.NewLine), sw.ToString (), "#1");
+ "</html>", end_of_line), sw.ToString (), "#1");
// set indent to no
sw.GetStringBuilder ().Length = 0;
@@ -1249,7 +1246,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
" </whatever>{0}" +
" </p>{0}" +
" </body>{0}" +
- "</html>", Environment.NewLine), sw.ToString (), "#3");
+ "</html>", end_of_line), sw.ToString (), "#3");
}
[Test]
@@ -2276,7 +2273,6 @@ NO
}
[Test] // reverse case of #349375
- [Category ("NotWorking")]
// [Category ("NotDotNet")]
public void PreserveWhitespace2 ()
{
@@ -2361,7 +2357,6 @@ NO
}
[Test]
- [Category ("NotWorking")] // FIXME: SRE related regression
public void Bug487065 ()
{
using (XmlReader input = GetInput ()) {