summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Simplify TestResultsPane::visibilityChangedat-v3.4.2at-3.4Robert Loehning2015-05-291-6/+3
| | | | | Change-Id: Ie278384bb0fe899989a01a0ad89455b11059787f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix wrong state of Run/Run All buttonsat-v3.4.1Christian Stenger2015-05-291-0/+2
| | | | | | | Introduced with fa28f1cb303d79ff3feb1416ef0637785dade8fc Change-Id: I80f5e08bcf2b630fcf7a4a77d47db6e7b7d26e50 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
* .gitignore user setting filesRobert Loehning2015-05-201-0/+6
| | | | | Change-Id: I414032475ce1d8f76150809b1dbd3871b6e91763 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* 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>
* Fix creating auto test without guiChristian Stenger2015-05-061-2/+4
| | | | | Change-Id: Id1d0b686eda09f6fb513374c9b5337ffdd83b82a Reviewed-by: Eike Ziller <eike.ziller@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>
* Set TARGET for application to project nameat-v3.4.0-rc1Christian Stenger2015-03-301-0/+1
| | | | | Change-Id: I12ed1df61cf364c6c390f8196f2f6174fe098aee Reviewed-by: Robert Loehning <robert.loehning@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>
* Clean up pluginChristian Stenger2015-02-177-35/+8
| | | | | Change-Id: I695adb992f4d1f32f266f1628f2094e4bcc81485 Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Perform parsing asynchronously...Christian Stenger2015-02-179-71/+166
| | | | | | | | | ...to avoid blocking the ui thread. Parsing will now performed in a separate thread, except for small changes where this would create too much overhead. Change-Id: I1db441594f1684f969bb86c9423c0fb0bcb1a53a Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Enable and disable parser on demandChristian Stenger2015-02-178-29/+109
| | | | | | | | | | | | | 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>
* Rework parsing and provide unit testChristian Stenger2015-02-1738-18/+1108
| | | | | | | | | | Handling of parsing has slightly changed. The parser now uses simple states to be capable of postponing triggered parses if there is already a parsing in progress. Furthermore the parser now waits for the current project to be completely scanned. Change-Id: I6d4968d28194ba8d23d3a0ee6ab454d81a549e67 Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Fix re-parsing of tests...Christian Stenger2015-02-161-13/+13
| | | | | | | ...for code split up into header and source. Change-Id: I8f1bf01e6ff6f88afc1e054318cd384b5f231eb6 Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Decouple code parser and modelChristian Stenger2015-02-167-346/+366
| | | | | | | Additionally some minor refactorings to increase readability. Change-Id: I0be120fcedcf31dbb0116d84f0d3c23cf95e7d91 Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Fix wrong behavior for gathering test configurationChristian Stenger2015-02-161-6/+6
| | | | | | | | | | If the current project mixed named and unnamed Quick tests determing the test configuration failed due to running into the assert if you had no auto tests for the current project selected as well. Change-Id: I5c98316fada704cd7e021becab897d168a19b99b Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>