Commit Graph

29 Commits

Author SHA1 Message Date
Christian Stenger
08ab1b6d76 Don't use qApp->processEvents() if not necessary
Change-Id: I2e92341530f3d79f9c0b47f2007750582db9a361
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-07-16 12:20:04 +03:00
Christian Stenger
0afd504748 Add auto-scroll feature for results pane
Change-Id: Iff209384c2bf30b3ce2b9241ce1c719a44592e65
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-17 15:06:45 +03:00
Robert Loehning
f092ad0a2e Simplify TestResultsPane::visibilityChanged
Change-Id: Ie278384bb0fe899989a01a0ad89455b11059787f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-05-29 15:02:52 +03:00
Christian Stenger
21afdf227a Fix wrong state of Run/Run All buttons
Introduced with fa28f1cb30

Change-Id: I80f5e08bcf2b630fcf7a4a77d47db6e7b7d26e50
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-05-29 14:43:43 +03:00
Robert Loehning
fa28f1cb30 Disable run buttons until tests are found
Change-Id: I418b63dbdd4a641fa02a61b792ec6dbfafe39749
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-05-18 16:25:31 +03:00
Christian Stenger
fcf8484eb2 Replace ListView by TreeView inside results pane
This removes the flickering of the view when adding too many items
in a short time frame. Additionally it is the first step towards
making the results a real tree for having a better overview and to
be able to reduce the output easier to what is wanted by the user.

Change-Id: Id515bf0f43c5037d956bdbf2818a5d6ef97c82dd
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-04-28 09:22:06 +03:00
Christian Stenger
3f506a2a36 Allow filtering of test results always
This almost reverts 8bb0340935.

Change-Id: I57ac2e1dd052ce434f7381f4d6df52ecdc68fed6
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-04-02 09:22:03 +03:00
Leena Miettinen
ae7b3e8404 Autotest: edit UI text and messages
Fix capitalization, punctuation, and grammar
issues.

Change-Id: Ie5044a1a3445ea078fe52ae20b1b4eec747e3de4
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-03-31 11:51:09 +03:00
Christian Stenger
adb40d4bd5 Fix scroll behavior of results pane
For long output it should be possible to scroll across the output
instead of scrolling itemwise and being never capable to view the
bottom of the output.

Change-Id: Ia3478932894fc0b08e10466ec987f12295e9fff5
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-03-30 11:59:23 +03:00
Tobias Hunger
01eb2ad24f Compile fix: Add missing includes
Change-Id: Ie93829eb73888646fcfd76746cd74bd7c1b09924
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-02-26 17:56:32 +02:00
Christian Stenger
7f5db66596 Fix copyright headers
Change-Id: If02fedb7c191492ddfaf2eb34e74fcdb7a007c94
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-02-19 09:13:32 +02:00
Christian Stenger
223b43e9e0 Enable and disable parser on demand
The new approach enables the parser as soon the Tests navigation
widget or the Tests results pane is visible.
If none is displayed parsing will be disabled.

This additionally fixes an issue of not parsing a project
when having a project opened already before triggering the
first Tests navigation widget to become visible.

Change-Id: I7163268d405e07e85814097d65ff34790a98a3d1
Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
2015-02-17 10:26:39 +02:00
Tim Jenssen
4297de7d4b remove static variable testRunner
Change-Id: I07dbde221632ec0aeca758f684c8ada2c71f3969
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-14 10:39:51 +02:00
Tim Jenssen
0c9531f384 don't pollute the Autotest namespace with an enum
Change-Id: Ic6c3e3beaba15e83c8524394ccc6a1953e76d59a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-12 13:42:35 +02:00
Christian Stenger
ac24550a22 Add special message to results pane
This message just states which function actually is executed and will
always be on the bottom of the list of results.
When test run finishes this message will be completely removed.

Change-Id: Ie8fedfc74f67eba71a2bcf55f4dc1553754fca9a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-09 10:33:15 +02:00
Christian Stenger
e71a2c44fc Provide test settings and make use of them
Change-Id: Ia6fef10bc577f9722b6c063c2df4d1651a8be50d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-09 10:22:48 +02:00
Christian Stenger
32a6849fae Add support for minimal benchmarks 2014-12-04 13:52:16 +01:00
Christian Stenger
d278476956 Support blacklisted test cases 2014-12-04 13:52:16 +01:00
Christian Stenger
b0c4a9cc3b Improve support for Qt Quick Tests 2014-12-04 13:52:16 +01:00
Christian Stenger
9a644d1257 Support sorting of test tree
Additionally preparation of filtering has been done.
2014-12-04 13:52:16 +01:00
Christian Stenger
85efa2c3c9 Update internal cache / test tree only if necessary 2014-12-04 13:52:16 +01:00
Christian Stenger
a2a4fe564a Cancel process when timeout is reached...
...and display fatal messages on the summary as well.
2014-12-04 13:52:15 +01:00
Christian Stenger
1145febc05 Add 'Check All Filter' action to filter menu 2014-12-04 13:52:15 +01:00
Christian Stenger
9394a43128 Add summary to results pane 2014-12-04 13:52:15 +01:00
Christian Stenger
8bb0340935 Enable filter items on availability
If there are items inside the results pane that match the filter
item filtering for these kind of results will be enabled.
2014-12-04 13:52:15 +01:00
Christian Stenger
87e5cf87e1 Enable 'Run *' buttons only if tests are available 2014-12-04 13:52:15 +01:00
Christian Stenger
431d15bd0c Add stop button and minor preparation for progress bar 2014-12-04 13:52:15 +01:00
Christian Stenger
eba497d921 Add filtering to test results 2014-12-04 13:52:15 +01:00
Christian Stenger
44db2be195 Provide basic test runner and output pane 2014-12-04 13:52:15 +01:00