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 /connectivity | |
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 'connectivity')
-rw-r--r-- | connectivity/qa/connectivity/ado/DriverTest.cxx | 2 | ||||
-rw-r--r-- | connectivity/qa/connectivity/mork/DriverTest.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/qa/connectivity/ado/DriverTest.cxx b/connectivity/qa/connectivity/ado/DriverTest.cxx index c4fdf709c4a9..bc62ee699c3b 100644 --- a/connectivity/qa/connectivity/ado/DriverTest.cxx +++ b/connectivity/qa/connectivity/ado/DriverTest.cxx @@ -62,7 +62,7 @@ void AdoDriverTest::setUp() CPPUNIT_ASSERT_MESSAGE("no ado component!", m_xAdoComponent.is()); OUString url = "sdbc:ado:access:PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" + - getPathFromWorkdir("/CppunitTest/TS001018407.mdb"); + m_directories.getPathFromWorkdir("/CppunitTest/TS001018407.mdb"); Sequence< PropertyValue > info; Reference< XDriver> xDriver(m_xAdoComponent, UNO_QUERY); diff --git a/connectivity/qa/connectivity/mork/DriverTest.cxx b/connectivity/qa/connectivity/mork/DriverTest.cxx index bdcfc622181d..38de4520ea84 100644 --- a/connectivity/qa/connectivity/mork/DriverTest.cxx +++ b/connectivity/qa/connectivity/mork/DriverTest.cxx @@ -65,7 +65,7 @@ void MorkDriverTest::setUp() // is this the best way to pass test file through URL? // may be take a custom Sequence< PropertyValue > route? OUString url = "sdbc:address:thunderbird:unittest:" + - getPathFromSrc("/connectivity/qa/connectivity/mork/abook_10_john_does.mab"); + m_directories.getPathFromSrc("/connectivity/qa/connectivity/mork/abook_10_john_does.mab"); Sequence< PropertyValue > info; Reference< XDriver> xDriver(m_xMorkComponent, UNO_QUERY); |