summaryrefslogtreecommitdiff
path: root/uitest/test_main.py
AgeCommit message (Collapse)Author
2019-11-18Fix 'is' operator for comparisonJens Carl
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>
2019-07-15uitest: don't complain about the silly VIM swap filesMichael Stahl
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>
2019-01-14uitest: fail early in case a test file would be ignoredMiklos Vajna
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>
2018-07-10uitests - error if UITEST_TEST_NAME not set to anything usefulNoel Grandin
so the next poor sod who doesn't understand the instructions doesn't waste time with the wrong way of specifying the tests Change-Id: I9759c7f792ec80d660f70f79dc6e2589d44e360f Reviewed-on: https://gerrit.libreoffice.org/57177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-06uitest: improve conditional test suppression to limit by class and by functionMiklos Vajna
Example: make UITest_writerperfect_epubexport UITEST_TEST_NAME="epubexport.EPUBExportTest.testUIComponent" Change-Id: I7960a71574d8d3d9cb06399813c7370700579c3d Reviewed-on: https://gerrit.libreoffice.org/49246 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-12-02provide a way to limit the UI tests through envMarkus Mohrhard
Change-Id: If0af462f20f3541a183e00732944b0650d94639d Reviewed-on: https://gerrit.libreoffice.org/31512 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-10-26normalize existing emacs/vim mode-lines in python filesMichael Stahl
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
2016-10-11make it easier to read the logsMarkus Mohrhard
Not yet perfect but already better. Change-Id: I5309947333aa2cce6526335b603ef316226e490c
2016-07-10uitest: support the gdb param also in the uitest runnerMarkus Mohrhard
Change-Id: I86833d9fdf42199480f1d448c56e63ff22d4923e
2016-06-26uitest: add a way to have sleeps in some test runsMarkus Mohrhard
Now adding a -d or --debug to the command line options will enable the sleeps in the uitest.debug part. This makes it much easier to debug a test in the visual mode. Only remaining part is now to add a test runner into the build system that makes use of that mode. Change-Id: I03d55b10f06dd12a63a8d87c135967901bef0fba
2016-06-26uitest: bring some order into the file messMarkus Mohrhard
The uitest/uitest directory will be used for the actual uitest framework. The libreoffice directory should contain any common LibreOffice related code. Change-Id: I3f6394ff4be83b89a8764eab10a154e755237d35
2016-06-25uitest: add a mode to just run one fileMarkus Mohrhard
Change-Id: I99906dfc34ebcb7ab0ce76ca446435ae0902443f
2016-06-24uitest: also print number of skipped testsMarkus Mohrhard
Change-Id: I7fbc6513358be252b091154b5ed44d10c8f51c4f
2016-06-23uitest: improve the message of the ui test runnerMarkus Mohrhard
Change-Id: I5026590506b4ddf3db95fb14fe6b0890255a5a25
2016-06-22uitest: remove debug print statementsMarkus Mohrhard
Change-Id: I7dc68ef48a69f4878a20e6cb1dd3203dfc3097fd
2016-06-22uitest: start the switch to python's unittestMarkus Mohrhard
Change-Id: Ic6e0d99a567b7080928accb61ed036b1c25ec7ff