X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.XML%2FTest%2FSystem.Xml.Xsl%2FMsxslScriptTests.cs;h=0aa7ff26fef1b2e222c9b8761899b660583f6ec2;hb=0132680992ff1d0d44f072caa96c69e5671cd371;hp=45373d3042257241db6a4e55f6322bd4d089c0ec;hpb=da23068c98e43cfd0a8d55a81984e5af6bc16a57;p=mono.git 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 45373d30422..0aa7ff26fef 100755 --- a/mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs +++ b/mcs/class/System.XML/Test/System.Xml.Xsl/MsxslScriptTests.cs @@ -160,5 +160,33 @@ namespace MonoTests.System.Xml.Xsl "; xslt.Load (new XmlTextReader (script, XmlNodeType.Document, null)); } + + [Test] + [Category ("NotWorking")] // it depends on "mcs" existence + public void CompilerWarningsShouldBeIgnored () + { + string script = @" + + + + + + + + + + + + + +"; + xslt.Load (new XmlTextReader (script, XmlNodeType.Document, null)); + xslt.Transform (doc.CreateNavigator (), null, new XmlTextWriter (TextWriter.Null)); + } } }