From 60b1c95cc47831246f097ee13dda8bcd71c57eb4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 9 Mar 2016 14:14:18 +0100 Subject: 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 Reviewed-by: Stephan Bergmann --- starmath/qa/extras/mmlimport-test.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'starmath') diff --git a/starmath/qa/extras/mmlimport-test.cxx b/starmath/qa/extras/mmlimport-test.cxx index 1ab9d62b0464..5c808f323b26 100644 --- a/starmath/qa/extras/mmlimport-test.cxx +++ b/starmath/qa/extras/mmlimport-test.cxx @@ -84,21 +84,21 @@ void Test::tearDown() void Test::testSimple() { - loadURL(getURLFromSrc("starmath/qa/extras/data/simple.mml")); + loadURL(m_directories.getURLFromSrc("starmath/qa/extras/data/simple.mml")); OUString sExpected("left ( {a + b} right )^2"); CPPUNIT_ASSERT_EQUAL_MESSAGE("loaded text", sExpected, mxDocShell->GetText()); } void Test::testNsPrefixMath() { - loadURL(getURLFromSrc("starmath/qa/extras/data/ns-prefix-math.mml")); + loadURL(m_directories.getURLFromSrc("starmath/qa/extras/data/ns-prefix-math.mml")); OUString sExpected("left ( {a + b} right )^2"); CPPUNIT_ASSERT_EQUAL_MESSAGE("loaded text", sExpected, mxDocShell->GetText()); } void Test::testMaction() { - loadURL(getURLFromSrc("starmath/qa/extras/data/maction.mml")); + loadURL(m_directories.getURLFromSrc("starmath/qa/extras/data/maction.mml")); OUString sExpected("matrix {1 ## 2 ## 3}"); CPPUNIT_ASSERT_EQUAL_MESSAGE("loaded text", sExpected, mxDocShell->GetText()); } -- cgit