summaryrefslogtreecommitdiff
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Handle squishrunner quickly returningwip/at-squishRobert Loehning2015-06-193-3/+11
| | | | | Change-Id: Idc77d3fc5defd46e912b4ab0cdc4e82214ec75e9 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Parse Squish's XML output and put it on results paneChristian Stenger2015-06-1214-17/+534
| | | | | | Change-Id: I5206a30f11b96bd0ab1a3a360b8f5e8fec0fe5f1 Reviewed-by: Riitta-Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
* Provide some interaction with squish related toolsChristian Stenger2015-06-0911-16/+945
| | | | | | | | | | | | This patch provides a rudimentary way to interact with squishserver and squishrunner. It allows to a run single test case or several test cases of a single suite. The results will be actually stored already in their respective results.xml files. Change-Id: I7983584e40dc6b0ef4dacff2c72559b7408c6433 Reviewed-by: Riitta-Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
* Merge branch '3.4' into wip/squishRobert Loehning2015-05-193-8/+20
|\ | | | | | | Change-Id: Iee6bcc93f49d504d9ea531038c669f4f59d3feba
| * Avoid null pointer accessChristian Stenger2015-05-191-1/+2
| | | | | | | | | | Change-Id: Ie6f64a97d1d97efaa1e1f3ea784a119981159e62 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
| * Detect special functions for Quick TestsChristian Stenger2015-05-191-7/+16
| | | | | | | | | | | | | | | | Quick Tests are capable of having benchmarks, data driven tests and special functions (init/cleanup/...) as well. Change-Id: Ieb9b6b1f842f1211a9d3192b486f789c987fa27b Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
| * Disable run buttons until tests are foundRobert Loehning2015-05-181-0/+2
| | | | | | | | | | Change-Id: I418b63dbdd4a641fa02a61b792ec6dbfafe39749 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* | Add further settings for SquishRobert Loehning2015-05-185-21/+136
| | | | | | | | | | Change-Id: I9b297a8c7fdf3634676bd84479f2b6fd210e0d3f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* | Add capability of having additional columns...Christian Stenger2015-05-1810-4/+151
| | | | | | | | | | | | | | | | | | | | ...inside the test tree. This adds an icon for running a suite or test case, opening the objects.map or recording a test case. Clicking on these icons actually does nothing except emitting respective signals. Change-Id: I5ddc76691986b71d61385856777b0c26ba9494b2 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
* | Add basic 'Close Test Suite' functionalityRobert Loehning2015-05-134-0/+41
| | | | | | | | | | Change-Id: I1e0a6d51d170ff186ac0ad50a62a35de83964160 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
* | Add PathChooser for path to Squish in OptionsRobert Loehning2015-05-114-1/+52
| | | | | | | | | | Change-Id: Iac7efa859f80cf78760f78e5b04eb8dea0e94750 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* | Add settings page for Squish testsRobert Loehning2015-05-1115-14/+293
| | | | | | | | | | Change-Id: I665b0d33c6da415578ec8f145926e4a770b64916 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* | Use previous path for browsing suitesRobert Loehning2015-05-081-1/+6
| | | | | | | | | | Change-Id: Ie643c6c96753471078c408a59e7e01c973fa28a1 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* | Provide 'Open Squish Suites' functionalityChristian Stenger2015-05-0812-3/+612
| | | | | | | | | | Change-Id: I27ebfed76e2e4dac80751faf69c87f27bb455d21 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
* | Enhance test tree to be able to support Squish testsChristian Stenger2015-05-066-9/+142
|/ | | | | | Change-Id: I93fec9ee1a413fe02fb19475a44644578b842c88 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Replace ListView by TreeView inside results paneChristian Stenger2015-04-283-20/+25
| | | | | | | | | | 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>
* Fix plugin unit testat-v3.4.0Christian Stenger2015-04-161-1/+4
| | | | | | | | | | | Since d43a36c8167a37903f70b49b67ec39efa0ba086e the code parser could have been internally triggered already while still evaluating the project. This made the parser trigger a parsingFinished() already for a parse where not the full project had been available inside the code model which made the plugin unit test fail. Change-Id: I6cc787c24205cb82c6c2636f79bd0acc5c778c64 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix enabling and disabling test code parserChristian Stenger2015-04-162-1/+4
| | | | | Change-Id: If03752aaf3db36929e5e9d1b468e691e4dab1b96 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Do not allow triggering multiple test runs at onceChristian Stenger2015-04-161-7/+16
| | | | | | | | | | | This was possible as triggering further test runs could happen while the current test run was still building the project. Additionally it's now possible to stop the build process (if any) by hitting the Stop button of the test results pane as this is part of the test run. Change-Id: I38940b5b8f4ba9e373785921c04cbceaeb2e5acf Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix state handling of parser...Christian Stenger2015-04-162-8/+15
| | | | | | | | | | ...and enable/disable respective menu items accordingly. Now it should be impossible to trigger more than one parse at a time or setting a state and invalidating a state with higher priority. Change-Id: I0bcbeca6626209918e0a74b0bd2722583fc47bb3 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Use only active target for guessing run environmentChristian Stenger2015-04-141-22/+10
| | | | | Change-Id: Id7f9f299a22dabd350ac1e8279500cf1054210f8 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Add wizard install step when building with qbsChristian Stenger2015-04-101-0/+11
| | | | | Change-Id: I83249c99b7a70b6dbb6909446dbe9c7e89b163fc Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Disable context menu entries while parsingChristian Stenger2015-04-102-1/+3
| | | | | Change-Id: Ib562ed00065fedd94fdaed0edb11b0fa62a18de5 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix parsing of encoded xml attributesChristian Stenger2015-04-101-2/+21
| | | | | | | | | | | | 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>
* Don't reset class name for empty lines.David Schulz2015-04-101-3/+3
| | | | | Change-Id: Ib8ae9244bb282a10f1696de8f82469474fb0498d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Limit result output by defaultChristian Stenger2015-04-105-4/+40
| | | | | | | | | | | 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>
* Fix initialization order...Christian Stenger2015-04-101-1/+1
| | | | | | | ...to avoid accessing uninitialized members. Change-Id: I5d174d2b6f351dc5189a65c1639b0f284a1fd52d Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Trigger parse when project parts have been updatedChristian Stenger2015-04-093-0/+10
| | | | | Change-Id: I8b81bd91671b3d855c617c63185baa2951a55e6e Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Change ui string to avoid confused usersChristian Stenger2015-04-081-1/+1
| | | | | Change-Id: I431de718d01e454bb55216afd5d0ca792fa69677 Reviewed-by: Riitta-Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Allow filtering of test results alwaysChristian Stenger2015-04-024-21/+6
| | | | | | | This almost reverts 8bb03409353be640a18b58dd80e1bb67f96f13fe. Change-Id: I57ac2e1dd052ce434f7381f4d6df52ecdc68fed6 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Autotest: edit UI text and messagesLeena Miettinen2015-03-316-35/+34
| | | | | | | | Fix capitalization, punctuation, and grammar issues. Change-Id: Ie5044a1a3445ea078fe52ae20b1b4eec747e3de4 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Add shortcuts to Run Tests optionsChristian Stenger2015-03-305-32/+60
| | | | | | Change-Id: Ia738420baeb51940865c59b66908068c85d658c1 Reviewed-by: Riitta-Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix parser state handling...Christian Stenger2015-03-301-0/+9
| | | | | | | | ...especially state transitions that may happen while project files are evaluated or source files are parsed. Change-Id: Iceef38500b6d6a4deb430738e5e960077f8eb39a Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix results output for long outputChristian Stenger2015-03-301-23/+15
| | | | | | | | | | | | 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>
* Fix scroll behavior of results paneChristian Stenger2015-03-301-0/+1
| | | | | | | | | 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>
* Fix unexpected parser state when parsing finishesChristian Stenger2015-03-091-1/+4
| | | | | | | | | | | While parsing test code it might happen that the user closes all related widgets and so the parser falls into the state Disabled. This was unexpected and did print a warning. Now this case is somewhat expected and won't print a warning anymore. Change-Id: I0082bdc31f6ed351cf1dbd7b34da2f5672aee3dd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Move variable declaration into using blockat-v3.4.0-beta1Christian Stenger2015-03-031-1/+1
| | | | | Change-Id: Ibf5f5fd825b7beb2bb6b607c8b822b4dfeebfda5 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix removing unnamed quick tests...Christian Stenger2015-03-033-15/+12
| | | | | | | | | ...this was wrong especially when closing (the last) open project that contained unnamed quick tests. Change-Id: I6d030b6219d9f397a6ffb51a985ef4147eebec8a Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix possible null-pointer accessChristian Stenger2015-03-031-0/+2
| | | | | Change-Id: I609828b4656c00c1c358759f0c844ecb23157b8b Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix names of local variablesChristian Stenger2015-02-271-3/+3
| | | | | Change-Id: I853ad97ff54d28714263f1431838dbe8d71f2fe2 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* Fix camel-case of *postponed*Christian Stenger2015-02-272-50/+50
| | | | | Change-Id: Ie00c35bceba3b772f68e2d9b665af8427a105433 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* Remove useless memberChristian Stenger2015-02-272-9/+7
| | | | | | | | | No need to have another member variable for almost the same functionality. Consolidated where necessary. Change-Id: Iefaa410fea527f88b18b406199a449fc9e4d0533 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Improve handling of disabled parser and re-enabling parserChristian Stenger2015-02-274-43/+36
| | | | | | | | | | | Instead of always parsing again when re-enabling parser do it only if there are changes of the current project. If the current project has not changed since last parsing just rely on the cached information. Change-Id: I7681318132f37172730648604ddbecf1cd37d177 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Compile fix: Add missing includesTobias Hunger2015-02-263-0/+6
| | | | | Change-Id: Ie93829eb73888646fcfd76746cd74bd7c1b09924 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Fix copyright headersChristian Stenger2015-02-1953-212/+264
| | | | | Change-Id: If02fedb7c191492ddfaf2eb34e74fcdb7a007c94 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Add qbs project file.Christian Kandeler2015-02-181-0/+80
| | | | | Change-Id: I36368fa8c5478bc688819ea23152f8272ff5cfa9 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix include type.Christian Kandeler2015-02-181-1/+1
| | | | | Change-Id: Ibf9e205c3b2faf46216043c9061209cb29c13b04 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix compileChristian Stenger2015-02-181-1/+1
| | | | | Change-Id: I98c609dde6a48628561beca969ccd108361758dc Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Display progress indicator on navigation view...Christian Stenger2015-02-184-1/+40
| | | | | | | ...if parsing takes longer. Change-Id: Ib311c031ae0af72b2f923d93578099687d9af91a Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Try to guess run configuration if none is explicitly setChristian Stenger2015-02-178-230/+309
| | | | | | | | Additionally provide a setting to not display warnings regarding using a guessed run configuration. Change-Id: Ia7647f55e5085ffc84044281c5107770cd30d504 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>