summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-27 02:13:04 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-27 03:15:31 +0200
commitb1dc2c5818f9d31e58131f5b2b79a41a366fab35 (patch)
tree21dc6835e41c45f6f9a47c9d11d6b8d4634da312 /test/source
parent9f9e6a765450d85f2fd9339fb10fb2ee6d45cd05 (diff)
use the new xml diff in chart regression test
Diffstat (limited to 'test/source')
-rw-r--r--test/source/diff/diff.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx
index 2d57a4aec2ab..6b97f298b3b1 100644
--- a/test/source/diff/diff.cxx
+++ b/test/source/diff/diff.cxx
@@ -55,6 +55,12 @@ XMLDiff::XMLDiff(const std::string& file1, const std::string& file2)
xmlFile2 = xmlParseFile(file2.c_str());
}
+XMLDiff::XMLDiff( const char* pFileName, const char* pContent, int size)
+{
+ xmlFile1 = xmlParseFile(pFileName);
+ xmlFile2 = xmlParseMemory(pContent, size);
+}
+
XMLDiff::~XMLDiff()
{
xmlFreeDoc(xmlFile1);