[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - desktop/qa
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 8 09:01:43 UTC 2021
desktop/qa/desktop_lib/test_desktop_lib.cxx | 14 --------------
1 file changed, 14 deletions(-)
New commits:
commit dfa807f067b14a0293b8a82feda0f53805c9d4fc
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Mon Oct 4 08:45:18 2021 -0400
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Oct 8 11:01:07 2021 +0200
lok: test: fix testSheetSelections
The unit test is selecting again range,
it will conflict with the drag & drop
because it will drop to new cell address.
The unit test will fail, the removed code
will be used to a new unit test for drag & drop.
Change-Id: I896f5cd7e6b671f3fac95c8ae76e7558fa8dd1d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123062
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index f63e8dd5ddca..36408ff79fb7 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -1107,20 +1107,6 @@ void DesktopLOKTest::testSheetSelections()
/*
* Check if clicking inside the selection deselects the whole selection
*/
- int const row10 = 2400;
- // Select starting from row5, col1 to row10, col5
- pDocument->pClass->postMouseEvent(pDocument,
- LOK_MOUSEEVENT_MOUSEBUTTONDOWN,
- col1, row5,
- 1, 1, 0);
- pDocument->pClass->postMouseEvent(pDocument,
- LOK_MOUSEEVENT_MOUSEMOVE,
- col5, row5,
- 1, 1, 0);
- pDocument->pClass->postMouseEvent(pDocument,
- LOK_MOUSEEVENT_MOUSEBUTTONUP,
- col5, row10,
- 1, 1, 0);
// Click at row5, col4
pDocument->pClass->postMouseEvent(pDocument,
More information about the Libreoffice-commits
mailing list