summaryrefslogtreecommitdiff
path: root/test/inc
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/inc
parent9f9e6a765450d85f2fd9339fb10fb2ee6d45cd05 (diff)
use the new xml diff in chart regression test
Diffstat (limited to 'test/inc')
-rw-r--r--test/inc/test/xmldiff.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/inc/test/xmldiff.hxx b/test/inc/test/xmldiff.hxx
index beaea19a7f53..a787132347d4 100644
--- a/test/inc/test/xmldiff.hxx
+++ b/test/inc/test/xmldiff.hxx
@@ -31,6 +31,9 @@
#include <libxml/xmlmemory.h>
#include <string>
#include <set>
+#include <test/testdllapi.hxx>
+
+#define USE_CPPUNIT 1
struct tolerance
{
@@ -70,11 +73,12 @@ struct tolerance
}
};
-class XMLDiff
+class OOO_DLLPUBLIC_TEST XMLDiff
{
public:
XMLDiff(const std::string& file1, const std::string& file2, const std::string& toleranceFile);
XMLDiff(const std::string& file1, const std::string& file2);
+ XMLDiff(const char* pFileName, const char* pContent, int size);
~XMLDiff();
bool compare();