From 02cb7bf6854193881cec1bffca8f2ddca58fef06 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 20 Oct 2009 19:21:13 +0000 Subject: tests: More tree modification tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@159 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_dom_modify.cpp | 206 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) diff --git a/tests/test_dom_modify.cpp b/tests/test_dom_modify.cpp index 67e52ff..b170607 100644 --- a/tests/test_dom_modify.cpp +++ b/tests/test_dom_modify.cpp @@ -275,3 +275,209 @@ TEST_XML(dom_node_remove_attribute, "pcdata", parse_default | parse_pi | parse_comments | parse_declaration) +{ + doc.append_copy(doc.child("root")); + CHECK_NODE(doc, "pcdatapcdata"); +} -- cgit v1.2.3