From 0478fce6799d9a8e2d765cc4616a5f2de1c3c44e Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 2 Jan 2015 16:36:12 +0100 Subject: comment out 2 unused functions in test Change-Id: I7012a55176693b9abb8e9f5c9543d14221bea5e1 --- src/test/importtest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp index ad3722b..2b1aec6 100644 --- a/src/test/importtest.cpp +++ b/src/test/importtest.cpp @@ -66,6 +66,7 @@ void assertXPath(xmlDocPtr doc, const librevenge::RVNGString &xpath, const libre CPPUNIT_ASSERT_EQUAL_MESSAGE(message.cstr(), expectedValue, actualValue); } +#if 0 // keep for future use /// Same as the assertXPathContent(), but don't assert: return the string instead. librevenge::RVNGString getXPathContent(xmlDocPtr doc, const librevenge::RVNGString &xpath) { @@ -91,6 +92,7 @@ void assertXPathContent(xmlDocPtr doc, const librevenge::RVNGString &xpath, cons message.append("': contents of child does not match."); CPPUNIT_ASSERT_EQUAL_MESSAGE(message.cstr(), content, getXPathContent(doc, xpath)); } +#endif /// Paints an XML representation of filename into buffer, then returns the parsed buffer content. xmlDocPtr parse(const char *filename, xmlBufferPtr buffer) -- cgit v1.2.3