Commit Graph

16 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
23bdcf77b6 Use QXmlStreamReader to parse test run output
Using the QXmlStreamReader will be easier to extend current
functionality and should be more robust than parsing on our own.

Change-Id: I9e1df7083a1af7681987f3971550e19a35b29df9
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-10-09 09:31:51 +03:00
Christian Stenger
17fbe92100 Simplify conversion from/to Result::Type
Additionally rename enum value UNKNOWN to INVALID.

Change-Id: I08dc4e371afb576db10716eda00ff6368f9d2311
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-10-08 17:32:48 +03: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
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
aba302ddef Fix compile warning
Change-Id: Ib98f444baa1c35e038921b4e25927faee64f0877
Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
2015-02-16 14:30:43 +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
Tim Jenssen
be4c06fdaf introduce FaultyTestResult class
Change-Id: I5f20741492dbb3d553bea30a677965d46d6d8eb3
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-06 17:08:38 +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
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
036c648650 Don't cancel test run if some test configurations are faulty
Instead just remove these from the current test run and add a
respective warning to the test results pane.

Additionally made a the message of having no test cases at all
a warning instead of a fatal.
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
44db2be195 Provide basic test runner and output pane 2014-12-04 13:52:15 +01:00