diff options
author | Eike Rathke <erack@redhat.com> | 2019-07-08 13:49:01 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-07-08 17:20:22 +0200 |
commit | 1458d43690684c5ce6ed4409bef34a23cfbab7f2 (patch) | |
tree | 0c816617fab5b70471bcc7b3b05d46a9fe4af086 /sc/qa/unit | |
parent | 7ec598639a900e21ea472a85057aadee10796778 (diff) |
Revert "tdf#126255 disable broken relative link unit test"
This reverts commit dfdd2b0126a677960946c5ff2b905e95b978b2d5.
Wrong assumptions about xlink:href, see
https://bugs.documentfoundation.org/show_bug.cgi?id=126255#c5
Change-Id: Ib9522f702205befe71a1992d4811c1064ac6746f
Reviewed-on: https://gerrit.libreoffice.org/75220
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index b2bc00573688..473be4c8593b 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -3080,12 +3080,10 @@ void ScExportTest::testRelativePathsODS() xmlDocPtr pDoc = XPathHelper::parseExport2(*this, *xDocSh, m_xSFactory, "content.xml", FORMAT_ODS); CPPUNIT_ASSERT(pDoc); - // FIXME: make sure that the URL is relative and actually points to the existing document -#if 0 OUString aURL = getXPath(pDoc, "/office:document-content/office:body/office:spreadsheet/table:table/table:table-row[2]/table:table-cell[2]/text:p/text:a", "href"); + // make sure that the URL is relative CPPUNIT_ASSERT(aURL.startsWith("..")); -#endif } namespace { |