From 61af2bae8d3cdf0e7acfa9e49224ca5afcdd38dc Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 9 Jan 2017 23:46:25 +0100 Subject: vcl: add SVM metafile reading and writing test and extend xml dump MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I88ffb795a9c33ea62d05d599757a287335c7d680 Reviewed-on: https://gerrit.libreoffice.org/32914 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/test/xmltesttools.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/test') diff --git a/include/test/xmltesttools.hxx b/include/test/xmltesttools.hxx index a4cf8cc1a6f8..80f95b321a50 100644 --- a/include/test/xmltesttools.hxx +++ b/include/test/xmltesttools.hxx @@ -25,6 +25,8 @@ #include +#include + class OOO_DLLPUBLIC_TEST XmlTestTools { public: @@ -62,6 +64,8 @@ protected: void assertXPath(xmlDocPtr pXmlDoc, const OString& rXPath, const OString& rAttribute = OString(), const OUString& rExpectedValue = OUString()); + void assertXPathAttrs(xmlDocPtr pXmlDoc, const OString& rXPath, + std::vector> aPairVector); /** * Assert that rXPath exists, and returns exactly nNumberOfNodes nodes. * Useful for checking that we do _not_ export some node (nNumberOfNodes == 0). -- cgit