summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-06-22 18:34:01 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-06-29 12:59:30 +0200
commite8b1dab67fd041103546e5427dd75b40ddb0431a (patch)
treea1109aeaf7f30a59dab2c64c4322bd7caabdffc1 /include
parent0a182c2841fa48029bfd66814f2fa4cb59e907d3 (diff)
test: invoke ODF validator with custom schemas
This requires a new validator jar for the -m flag to specify MathML schema. Change-Id: If99cf70f386a16a90ba676f8f5ff65a537c9ce56 Reviewed-on: https://gerrit.libreoffice.org/56487 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'include')
-rw-r--r--include/test/bootstrapfixture.hxx2
-rw-r--r--include/unotest/directories.hxx12
2 files changed, 7 insertions, 7 deletions
diff --git a/include/test/bootstrapfixture.hxx b/include/test/bootstrapfixture.hxx
index 628e7b754bfe..a70dca82d6e6 100644
--- a/include/test/bootstrapfixture.hxx
+++ b/include/test/bootstrapfixture.hxx
@@ -54,7 +54,7 @@ public:
virtual void setUp() override;
- static void validate(const OUString& rURL, ValidationFormat);
+ void validate(const OUString& rURL, ValidationFormat) const;
};
}
diff --git a/include/unotest/directories.hxx b/include/unotest/directories.hxx
index c1eaac83bafa..5a901c8781bf 100644
--- a/include/unotest/directories.hxx
+++ b/include/unotest/directories.hxx
@@ -27,20 +27,20 @@ private:
public:
Directories();
- const OUString& getSrcRootURL() { return m_aSrcRootURL; }
- const OUString& getSrcRootPath() { return m_aSrcRootPath; }
+ const OUString& getSrcRootURL() const { return m_aSrcRootURL; }
+ const OUString& getSrcRootPath() const { return m_aSrcRootPath; }
// return a URL to a given path from the source directory
- OUString getURLFromSrc( const OUString& rPath );
+ OUString getURLFromSrc(const OUString& rPath) const;
// return a Path to a given path from the source directory
- OUString getPathFromSrc( const OUString& rPath );
+ OUString getPathFromSrc(const OUString& rPath) const;
// return a URL to a given path from the workdir directory
- OUString getURLFromWorkdir( const OUString &rPath );
+ OUString getURLFromWorkdir(const OUString &rPath) const;
// return a Path to a given path from the workdir directory
- OUString getPathFromWorkdir( const OUString &rPath );
+ OUString getPathFromWorkdir(const OUString &rPath) const;
};
}