Comments.
[libdcp.git] / test / smpte_load_font_test.cc
index 4f9d212830ba358e2ce69a07b3108f40c13ece75..da52ed973737b5196ab28c4654acde2d7a1ac2d1 100644 (file)
 
 */
 
-#include "smpte_load_font.h"
+#include "smpte_load_font_node.h"
 #include <libcxml/cxml.h>
 #include <libxml++/libxml++.h>
 #include <boost/test/unit_test.hpp>
 
+/** Test dcp::SMPTELoadFontNode */
 BOOST_AUTO_TEST_CASE (smpte_load_font_test1)
 {
        xmlpp::Document doc;
        xmlpp::Element* text = doc.create_root_node("Font");
 
-       text->set_attribute("ID", "my-great-id");
-       text->add_child_text("urn:uuid:my-great-urn");
-       dcp::SMPTELoadFont lf (cxml::ConstNodePtr (new cxml::Node (text)));
+       text->set_attribute ("ID", "my-great-id");
+       text->add_child_text ("urn:uuid:my-great-urn");
+       dcp::SMPTELoadFontNode lf (cxml::ConstNodePtr (new cxml::Node (text)));
 
        BOOST_CHECK_EQUAL (lf.id, "my-great-id");
        BOOST_CHECK_EQUAL (lf.urn, "my-great-urn");