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:
authorDuncan Mak <duncan@mono-cvs.ximian.com>2002-03-26 22:22:24 +0300
committerDuncan Mak <duncan@mono-cvs.ximian.com>2002-03-26 22:22:24 +0300
commit25cb0550adac825cfb829c7ed2e152106314b31a (patch)
treec01cffa52bc6b4165a2e81b5fd4765c2565d7ccf /mcs/class/System.XML/Test/XmlCommentTests.cs
parent2c920489cc07adf211f524b8b1575e91be779cc9 (diff)
2002-03-26 Duncan Mak <duncan@ximian.com>
* XmlProcessingInstruction.cs (InnerText): Implemented. It works just like XmlCharacterData. * XmlCommentTests.cs (TestXmlNodeBaseProperties): Move the XmlNode.Value test in here. svn path=/trunk/mcs/; revision=3369
Diffstat (limited to 'mcs/class/System.XML/Test/XmlCommentTests.cs')
-rwxr-xr-xmcs/class/System.XML/Test/XmlCommentTests.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/mcs/class/System.XML/Test/XmlCommentTests.cs b/mcs/class/System.XML/Test/XmlCommentTests.cs
index 705705bf28b..35f3afd0ba0 100755
--- a/mcs/class/System.XML/Test/XmlCommentTests.cs
+++ b/mcs/class/System.XML/Test/XmlCommentTests.cs
@@ -43,7 +43,11 @@ namespace Ximian.Mono.Tests
{
// assertequals (original.nodetype + " was incorrectly cloned.",
// original.baseuri, cloned.baseuri);
+
AssertNull (cloned.ParentNode);
+ AssertEquals ("Value incorrectly cloned",
+ original.Value, cloned.Value);
+
Assert ("Copies, not pointers", !Object.ReferenceEquals (original,cloned));
}
@@ -77,8 +81,6 @@ namespace Ximian.Mono.Tests
shallow = comment.CloneNode (false); // shallow
TestXmlNodeBaseProperties (original, shallow);
- AssertEquals ("Value incorrectly cloned",
- original.Value, shallow.Value);
deep = comment.CloneNode (true); // deep
TestXmlNodeBaseProperties (original, deep);