Commit Graph

12 Commits

Author SHA1 Message Date
Christian Stenger
7c06e4b768 Be more generic regarding supported project types
This removes the hard dependency on QmakeProjectManager.
Furthermore now unneeded code is removed and some parts
of the parsing are slightly modified to support other
project types than qmake based projects.

Change-Id: I1c23056d5a444ddea857e10fdb71264eb6ecc269
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-08-06 14:53:45 +03:00
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
e9b2840327 Provide 'Run This Test' context menu entry
This menu entry will be added only if current selected test (function)
is not an unnamed Quick Test. Otherwise it's now possible to execute
a particular test case or just a single test function by using the
context menu. This avoids the need of (de)selecting inside the model.

Change-Id: I857a3ffe72c72a9dbb06e948045cfe2c7843935d
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-24 16:40:34 +03:00
Christian Stenger
f1b240d004 Disable context menu entries while parsing
Change-Id: Ib562ed00065fedd94fdaed0edb11b0fa62a18de5
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-04-10 16:24:57 +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
9167738179 Add shortcuts to Run Tests options
Change-Id: Ia738420baeb51940865c59b66908068c85d658c1
Reviewed-by: Riitta-Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-03-30 14:52:48 +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
e3f4ca4185 Fix compile
Change-Id: I98c609dde6a48628561beca969ccd108361758dc
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-02-18 09:31:44 +02:00
Christian Stenger
0a7b2b76cb Display progress indicator on navigation view...
...if parsing takes longer.

Change-Id: Ib311c031ae0af72b2f923d93578099687d9af91a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-02-18 09:23:02 +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
6a4afc7d5f rename TestTreeViewWidget to TestNavigationWidget
also move it to an extra file

Change-Id: Ia76c9b3be4c11207a564e7cc7fcb2eae730ae505
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-18 18:32:50 +02:00