From 87c6beddfb684cee702ec1c9225497b8541a780d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 13 Jul 2012 12:29:03 +0200 Subject: test: move XMLDiff implementation details to cxx file This makes it unnecessary to link clients against libxml2. Change-Id: Ifd295623c01bdc6f579afbf81d5b609a2b29f4bf --- sd/qa/unit/regression-test.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sd/qa') 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(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(aString.getLength()), + rtl::OUStringToOString( + getPathFromSrc("/sd/qa/unit/data/tolerance.xml"), + RTL_TEXTENCODING_UTF8).getStr()); } xDocShRef->DoClose(); } -- cgit