summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-09 14:14:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-10 08:04:40 +0000
commit60b1c95cc47831246f097ee13dda8bcd71c57eb4 (patch)
tree8f8ede597a247c78f3742fa46ba9777b66edb76e /sot
parent50336412f775af154509d67b1ebbdb4b5feb147b (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 'sot')
-rw-r--r--sot/qa/cppunit/test_sot.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx
index 50841ad2f9f2..8157bdf570e3 100644
--- a/sot/qa/cppunit/test_sot.cxx
+++ b/sot/qa/cppunit/test_sot.cxx
@@ -118,12 +118,12 @@ namespace
void SotTest::test()
{
testDir(OUString(),
- getURLFromSrc("/sot/qa/cppunit/data/"));
+ m_directories.getURLFromSrc("/sot/qa/cppunit/data/"));
}
void SotTest::testSize()
{
- OUString aURL(getURLFromSrc("/sot/qa/cppunit/data/pass/fdo84229-1.compound"));
+ OUString aURL(m_directories.getURLFromSrc("/sot/qa/cppunit/data/pass/fdo84229-1.compound"));
SvFileStream aStream(aURL, StreamMode::READ);
tools::SvRef<SotStorage> xObjStor = new SotStorage(aStream);
CPPUNIT_ASSERT_MESSAGE("sot storage failed to open",