sc/qa/uitest/calc_tests8/dataProvider.py | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 9b110cf0e640e67990a3fc43d20fcbed8ce39387 Author: Neil Roberts <[email protected]> AuthorDate: Wed Dec 3 06:59:13 2025 +0100 Commit: Noel Grandin <[email protected]> CommitDate: Wed Dec 3 19:23:25 2025 +0100 Add a test for the CSV data provider This is similar to the brokenCSV test except that the data is valid and we check whether the import actually worked. The main reason to do this is to check that the “Run the import directly on the main thread patch” hasn’t broken the imports. Ideally this would test importing XML too, but that doesn’t seem to work as described in tdf#169574. Change-Id: I0ab4d566c28e4c94c0865cfc2a5e894b24927d64 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194937 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sc/qa/uitest/calc_tests8/dataProvider.py b/sc/qa/uitest/calc_tests8/dataProvider.py index f4ae2917f81b..5880881fab43 100644 --- a/sc/qa/uitest/calc_tests8/dataProvider.py +++ b/sc/qa/uitest/calc_tests8/dataProvider.py @@ -77,4 +77,10 @@ class DataProvider(UITestCase): "test1.html") self.do_import("HTML", test_file, "//table", "Col1") + def test_csv_import(self): + test_file = os.path.join(os.getenv("SRCDIR"), + "sc", "qa", "unit", "data", "dataprovider", "csv", + "test1.csv") + self.do_import("CSV", test_file, "", "1") + # vim: set shiftwidth=4 softtabstop=4 expandtab:
