summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix getSelectedTests() for Quick Tests having special functionsat-v3.5.1at-3.5Christian Stenger2015-08-241-0/+2
| | | | | | | | | Quick Tests with special functions (init(), cleanup(),...) must not try to execute these functions explicitly. Change-Id: Ia9a4e9c2788110bb61a70796b0e3a4b9b2091a49 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Preferences: Options page needs unique IDat-v3.5.0Robert Loehning2015-08-101-1/+1
| | | | | | Task-number: QTCREATORBUG-14742 Change-Id: I81f21ac5ccd4d0d2e5775e7d816bfd91ef927e84 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix deployment when using build scripts againat-v3.5.0-rc1Christian Stenger2015-07-231-2/+4
| | | | | Change-Id: If4180b1f79c51bdf38ac99e5eb9acebb3b3342bc Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix deployment of wizards on OSX when using build scriptsChristian Stenger2015-07-221-1/+4
| | | | | Change-Id: I9e1c223173c0a4e0f77d2c7642cf2d81010c1ff1 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix deployment of wizards on OSXChristian Stenger2015-07-1710-5/+7
| | | | | | Task-number: QTCREATORBUG-14490 Change-Id: I41d214f96ce60b2e268585b1b740f47915b0d3df Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Don't use qApp->processEvents() if not necessaryChristian Stenger2015-07-165-40/+37
| | | | | Change-Id: I2e92341530f3d79f9c0b47f2007750582db9a361 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* qbs build: Soft dependency on LicenseChecker.at-v3.5.0-beta1Christian Kandeler2015-06-261-2/+1
| | | | | Change-Id: Ibb1f4ee5996306fe24df72b0cf16d5652a76bc57 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Make licensechecker dependency optionalKai Koehne2015-06-253-3/+9
| | | | | Change-Id: Ia353ef7065dbd7dd3ff1f3a9293613cf7f14ce37 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Fix display of benchmark resultsChristian Stenger2015-06-241-1/+1
| | | | | | | The '-' could have been misinterpreted as sign of the value following it. Change-Id: Ia308cca93f81e7fa026485e9cda3fcc433696a35 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Provide 'Run This Test' context menu entryChristian Stenger2015-06-244-1/+99
| | | | | | | | | | | 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>
* Fix getting test configuration informationChristian Stenger2015-06-244-133/+155
| | | | | | | | | This was especially wrong if the information is not available before building the project. Now the information will be fetched after a possible automatic build had been done. Change-Id: If92bc714039733700885820648471e355199079d Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Add auto-scroll feature for results paneChristian Stenger2015-06-176-264/+256
| | | | | | Change-Id: Iff209384c2bf30b3ce2b9241ce1c719a44592e65 Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix getting source file name on OSXChristian Stenger2015-06-091-2/+17
| | | | | | | | | 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>
* 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>