Age | Commit message (Collapse) | Author |
|
The 'is' operator should not be used for comparison on some types of
literals. In CPython this works by accident and CPython 3.8 introduced a
SyntaxWarning (see https://bugs.python.org/issue34850).
Change-Id: Ic4ba481579d13fd1496431ded59dd626a05fc0c6
Reviewed-on: https://gerrit.libreoffice.org/83033
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
Change-Id: Id2b95d21799f8fa4b55a304afda739219fee06ff
Reviewed-on: https://gerrit.libreoffice.org/82323
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
Change-Id: I5159ed77c2b3ba2f06e381a738a49dbe17a6a4dd
Reviewed-on: https://gerrit.libreoffice.org/80542
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
This reverts commit d35840a2111beafe018851314a624e268e3cde6a, now that
43aef04d77aafb9d055957642e62b559231f3711 "Reliably wait for soffice to
terminate" makes sure that no soffice-related processes are left behind by
UITests. Using PR_SET_PDEATHSIG had the following drawbacks:
* It defeats debugging if a runaway process is forcefully killed by the test
framework. (And there are already higher-layer mechanisms in place for the
reliable termination of runaway tinderbox builds, see the commit message of
43aef04d77aafb9d055957642e62b559231f3711 mentioned above.)
* It is brittle in that it can terminate soffice-related processes too early, as
the signal is sent as soon as the parent's thread that spawned the child (and
not the parent process as a whole) terminates.
* It is Linux-only.
Change-Id: Ia07f5dbaafc824bad0dfbdb1a2aabe6d5508741b
Reviewed-on: https://gerrit.libreoffice.org/80186
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
...to avoid leftover soffice-related processes (oosplash, soffice.bin) from
UITests, whose occasional presence on tinderboxes is discussed in the comments
to <https://gerrit.libreoffice.org/#/c/79854/> "uitest: make child soffice
process die when parent dies". Should sucha an soffice-related process fail to
terminate, the UITest will now fail to terminate too, and (a) a developer can
debug the hung processes or (b) a tinderbox can reliably kill all processes (cf.
<https://gerrit.libreoffice.org/plugins/gitiles/lode/+/
bea0738dbadfe8784e5d3c00f533acf101db4e7e%5E%21> "tb_slave_wrapper: trap signal
and kill -9 everything"). This is in line with the waiting in tearDown in
unotest/source/python/org/libreoffice/unotest.py, and with the corresponding
behavior of C++ and Java test frameworks in unotest.
Change-Id: Ieb5c48964428bc05fa8c0f83af9426641d6df693
Reviewed-on: https://gerrit.libreoffice.org/80175
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
...which had gone missing with 98cbfb087eed0d1defa6ef26385fcf47f95c05fc "uitest:
kill the LibreOffice instance if it ignores terminate request".
(None != 0 is true, so there is no need to map from ret_attr to ret, and that
code can be cleaned up a bit.)
Change-Id: Ic5e429d61a10a2bbd5c28aeee9d8465cb05c1e4a
Reviewed-on: https://gerrit.libreoffice.org/80147
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I2f586bd5e2e4c3cf1fc052cdfe526532dca9acd4
Reviewed-on: https://gerrit.libreoffice.org/79884
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
using PR_SET_PDEATHSIG.
Note that this can only be called by the child process in question, so
we have to pass a new command line argument down to activate it.
And we have to plumb it through the wrapper oosplash process.
I wonder where else our testing infrastructure could benefit from this
Change-Id: I55e8e9f7f4e6cc415046df04c804e51475b8a4c9
Reviewed-on: https://gerrit.libreoffice.org/79854
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
This reverts commit 367719e77747bc142ac4b7ec5ee10d7c5e519c16.
Change-Id: I36e4aef93f04fe593692edaa804512020464aa95
Reviewed-on: https://gerrit.libreoffice.org/78354
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
This commit is updated just to help Ahmed.
He is going to fix this in the next implementation.
Change-Id: I1cdebb27b5ded57694e97da7d990adce716448c0
Reviewed-on: https://gerrit.libreoffice.org/77743
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I41023dd1fd06ca48849726d3372f74a4990c27a3
|
|
Change-Id: I502aa9e998d084a82e738c0c0c68ad634cb5c76a
|
|
Change-Id: If6f6c71f72ba9def4885ffbd74cb7814f7465f2c
|
|
Change-Id: I7de9bd97e868624476b5c39a5e37afc945206e4e
|
|
Change-Id: I18fcc81fa54362dfaa574ec04125e66b37a5aad8
|
|
Change-Id: I01d044a96eeae60a070a5ca0fc8d6105d7333414
|
|
Change-Id: I40779dfdb65037838e1a1b7bed5d89a656047ce6
|
|
Change-Id: I740995d811be030f406f9d3ff53c56d28af2b786
|
|
1) Add recursively query for the parent until find an parent with a name.
2) Remove the parent part "from xxxxxx" from the log statment if there is un-named parent
3) Update the compiler to use the most top parent if there is command with no un-named parent
Change-Id: Id7dd5092bc995312494b5536720141908e73af9a
|
|
1) Rename Tab
2) Insert Tab
Change-Id: I7a653a4b274c0c8058672c5b0aa1645bb5a51e3a
|
|
Impress:
1) Delete Slide
2) Duplicate Slide
3) Rename Slide
Draw:
1) Delte Page
2) Rename Page
Change-Id: I124bdf96c58dfe00bdb039c5e93afc0dc6e7163d
|
|
for Impress:
add new Slide
for Draw:
add new Page
Modify the UILogger System to save information about the name of the app
Change-Id: I87fd98b2a11783e3410f1c0eba633631addf389b
|
|
Change-Id: I1b77b106db181a8cadc1ff0b2a5de6ad19fe6762
|
|
1) Make small changes in the UI logger Grammar
2) Add Comments to be more documented
Change-Id: I5e68c33375870cf4a1f2537ee1a7eb997145f24f
|
|
for Calc:
1) Delete some Cells
2) Remove content from some cells
3) Insert Cells
4) Cut Cells
5) Copy Cells
6) Paste Cells
7) Merge Cells
8) Split Cell ( Delete Merge )
for Writer:
1) Insert Table
2) Copy Text
3) Cut Text
4) Paste Text
5) Inser Break Page
Also, Solve some bugs in the UI logger and UNO Commands.
Change-Id: Ic7cacbc20e1e400900a9760b61e8b45ae96c84ff
|
|
Change-Id: I39836423fad8cb361a8f007f648108618906be8a
|
|
1) init_app
2) init_Object
3) write_line_without_parameters
4) write_line_with_one_parameters
Then Rewrite the handlers again
Change-Id: I8ceb01f4eaa48f1544ada8966c7585dcbd3e15aa
|
|
1) Calc
(calc_Type_command - calc_switch_sheet - calc_Select_cell - calc_AutoFill_filter)
2) impress
(impress_Type_command)
3) math
(math_element_selector - math_Type_command)
4) General Commands Compiler:
(setZoom_command)
Change-Id: Ifd2608c38474633b579a216356fe53c859c24975
|
|
1) Type Command
2) Select Command
3) GoTo page
Change-Id: I5ee773b6cd322c2c1bf0eba58e704b2ff1399ce7
|
|
Change-Id: I08881b738b3e7922b74f9d007733278e2b6ef54e
|
|
1) ButtonUIObject
2) CheckBoxUIObject
3) TabControlUIObject
4) ComboBoxUIObject
5) RadioButtonUIObject
6) ListBoxUIObject
7) SpinFieldUIObject
8) EditUIObject
Change-Id: Ic81c2a0511351cf91f4514316b9c5854a64a4b05
|
|
1) finish the functions that will parse inputs
2) add function to initialize the UI test Case
3) add function to print the ui new test case
4) add the UNO caommands handler
5) add the Dialog commands handler
6) add the Starter commands handler
Change-Id: Ided1c050023c5284457f62c4b8d5ea1cfa38c043
|
|
Change-Id: I615989baafe65a6f6ae26fcd452c1e21081168b4
|
|
this patch for:
1) general commands grammar
2) special commands of impress and math
3) log select element action
4) log SideBar Actions
Change-Id: If375cd3396cfde45f70d7c202339c829b1c43471
|
|
Change-Id: I0bc5c4179dcb94ed2cc4a551165fd135d884a75a
|
|
Change-Id: I15fe20f1c5e8339f6d5a857b0d0bbfa30b09b44a
|
|
This patch is the first and second parts of the new DSL grammar. The
grammar of all the UIObjects , Dialogs , starter commands , All of uno
commands and Special commands for applications. example.ul shows an
example of the new syntax of the expected new logger.
Change-Id: Ib58aeab1da6627ebc464e4cb64253fd3bf91200e
|
|
Change-Id: I545154bddfd29194630d744b4aa4f5c385321531
Reviewed-on: https://gerrit.libreoffice.org/77138
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Open a dialog, close it by the given button e.g. "cancel" or "close".
If the dialog has an enabled "OK" button open the dialog again
and try to close it also using the OK button.
For every dialog a complete new document is opened to ensure test-separation,
otherwise one action could hamper the next action.
For dialogs that already have other tests a "cancel/close" test was added to
the previous test. As far as possible opening new documents was avoided in those
cases. And in some cases a simple check was added to check if the "cancel" button
does not change anything.
Simmilar tests for calc have been renamed and code dublication has been
removed by moving main part of the code to a helper file
Change-Id: I01f197cae8bc6fe0345661fe042b655f16229485
Reviewed-on: https://gerrit.libreoffice.org/75124
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
|
|
Very annoying to have the test not run if you look at its code.
Change-Id: Ied63432e0a0460ed66bad4cc53f4769810f058e8
Reviewed-on: https://gerrit.libreoffice.org/75515
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
|
|
Change-Id: I105ce2e5f4d72369b05f776624979c3e82950757
Reviewed-on: https://gerrit.libreoffice.org/75469
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
Includes:
* test_open_AutoRedactDialog_writer()
* test_add_target()
Change-Id: Ia70f4cdf01f8a69aa42d0514eecc20d2a2ada530
Reviewed-on: https://gerrit.libreoffice.org/75429
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
test to check if the background color is set in the first attempt after moving the cursor
Change-Id: I6340fe9bd128ac7e44c277427db3bca7b2b9fcfa
Reviewed-on: https://gerrit.libreoffice.org/73803
Tested-by: Jenkins
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
|
|
Change-Id: I22d556fe4719fc8e7b53c66b778f6b4196f8f024
Reviewed-on: https://gerrit.libreoffice.org/70523
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
...which often timed out for the ASan+UBSan Jenkins build, so lets hope that it
was just an issue with a too short timeout there
Change-Id: Ie50eb1cc16e9444d1392c95ef5c6d810b9e4bd17
Reviewed-on: https://gerrit.libreoffice.org/69599
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I166ac6c0be8461ea38db711796d1e14fc5b78998
Reviewed-on: https://gerrit.libreoffice.org/68889
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
re-arrange the logic so that when create_doc_in_start_center fails, we
only get one backtrace instead of two.
Change-Id: I736b56da8cfb11e8ef17b8422a19eafd70e3cd6f
Reviewed-on: https://gerrit.libreoffice.org/66415
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
So the mistake I did in commit 457acbfa304ac8bda0755c9ca8f1e1e22e490ac8
(UITest_writer_tests: split this into 4 parts, 2018-07-03) does not
happen again.
Change-Id: Ia28ed1fe9909d9c46ebe95d3a1926b0dced46140
Reviewed-on: https://gerrit.libreoffice.org/66180
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
|
|
Change-Id: I8ab8421354a296cb6382f28fd3bd40372e0665df
Reviewed-on: https://gerrit.libreoffice.org/62908
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I5e1fc327a785e892e1c2f526cce8c58fe1ab928c
Reviewed-on: https://gerrit.libreoffice.org/62413
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|