Commit Graph

11 Commits

Author SHA1 Message Date
Tobias Hunger
1daf85a722 Quieten warning by the code model
QDebug is considered a forward declared type only.

Change-Id: Icd3d544dee04d81bb7087fe6f0153949afad3f10
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-10-09 15:43:40 +03: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
eeccdfbd54 Fix getting source file name on OSX
If the current executable is an app bundle the source file
location is given as relative path from the app bundles location
instead of the "real" executable somewhere inside the app bundle.

Change-Id: I37ad2daae5a7ebde65c0e76a8a9a7837401bc749
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-06-09 07:43:51 +03:00
Christian Stenger
4fb458c9e7 Fix parsing of encoded xml attributes
If an xml attribute contains an entity parsing it failed due to
missing decoding. This patch decodes entities holding (hexa-)decimal
entities.
This is especially necessary for files (or paths) containing some
special characters that might end up encoded inside the output that
would be generated by running the tests.

Change-Id: I4f3b9f9edc59ff1433b92ed4ce1933eaf29ffe74
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-04-10 14:58:42 +03:00
David Schulz
97a8806417 Don't reset class name for empty lines.
Change-Id: Ib8ae9244bb282a10f1696de8f82469474fb0498d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-10 13:52:20 +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
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
41208f66aa Re-enable printing of NAN for execution time
Change-Id: I50bfd95808c90a30501bdf32f484dd035cc2f30b
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-01-21 14:48:01 +02:00
Tim Jenssen
295ad02f7e introduce testxmloutputreader
Change-Id: I5a77e8fd629343bc059a03e6c27f45103b96101a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-21 09:25:51 +02:00