diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-09 14:14:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 08:04:40 +0000 |
commit | 60b1c95cc47831246f097ee13dda8bcd71c57eb4 (patch) | |
tree | 8f8ede597a247c78f3742fa46ba9777b66edb76e /dbaccess/qa | |
parent | 50336412f775af154509d67b1ebbdb4b5feb147b (diff) |
Extract Directories from BootstrapFixtureBase
(as some tests derive from the latter only for the Directories part, not for the
setUp/tearDown overrides: those tests will be cleaned up next)
Change-Id: Ib6b78eea868b8bc21d4cc6e8fd9e1d025deca05f
Reviewed-on: https://gerrit.libreoffice.org/23078
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/qa')
-rw-r--r-- | dbaccess/qa/extras/dialog-save.cxx | 2 | ||||
-rw-r--r-- | dbaccess/qa/extras/empty-stdlib-save.cxx | 2 | ||||
-rw-r--r-- | dbaccess/qa/extras/nolib-save.cxx | 2 | ||||
-rw-r--r-- | dbaccess/qa/extras/rowsetclones.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx index 38344dfcb569..e73c4ff45f8a 100644 --- a/dbaccess/qa/extras/dialog-save.cxx +++ b/dbaccess/qa/extras/dialog-save.cxx @@ -68,7 +68,7 @@ void DialogSaveTest::test() SolarMutexReleaser rel; const OUString sStandard("Standard"); - const OUString aFileName(getURLFromWorkdir("CppunitTest/testDialogSave.odb")); + const OUString aFileName(m_directories.getURLFromWorkdir("CppunitTest/testDialogSave.odb")); { uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName); CPPUNIT_ASSERT(xComponent.is()); diff --git a/dbaccess/qa/extras/empty-stdlib-save.cxx b/dbaccess/qa/extras/empty-stdlib-save.cxx index d8e355c058ee..42c1783ac3fd 100644 --- a/dbaccess/qa/extras/empty-stdlib-save.cxx +++ b/dbaccess/qa/extras/empty-stdlib-save.cxx @@ -68,7 +68,7 @@ void DialogSaveTest::test() SolarMutexReleaser rel; const OUString sStandard("Standard"); - const OUString aFileName(getURLFromWorkdir("CppunitTest/testEmptyStdlibSave.odb")); + const OUString aFileName(m_directories.getURLFromWorkdir("CppunitTest/testEmptyStdlibSave.odb")); { uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName); CPPUNIT_ASSERT(xComponent.is()); diff --git a/dbaccess/qa/extras/nolib-save.cxx b/dbaccess/qa/extras/nolib-save.cxx index c41dc2617948..16b63c5cd30a 100644 --- a/dbaccess/qa/extras/nolib-save.cxx +++ b/dbaccess/qa/extras/nolib-save.cxx @@ -68,7 +68,7 @@ void DialogSaveTest::test() SolarMutexReleaser rel; const OUString sStandard("Standard"); - const OUString aFileName(getURLFromWorkdir("CppunitTest/testNolibSave.odb")); + const OUString aFileName(m_directories.getURLFromWorkdir("CppunitTest/testNolibSave.odb")); { uno::Reference< lang::XComponent > xComponent = loadFromDesktop(aFileName); CPPUNIT_ASSERT(xComponent.is()); diff --git a/dbaccess/qa/extras/rowsetclones.cxx b/dbaccess/qa/extras/rowsetclones.cxx index 36b6db4f2163..2ae55ccdf263 100644 --- a/dbaccess/qa/extras/rowsetclones.cxx +++ b/dbaccess/qa/extras/rowsetclones.cxx @@ -60,7 +60,7 @@ RowSetClones::RowSetClones() void RowSetClones::test() { - const OUString sFilePath(getURLFromWorkdir("CppunitTest/RowSetClones.odb")); + const OUString sFilePath(m_directories.getURLFromWorkdir("CppunitTest/RowSetClones.odb")); uno::Reference< lang::XComponent > xComponent (loadFromDesktop(sFilePath)); CPPUNIT_ASSERT(xComponent.is()); |