summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-01-02 16:36:12 +0100
committerDavid Tardon <dtardon@redhat.com>2015-01-02 16:36:12 +0100
commit0478fce6799d9a8e2d765cc4616a5f2de1c3c44e (patch)
tree509421ec7b5218a9c88f9556c554a82299f9d808
parent0a11bbae2d3fbc834a08393ace6671bdf2909696 (diff)
comment out 2 unused functions in testlibvisio-0.1.1
Change-Id: I7012a55176693b9abb8e9f5c9543d14221bea5e1
-rw-r--r--src/test/importtest.cpp2
1 files changed, 2 insertions, 0 deletions
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)