diff options
author | Henry Castro <hcastro@collabora.com> | 2021-10-04 08:45:18 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-02-20 12:24:54 +0100 |
commit | a286e18c4e99abb91a028d5d97022d820312f209 (patch) | |
tree | 45becbf18a514022a319a0a018b5a88310cf3f66 /desktop | |
parent | 7c17d20423207ec705925e108757c2a38afc9579 (diff) |
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@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129468
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/qa/desktop_lib/test_desktop_lib.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 1504c2f040fe..144e2fb1b16c 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -1157,20 +1157,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, |