diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-30 19:22:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-30 19:22:31 +0100 |
| commit | 2246204c213d61b2cde7a85d6038156283670c9d (patch) | |
| tree | c050e64cd4e1484059ddfef8b1960df5ec04828b /test/text_test.cc | |
| parent | 4c0cbcddc4b1015b902ce2100879071fdd887b02 (diff) | |
Rename some things to ...Node.
Diffstat (limited to 'test/text_test.cc')
| -rw-r--r-- | test/text_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/text_test.cc b/test/text_test.cc index 6749a753..8aff4f1d 100644 --- a/test/text_test.cc +++ b/test/text_test.cc @@ -17,7 +17,7 @@ */ -#include "text.h" +#include "text_node.h" #include <libcxml/cxml.h> #include <libxml++/libxml++.h> #include <boost/test/unit_test.hpp> @@ -31,7 +31,7 @@ BOOST_AUTO_TEST_CASE (text_test1) text->set_attribute("VAlign", "top"); text->add_child_text("Hello world"); - dcp::Text t (cxml::NodePtr (new cxml::Node (text)), 250); + dcp::TextNode t (cxml::NodePtr (new cxml::Node (text)), 250); BOOST_CHECK_CLOSE (t.v_position, 0.042, 0.001); BOOST_CHECK_EQUAL (t.v_align, dcp::TOP); BOOST_CHECK_EQUAL (t.text, "Hello world"); @@ -46,7 +46,7 @@ BOOST_AUTO_TEST_CASE (text_test2) text->set_attribute("Valign", "top"); text->add_child_text("Hello world"); - dcp::Text t (cxml::NodePtr (new cxml::Node (text)), 250); + dcp::TextNode t (cxml::NodePtr (new cxml::Node (text)), 250); BOOST_CHECK_CLOSE (t.v_position, 0.042, 0.001); BOOST_CHECK_EQUAL (t.v_align, dcp::TOP); BOOST_CHECK_EQUAL (t.text, "Hello world"); |
