79 std::cout <<
"Starting unit tests for CIccTagXmlProfileSequenceId...\n";
85 xmlDocPtr doc = xmlNewDoc(BAD_CAST
"1.0");
86 xmlNodePtr rootNode = xmlNewNode(
nullptr, BAD_CAST
"ProfileSequenceId");
87 xmlDocSetRootElement(doc, rootNode);
90 xmlNodePtr profileNode = xmlNewChild(rootNode,
nullptr, BAD_CAST
"ProfileIdDesc",
nullptr);
91 xmlNewProp(profileNode, BAD_CAST
"id", BAD_CAST
"12345");
98 bool parseResult = tag.
ParseXml(rootNode, parseStr);
102 std::cout <<
"Test failed: ParseXml should not return false when a proper node is provided.\n";
104 std::cout <<
"Test succeeded: ParseXml correctly handled the provided node.\n";