summaryrefslogtreecommitdiff
path: root/include/unotest
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-02-12 16:04:58 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-02-12 16:43:06 +0000
commit49d7bdea17f6468b0c5c9f425f4432e2ad7e1ace (patch)
treedebd11744617476d9dfa2add377359b15a43c88c /include/unotest
parent8aff36d87f83fa2c86515f106c1e579b0903421a (diff)
ChartDumpTest: A new chart test suite for a more sistematic testing
A hibrid of dumper tests (xmlDump) and simple CppUnit tests. Advantages: * Easy to add a new test case ** Add a new test file and generate the reference ** Similar to dumper tests * Easy to find out the root of the problem when test fails ** Assertion is not coming somewhere from an XML file ** Assertion are placed in the code, so if you read and understand that code, you can find out easier why the test fails. ** Similar to simple CppUnit tests. * One test checks only one smaller part of the whole document ** e.g. legend, chart data, grid Change-Id: I7bba5a37efcc62d6358c84acece91963243a914f Reviewed-on: https://gerrit.libreoffice.org/34154 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'include/unotest')
-rw-r--r--include/unotest/directories.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unotest/directories.hxx b/include/unotest/directories.hxx
index ae105d988d96..04ee9287fe68 100644
--- a/include/unotest/directories.hxx
+++ b/include/unotest/directories.hxx
@@ -36,6 +36,7 @@ public:
// return a Path to a given c-str path from the source directory
OUString getPathFromSrc( const char *pPath );
+ OUString getPathFromSrc( const OUString& rPath );
// return a URL to a given c-str path from the workdir directory
OUString getURLFromWorkdir( const char *pPath );