diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-10 14:18:12 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-15 11:56:34 +0100 |
commit | a865d042eff3cdd4d78badcc55c9d8fdf9ef52aa (patch) | |
tree | 038f020d2c3bd05537a9d08fa7f2c2400d14b03b /test | |
parent | 6870c0c3385bf5d19e9c80bf973fca255ae38c08 (diff) |
CppunitTest_sc_subsequent_export_test: inherit from UnoApiXmlTest
Some notes:
* testLinkedGraphicRT needed to be adapted. Saving to
Calc Office Open XML doesn't keep IsLinkedGraphic.
Reported in tdf#152036. No idea why it didn't fail before
* Some tests used "generic_HTML" as export filter format, which
is wrong. Instead, "HTML (StarCalc)" should have been used.
But then, the test would have failed with
- unsatisfied query for interface of type com.sun.star.sheet.XSpreadsheetDocument!
So trying to export to html in those tests is not expected.
No idea why it didn't fail before
* testTdf90299 fails now with
- Expected: 'file:///tmp/lu23738863wthph.tmp/dummy.xls'#$Sheet1.A1
- Actual : 'file:///tmp/lu23738863wthph.tmp/lu23738863wthpg.tmp/dummy.xls'#$Sheet1.A1
I added a TODO to check it later
* testNamedRangeBugfdo62729 fails on mac with an infinite loop
Change-Id: I63168583a47f510d1ac22971a274e28d085de61b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142576
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/unoapi_test.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx index 29d4020d5337..12e0aab043b5 100644 --- a/test/source/unoapi_test.cxx +++ b/test/source/unoapi_test.cxx @@ -57,6 +57,11 @@ OUString UnoApiTest::createFileURL(std::u16string_view aFileBase) return m_directories.getSrcRootURL() + m_aBaseString + "/" + aFileBase; } +OUString UnoApiTest::createFilePath(std::u16string_view aFileBase) +{ + return m_directories.getSrcRootPath() + "/" + m_aBaseString + "/" + aFileBase; +} + void UnoApiTest::setTestInteractionHandler(const char* pPassword, std::vector<beans::PropertyValue>& rFilterOptions) { |