From 49d7bdea17f6468b0c5c9f425f4432e2ad7e1ace Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Sun, 12 Feb 2017 16:04:58 +0100 Subject: ChartDumpTest: A new chart test suite for a more sistematic testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Tamás Zolnai --- include/unotest/directories.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include/unotest') 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 ); -- cgit