summaryrefslogtreecommitdiff
path: root/unotest/inc
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-03 17:34:40 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-03 20:24:28 -0500
commit7378043546f1a4b3dc89cdce648bc4c4ef067525 (patch)
treecbfec9b02a9e376112837256fd82ba969f56c42b /unotest/inc
parentb68a0f659500c2db86aa99df78bac292e3e93d79 (diff)
unottest: add get(URL|Path)FromWorkdir to locate $WORKDIR_FOR_BUILD
Change-Id: Iec4e609e023262f357a7552b75863aeae9385205
Diffstat (limited to 'unotest/inc')
-rw-r--r--unotest/inc/unotest/bootstrapfixturebase.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/unotest/inc/unotest/bootstrapfixturebase.hxx b/unotest/inc/unotest/bootstrapfixturebase.hxx
index 085d014c1b1a..740799937907 100644
--- a/unotest/inc/unotest/bootstrapfixturebase.hxx
+++ b/unotest/inc/unotest/bootstrapfixturebase.hxx
@@ -57,6 +57,8 @@ protected:
::rtl::OUString m_aSrcRootPath;
::rtl::OUString m_aSolverRootURL;
::rtl::OUString m_aSolverRootPath;
+ ::rtl::OUString m_aWorkdirRootURL;
+ ::rtl::OUString m_aWorkdirRootPath;
com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> m_xContext;
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> m_xSFactory;
@@ -80,6 +82,12 @@ 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 workdir directory
+ ::rtl::OUString getURLFromWorkdir( const char *pPath );
+
+ // return a Path to a given c-str path from the workdir directory
+ ::rtl::OUString getPathFromWorkdir( const char *pPath );
virtual void setUp();
virtual void tearDown();