summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-13 12:29:03 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-13 12:29:03 +0200
commit87c6beddfb684cee702ec1c9225497b8541a780d (patch)
tree4797c170bca6153493535d301e2cd18e4e67db81 /sd
parentee615aeb2c11ee1f288f903c2a7550299a9bc820 (diff)
test: move XMLDiff implementation details to cxx file
This makes it unnecessary to link clients against libxml2. Change-Id: Ifd295623c01bdc6f579afbf81d5b609a2b29f4bf
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/regression-test.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sd/qa/unit/regression-test.cxx b/sd/qa/unit/regression-test.cxx
index 7cb0609ec8f8..0b1dee1c7fc7 100644
--- a/sd/qa/unit/regression-test.cxx
+++ b/sd/qa/unit/regression-test.cxx
@@ -214,10 +214,13 @@ void SdFiltersTest::testStuff(::sd::DrawDocShellRef xDocShRef, const rtl::OStrin
rtl::OString aFileName = aFileNameBuf.makeStringAndClear();
- XMLDiff aDiff(aFileName.getStr(), rtl::OUStringToOString(aString, RTL_TEXTENCODING_UTF8).getStr(), static_cast<int>(aString.getLength()),
- rtl::OUStringToOString(getPathFromSrc("/sd/qa/unit/data/tolerance.xml"), RTL_TEXTENCODING_UTF8).getStr());
std::cout << aString << std::endl;
- aDiff.compare();
+ doXMLDiff(aFileName.getStr(),
+ rtl::OUStringToOString(aString, RTL_TEXTENCODING_UTF8).getStr(),
+ static_cast<int>(aString.getLength()),
+ rtl::OUStringToOString(
+ getPathFromSrc("/sd/qa/unit/data/tolerance.xml"),
+ RTL_TEXTENCODING_UTF8).getStr());
}
xDocShRef->DoClose();
}