summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-07-09 15:20:00 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-07-12 12:54:19 +0200
commit6eedac6b19f3dcad46f2ca2b9ccb02b490b60ce9 (patch)
tree9d7a5e338e71eae567ffa6b66d13ca73685f318a /sc
parent04c7c90fe886c5fcebd52f727ff8b4edb840ad32 (diff)
uitest: sc: move textToColumns tests to their own folder
Change-Id: I20742a89544859f397c8ae45db0c91f4abe1e940 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118687 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/Module_sc.mk1
-rw-r--r--sc/UITest_textToColumns.mk20
-rw-r--r--sc/qa/uitest/textToColumns/tdf143008.py (renamed from sc/qa/uitest/calc_tests3/tdf143008.py)0
-rw-r--r--sc/qa/uitest/textToColumns/tdf51700.py (renamed from sc/qa/uitest/calc_tests2/tdf51700.py)0
-rw-r--r--sc/qa/uitest/textToColumns/tdf69981.py (renamed from sc/qa/uitest/calc_tests3/tdf69981.py)7
-rw-r--r--sc/qa/uitest/textToColumns/tdf73006.py (renamed from sc/qa/uitest/calc_tests3/tdf73006.py)0
-rw-r--r--sc/qa/uitest/textToColumns/tdf82398.py (renamed from sc/qa/uitest/calc_tests3/tdf82398.py)0
-rw-r--r--sc/qa/uitest/textToColumns/tdf85403.py (renamed from sc/qa/uitest/calc_tests4/tdf85403.py)0
-rw-r--r--sc/qa/uitest/textToColumns/tdf85979.py (renamed from sc/qa/uitest/calc_tests4/tdf85979.py)0
-rw-r--r--sc/qa/uitest/textToColumns/tdf89907.py (renamed from sc/qa/uitest/calc_tests4/tdf89907.py)0
-rw-r--r--sc/qa/uitest/textToColumns/tdf92423.py (renamed from sc/qa/uitest/calc_tests4/tdf92423.py)0
-rw-r--r--sc/qa/uitest/textToColumns/textToColumns.py (renamed from sc/qa/uitest/calc_tests4/textToColumns.py)0
12 files changed, 27 insertions, 1 deletions
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 99600f5d9838..34bbe8f9b3d2 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -258,6 +258,7 @@ $(eval $(call gb_Module_add_uicheck_targets,sc,\
UITest_validity \
UITest_key_f4 \
UITest_textCase \
+ UITest_textToColumns \
UITest_signatureLine \
UITest_inputLine \
UITest_calc_tests7 \
diff --git a/sc/UITest_textToColumns.mk b/sc/UITest_textToColumns.mk
new file mode 100644
index 000000000000..6a448b16c987
--- /dev/null
+++ b/sc/UITest_textToColumns.mk
@@ -0,0 +1,20 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_UITest_UITest,textToColumns))
+
+$(eval $(call gb_UITest_add_modules,textToColumns,$(SRCDIR)/sc/qa/uitest,\
+ textToColumns/ \
+))
+
+$(eval $(call gb_UITest_set_defs,textToColumns, \
+ TDOC="$(SRCDIR)/sc/qa/uitest/data" \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/qa/uitest/calc_tests3/tdf143008.py b/sc/qa/uitest/textToColumns/tdf143008.py
index 8138fa37f652..8138fa37f652 100644
--- a/sc/qa/uitest/calc_tests3/tdf143008.py
+++ b/sc/qa/uitest/textToColumns/tdf143008.py
diff --git a/sc/qa/uitest/calc_tests2/tdf51700.py b/sc/qa/uitest/textToColumns/tdf51700.py
index c59bcb457fa4..c59bcb457fa4 100644
--- a/sc/qa/uitest/calc_tests2/tdf51700.py
+++ b/sc/qa/uitest/textToColumns/tdf51700.py
diff --git a/sc/qa/uitest/calc_tests3/tdf69981.py b/sc/qa/uitest/textToColumns/tdf69981.py
index c6dd94a42285..dc053546ac69 100644
--- a/sc/qa/uitest/calc_tests3/tdf69981.py
+++ b/sc/qa/uitest/textToColumns/tdf69981.py
@@ -35,7 +35,12 @@ class tdf69981(UITestCase):
xtab = xDialog.getChild("tab")
xcomma = xDialog.getChild("comma")
xtab.executeAction("CLICK", tuple())
- xcomma.executeAction("CLICK", tuple())
+
+ if get_state_as_dict(xcomma)['Selected'] == 'false':
+ xcomma.executeAction("CLICK", tuple())
+
+ self.assertEqual('false', get_state_as_dict(xtab)['Selected'])
+ self.assertEqual('true', get_state_as_dict(xcomma)['Selected'])
#Click Ok
#overwrite warning come up
#press Ok.
diff --git a/sc/qa/uitest/calc_tests3/tdf73006.py b/sc/qa/uitest/textToColumns/tdf73006.py
index 41708cd1d223..41708cd1d223 100644
--- a/sc/qa/uitest/calc_tests3/tdf73006.py
+++ b/sc/qa/uitest/textToColumns/tdf73006.py
diff --git a/sc/qa/uitest/calc_tests3/tdf82398.py b/sc/qa/uitest/textToColumns/tdf82398.py
index 3bdd4da5a4d0..3bdd4da5a4d0 100644
--- a/sc/qa/uitest/calc_tests3/tdf82398.py
+++ b/sc/qa/uitest/textToColumns/tdf82398.py
diff --git a/sc/qa/uitest/calc_tests4/tdf85403.py b/sc/qa/uitest/textToColumns/tdf85403.py
index 73859c38410f..73859c38410f 100644
--- a/sc/qa/uitest/calc_tests4/tdf85403.py
+++ b/sc/qa/uitest/textToColumns/tdf85403.py
diff --git a/sc/qa/uitest/calc_tests4/tdf85979.py b/sc/qa/uitest/textToColumns/tdf85979.py
index df5f97315289..df5f97315289 100644
--- a/sc/qa/uitest/calc_tests4/tdf85979.py
+++ b/sc/qa/uitest/textToColumns/tdf85979.py
diff --git a/sc/qa/uitest/calc_tests4/tdf89907.py b/sc/qa/uitest/textToColumns/tdf89907.py
index b046b758a9d8..b046b758a9d8 100644
--- a/sc/qa/uitest/calc_tests4/tdf89907.py
+++ b/sc/qa/uitest/textToColumns/tdf89907.py
diff --git a/sc/qa/uitest/calc_tests4/tdf92423.py b/sc/qa/uitest/textToColumns/tdf92423.py
index be370ca37d90..be370ca37d90 100644
--- a/sc/qa/uitest/calc_tests4/tdf92423.py
+++ b/sc/qa/uitest/textToColumns/tdf92423.py
diff --git a/sc/qa/uitest/calc_tests4/textToColumns.py b/sc/qa/uitest/textToColumns/textToColumns.py
index e31c0d99dcc5..e31c0d99dcc5 100644
--- a/sc/qa/uitest/calc_tests4/textToColumns.py
+++ b/sc/qa/uitest/textToColumns/textToColumns.py