summaryrefslogtreecommitdiff
path: root/test/source/sheet/xddelink.cxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2019-01-29 13:40:21 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2019-01-29 17:02:17 +0100
commit3cacdf5b0f1a6285370d5b06ddec9bce770ea603 (patch)
treebd4fe76fef2f8790120fd7196347c049d920b323 /test/source/sheet/xddelink.cxx
parent55013f566d540b910a73d6403809cd236f75636c (diff)
sc: fix CppunitTest_sc_ddelinkobj to copy its test document
XRefreshable::testRefreshListener() fails on read-only filesystem because the ScDDELinksObj.ods cannot be loaded read-write. It is loaded read-write since commit 5b2794e27a81f8078cc251580ca59cc47807c7a0. Change-Id: I27b954b216acd3d138ade0d3f1b21fedd2f74fb1 Reviewed-on: https://gerrit.libreoffice.org/67071 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'test/source/sheet/xddelink.cxx')
-rw-r--r--test/source/sheet/xddelink.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/sheet/xddelink.cxx b/test/source/sheet/xddelink.cxx
index b166275d5367..4227c3b4c9a4 100644
--- a/test/source/sheet/xddelink.cxx
+++ b/test/source/sheet/xddelink.cxx
@@ -37,8 +37,7 @@ void XDDELink::testGetTopic()
{
uno::Reference<sheet::XDDELink> xLink(init(), UNO_QUERY_THROW);
- CPPUNIT_ASSERT_MESSAGE("Unable to execute getTopic()",
- xLink->getTopic().endsWith("ScDDELinksObj.ods"));
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Unable to execute getTopic()", m_URL, xLink->getTopic());
}
} // namespace apitest