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:
Diffstat (limited to 'mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs')
-rw-r--r--mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs
index 5f27cf1fd2c..f0886c90d5f 100644
--- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs
+++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs
@@ -17,7 +17,7 @@ using NUnit.Framework;
namespace MonoTests.System.Security.Cryptography.Xml {
[TestFixture]
- public class KeyInfoNodeTest : Assertion {
+ public class KeyInfoNodeTest {
[Test]
public void NewKeyNode ()
@@ -33,7 +33,7 @@ namespace MonoTests.System.Security.Cryptography.Xml {
KeyInfoNode node2 = new KeyInfoNode (node1.Value);
node2.LoadXml (xel);
- AssertEquals ("node1==node2", (node1.GetXml ().OuterXml), (node2.GetXml ().OuterXml));
+ Assert.AreEqual ((node1.GetXml ().OuterXml), (node2.GetXml ().OuterXml), "node1==node2");
}
[Test]
@@ -48,7 +48,7 @@ namespace MonoTests.System.Security.Cryptography.Xml {
node1.LoadXml (doc.DocumentElement);
string s = (node1.GetXml ().OuterXml);
- AssertEquals ("Node", value, s);
+ Assert.AreEqual (value, s, "Node");
}
// well there's no invalid value - unless you read the doc ;-)
@@ -62,7 +62,7 @@ namespace MonoTests.System.Security.Cryptography.Xml {
KeyInfoNode node1 = new KeyInfoNode ();
// LAMESPEC: No ArgumentNullException is thrown if value == null
node1.LoadXml (null);
- AssertNull ("Value==null", node1.Value);
+ Assert.IsNull (node1.Value, "Value==null");
}
}
}