XMLDSIG transforms from .NET Core.
[mono.git] / mcs / class / System.Security / Test / System.Security.Cryptography.Xml / XmlDsigExcC14NTransformTest.cs
index 7b56a240055b784aef0c81f6bd023cde63602d35..d14b5ee2802f7cf076b1e913ff02ae48b03aa315 100644 (file)
@@ -251,7 +251,6 @@ namespace MonoTests.System.Security.Cryptography.Xml {
                }
 
                [Test]
-               [Category ("NotDotNet")]
                // see LoadInputAsXmlNodeList2 description
                public void LoadInputAsXmlNodeList () 
                {
@@ -260,11 +259,10 @@ namespace MonoTests.System.Security.Cryptography.Xml {
                        transform.LoadInput (doc.ChildNodes);
                        Stream s = (Stream) transform.GetOutput ();
                        string output = Stream2String (s);
-                       Assert.AreEqual ("<Test></Test>", output, "XmlChildNodes");
+                       Assert.AreEqual ("<Test xmlns=\"http://www.go-mono.com/\"></Test>", output, "XmlChildNodes");
                }
 
                [Test]
-               [Category ("NotDotNet")]
                // MS has a bug that those namespace declaration nodes in
                // the node-set are written to output. Related spec section is:
                // http://www.w3.org/TR/2001/REC-xml-c14n-20010315#ProcessingModel
@@ -274,7 +272,7 @@ namespace MonoTests.System.Security.Cryptography.Xml {
                        transform.LoadInput (doc.SelectNodes ("//*"));
                        Stream s = (Stream) transform.GetOutput ();
                        string output = Stream2String (s);
-                       string expected = @"<Test><Toto></Toto></Test>";
+                       string expected = "<Test xmlns=\"http://www.go-mono.com/\"><Toto></Toto></Test>";
                        Assert.AreEqual (expected, output, "XmlChildNodes");
                }