summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-09 15:33:55 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-09 15:56:29 +0100
commitb8d86729799d0494ca0a4d5ee659541d3d81f775 (patch)
tree7d86efa9d111cd787da1a9349a39176f17a610b2 /unotest
parent1390a2ce01b8458a53abf95df9091c64af422cb4 (diff)
add regression test for writer
use the hidden layout dump export filter to export the state of the layout and compare it against a reference file Still a work in progress.
Diffstat (limited to 'unotest')
-rw-r--r--unotest/inc/unotest/bootstrapfixturebase.hxx3
-rw-r--r--unotest/source/cpp/bootstrapfixturebase.cxx5
2 files changed, 8 insertions, 0 deletions
diff --git a/unotest/inc/unotest/bootstrapfixturebase.hxx b/unotest/inc/unotest/bootstrapfixturebase.hxx
index 6e9af912f40a..65899556910b 100644
--- a/unotest/inc/unotest/bootstrapfixturebase.hxx
+++ b/unotest/inc/unotest/bootstrapfixturebase.hxx
@@ -81,6 +81,9 @@ public:
// return a Path to a given c-str path from the source directory
::rtl::OUString getPathFromSrc( const char *pPath );
+ // return a URL to a given c-str path from the solver directory
+ ::rtl::OUString getURLFromSolver( const char *pPath );
+
// return a Path to a given c-str path from the solver directory
::rtl::OUString getPathFromSolver( const char *pPath );
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx
index d135992688ce..0c7c841f1d99 100644
--- a/unotest/source/cpp/bootstrapfixturebase.cxx
+++ b/unotest/source/cpp/bootstrapfixturebase.cxx
@@ -82,6 +82,11 @@ test::BootstrapFixtureBase::~BootstrapFixtureBase()
return m_aSrcRootPath + rtl::OUString::createFromAscii( pPath );
}
+::rtl::OUString test::BootstrapFixtureBase::getURLFromSolver( const char *pPath )
+{
+ return m_aSolverRootURL + rtl::OUString::createFromAscii( pPath );
+}
+
::rtl::OUString test::BootstrapFixtureBase::getPathFromSolver( const char *pPath )
{
return m_aSolverRootPath + rtl::OUString::createFromAscii( pPath );