diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-02-14 17:50:20 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-02-14 16:46:07 +0100 |
commit | 7ce4a3956a570841d5967ba1e555ded5613b6bc4 (patch) | |
tree | 5a57ad0b11b229087310a6fcd4d9575e2ab02993 /helpcontent2 | |
parent | 984a1827508e7298611476cf747c4acc96dec58a (diff) |
Handle system paths and URLs properly
Avoids errors like this:
make UITest_conditional_format
...
Execution time for tdf117899.Tdf117899.test_tdf117899: 9.992
tearDown: calling terminate()...
...done
ERROR
======================================================================
ERROR: test_tdf117899 (tdf117899.Tdf117899)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:/lo/src/core/sc/qa/uitest/conditional_format/tdf117899.py", line 64, in test_tdf117899
self.ui_test.load_file('file://' + xFilePath)
File "C:\lo\src\core\uitest\uitest\test.py", line 76, in load_file
component = desktop.loadComponentFromURL(url, target, 0, tuple())
uitest.test.com.sun.star.lang.IllegalArgumentException: Unsupported URL <file://C:\cygwin64\tmp\tmpfs3x8j2r/tdf117899-temp.ods>: "type detection failed"
----------------------------------------------------------------------
Change-Id: Ifbf62c0aaa72412dc0efca921f59441d09c54d90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110882
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'helpcontent2')
0 files changed, 0 insertions, 0 deletions