diff options
Diffstat (limited to 'sw/qa/uitest/writer_tests7')
-rw-r--r-- | sw/qa/uitest/writer_tests7/data/tdf131936.docx | bin | 4326 -> 0 bytes | |||
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf131936.py | 5 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf131963.py | 5 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf132169.py | 5 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf132596.py | 5 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf132597.py | 5 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf134243.py | 5 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests7/tdf99711.py | 5 |
8 files changed, 21 insertions, 14 deletions
diff --git a/sw/qa/uitest/writer_tests7/data/tdf131936.docx b/sw/qa/uitest/writer_tests7/data/tdf131936.docx Binary files differdeleted file mode 100644 index f993d6ee327f..000000000000 --- a/sw/qa/uitest/writer_tests7/data/tdf131936.docx +++ /dev/null diff --git a/sw/qa/uitest/writer_tests7/tdf131936.py b/sw/qa/uitest/writer_tests7/tdf131936.py index 5d2de2c3a697..97b9192c3b30 100644 --- a/sw/qa/uitest/writer_tests7/tdf131936.py +++ b/sw/qa/uitest/writer_tests7/tdf131936.py @@ -5,12 +5,13 @@ from uitest.framework import UITestCase from uitest.uihelper.common import get_state_as_dict from libreoffice.uno.propertyvalue import mkPropertyValues -from uitest.path import get_srcdir_url from uitest.config import DEFAULT_SLEEP import time +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests7/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class tdf131936(UITestCase): diff --git a/sw/qa/uitest/writer_tests7/tdf131963.py b/sw/qa/uitest/writer_tests7/tdf131963.py index 97cebcc4cedc..853de13375b5 100644 --- a/sw/qa/uitest/writer_tests7/tdf131963.py +++ b/sw/qa/uitest/writer_tests7/tdf131963.py @@ -7,10 +7,11 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import get_state_as_dict -from uitest.path import get_srcdir_url +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class tdf131963(UITestCase): diff --git a/sw/qa/uitest/writer_tests7/tdf132169.py b/sw/qa/uitest/writer_tests7/tdf132169.py index 78487a00c2f8..3ac183c6578d 100644 --- a/sw/qa/uitest/writer_tests7/tdf132169.py +++ b/sw/qa/uitest/writer_tests7/tdf132169.py @@ -5,13 +5,14 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # from uitest.framework import UITestCase -from uitest.path import get_srcdir_url from uitest.uihelper.common import get_state_as_dict, type_text from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import change_measurement_unit +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class tdf132169(UITestCase): def test_tdf132169(self): diff --git a/sw/qa/uitest/writer_tests7/tdf132596.py b/sw/qa/uitest/writer_tests7/tdf132596.py index 6cfbf5e94be2..4c2b9bc3745f 100644 --- a/sw/qa/uitest/writer_tests7/tdf132596.py +++ b/sw/qa/uitest/writer_tests7/tdf132596.py @@ -7,10 +7,11 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import get_state_as_dict -from uitest.path import get_srcdir_url +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class tdf132596(UITestCase): diff --git a/sw/qa/uitest/writer_tests7/tdf132597.py b/sw/qa/uitest/writer_tests7/tdf132597.py index 60ec581095fd..0bc2116779ff 100644 --- a/sw/qa/uitest/writer_tests7/tdf132597.py +++ b/sw/qa/uitest/writer_tests7/tdf132597.py @@ -7,10 +7,11 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import get_state_as_dict -from uitest.path import get_srcdir_url +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class tdf132597(UITestCase): diff --git a/sw/qa/uitest/writer_tests7/tdf134243.py b/sw/qa/uitest/writer_tests7/tdf134243.py index 49faa4bbb1bd..2cb66e8e4b9f 100644 --- a/sw/qa/uitest/writer_tests7/tdf134243.py +++ b/sw/qa/uitest/writer_tests7/tdf134243.py @@ -5,10 +5,11 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # from uitest.framework import UITestCase -from uitest.path import get_srcdir_url +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class tdf134243(UITestCase): diff --git a/sw/qa/uitest/writer_tests7/tdf99711.py b/sw/qa/uitest/writer_tests7/tdf99711.py index e99f38cc60b1..140372bc0b63 100644 --- a/sw/qa/uitest/writer_tests7/tdf99711.py +++ b/sw/qa/uitest/writer_tests7/tdf99711.py @@ -5,13 +5,14 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # from uitest.framework import UITestCase -from uitest.path import get_srcdir_url from uitest.uihelper.common import get_state_as_dict from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import change_measurement_unit +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class tdf99711(UITestCase): def test_tdf99711(self): |