Commit Graph

17 Commits

Author SHA1 Message Date
Christian Stenger
54d753574e Move TestType enum into constants...
...to avoid defining the enum in several places although almost
having the same meaning.
Additionally rename the values to ensure not to run in a name
clash at some point.

Change-Id: I0f23041b785c87efd3e7feebef855042595473f6
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2016-01-13 13:51:33 +00:00
Christian Stenger
c8c79c409f Make test result distinguishable more easily
This additionally fixes the output of the gtest related test cases.

Change-Id: Ia9e19604ffe387752b08db4a4ad9a9e255d210a3
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2016-01-13 10:10:52 +00:00
Christian Stenger
fb7ceae64b Use Qt style for enums
Change-Id: I10c1379dea467f10214772168f4c1ec3134a99ee
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-12-14 08:46:09 +00:00
Christian Stenger
274d095f46 Use QC's TreeModel for TestResultModel
This changes the model to be a real tree instead of a list.
Additionally the results pane now displays the results as
tree as well.

Change-Id: I69ba7bbfcd75ce17c3a0d4052498d9c1c7382d43
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-10-02 10:42:11 +03:00
Christian Stenger
e092c5b51d Move duplicate code into function
Change-Id: I48e3187acb53159c16c7884a96ebdb831571b830
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-09-04 15:34:37 +03:00
Christian Stenger
71d5142fcc Cache some information to speed up handling of large output
Change-Id: I93c37566af029028dc40e5eb48a398eb9c7fff7c
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-09-04 15:34:20 +03:00
Christian Stenger
cc4ecb36a8 Remove unused code
Change-Id: If90c6f9f1a33242ef2a33447cf4cff0b706bc0ea
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-08-19 13:32:39 +03:00
Christian Stenger
a133256e37 Fix display of benchmark results
The '-' could have been misinterpreted as sign of the value following it.

Change-Id: Ia308cca93f81e7fa026485e9cda3fcc433696a35
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-06-24 16:40:45 +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
475c6cea1e Limit result output by default
For huge amount of output the processing takes much too long
and blocks QC. So, limiting it to a reasonable value seems
appropriate. Additionally provide a setting to be still able
to get the full output if you need to.

Change-Id: I811d69be33c77830049f64fcf291681f05011966
Reviewed-by: Riitta-Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-04-10 10:41:02 +03:00
Christian Stenger
d0de2fdbbc Fix results output for long output
For non-selected output use elided text if necessary and
for selected add additional line breaks to make sure the
text fits into the width of the output area.

Additionally removed different style of lines coming after
the first one as it does not make sense at all.

Change-Id: Ifdd8cb076151ce3e0d895c702921d8f4d2a2b15a
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-03-30 12:21:34 +03: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
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
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
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