summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-01-09 23:46:25 +0100
committerTomaž Vajngerl <quikee@gmail.com>2017-01-14 23:01:40 +0000
commit61af2bae8d3cdf0e7acfa9e49224ca5afcdd38dc (patch)
treed516032337bd2f019ca6bc3da8c190b3a2a049e6 /include
parent084ee886f8d4d43999915f832a45be54423b86e2 (diff)
vcl: add SVM metafile reading and writing test and extend xml dump
Change-Id: I88ffb795a9c33ea62d05d599757a287335c7d680 Reviewed-on: https://gerrit.libreoffice.org/32914 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/test/xmltesttools.hxx4
1 files changed, 4 insertions, 0 deletions
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 <cppunit/TestAssert.h>
+#include <vector>
+
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<std::pair<OString, OUString>> aPairVector);
/**
* Assert that rXPath exists, and returns exactly nNumberOfNodes nodes.
* Useful for checking that we do _not_ export some node (nNumberOfNodes == 0).