summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Fix detection of tests on OSXChristian Stenger2015-02-161-4/+17
| | | | | Change-Id: I662afadd17bd8b2f1fbc9269dc470430e871e582 Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Fix compile warningChristian Stenger2015-02-161-2/+1
| | | | | Change-Id: Ib98f444baa1c35e038921b4e25927faee64f0877 Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Fix modifyContent() to take type in account as wellChristian Stenger2015-02-161-0/+4
| | | | | Change-Id: I1a4aeb10243afc5514330fceb3f502d9ea4432d1 Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Compile fix with current qtbase/devAndré Pönitz2015-02-161-0/+1
| | | | | Change-Id: I6fdb6429e8509468b7a710414af250ea6464d92d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Refactor TestCodeParserChristian Stenger2015-02-054-290/+333
| | | | | Change-Id: I5fdb6429e8509468b7a710414af250ea6464d92d Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Avoid crash when using wrongly created test treeChristian Stenger2015-02-051-8/+11
| | | | | Change-Id: I686f0cf285daeb3889161109964efd6e9ac47a40 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Fetch current project always before accessingChristian Stenger2015-01-282-33/+24
| | | | | | | | | This fixes two different crashes when TestCodeParser tried to access m_currentProject, but the object this pointer was referencing had been deleted already. Change-Id: Ie59e027394e613a8ef1e4f32f97abed6e8cb007a Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Make sure to get output on Windows when using Qt5.4 or higherChristian Stenger2015-01-271-0/+2
| | | | | Change-Id: Id69636f5a48f5423217c47c039d4522ef42cd2a3 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Re-enable printing of NAN for execution timeChristian Stenger2015-01-211-2/+2
| | | | | Change-Id: I50bfd95808c90a30501bdf32f484dd035cc2f30b Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* fix that windows can find the fileTim Jenssen2015-01-211-1/+2
| | | | | | | added missing .exe file suffix Change-Id: I537736a95de778e0a498c37d21baf0d717eb8c4d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* introduce testxmloutputreaderTim Jenssen2015-01-214-269/+366
| | | | | Change-Id: I5a77e8fd629343bc059a03e6c27f45103b96101a Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* refactor if clauseTim Jenssen2015-01-211-11/+10
| | | | | Change-Id: I3ce6e711392f35c89dfcbecc3c8fcb8aca293602 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* refactor performTestRunTim Jenssen2015-01-211-55/+39
| | | | | | | | | | On windows we are only interested in .exe files. For example QProcess("test.cmd") does not work. renamed which to executableFilePath Change-Id: Ib9aa2d011c3d0525b618a1b0a6bd32b556c02010 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* avoid abbreviations in variable namesTim Jenssen2015-01-141-47/+47
| | | | | Change-Id: Ie9474da2a4c9c2e461bdd15e859e1a53f820a1d1 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* remove static variable testRunnerTim Jenssen2015-01-143-40/+35
| | | | | Change-Id: I07dbde221632ec0aeca758f684c8ada2c71f3969 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* merge performTestRun and performExecTim Jenssen2015-01-141-59/+52
| | | | | | | | This is a preparation for later refactoring. Also moved the get settings values outside from the threaded code. Change-Id: I0acceece4bc55a453880f4235e02a5712443b32d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* variables as complete words are betterTim Jenssen2015-01-121-21/+20
| | | | | Change-Id: If433c621466f2e1160a016d2b7b2539e4dc8b3d6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* don't pollute the Autotest namespace with an enumTim Jenssen2015-01-127-160/+162
| | | | | Change-Id: Ic6c3e3beaba15e83c8524394ccc6a1953e76d59a Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* use variable instead of anonymous "false"Tim Jenssen2015-01-091-2/+4
| | | | | Change-Id: I4ca2f7d82e70306ffae50d5eea31357e9fcfd0aa Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* fix warning that "pep" is initialized but not referencedTim Jenssen2015-01-091-4/+3
| | | | | Change-Id: I1f12323e1de481f800fcf835a12213059b72bfd4 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Avoid executing unnamed Quick Tests if no related main is executed anywayChristian Stenger2015-01-093-1/+13
| | | | | Change-Id: I521065577c195713bc252e6762a88011996f045c Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Get rid of the Locker in TestResultModel...Tim Jenssen2015-01-097-42/+35
| | | | | | | | | | ...use signals and slots instead. Additionally re-use the existing item that is displaying the "Entering Test Function..." information. Change-Id: Ibedac01ced9e987d542aa4dc878588fbec84d585 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* introduce FaultyTestResult classTim Jenssen2015-01-063-35/+35
| | | | | | Change-Id: I5f20741492dbb3d553bea30a677965d46d6d8eb3 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* no need of an pointer for settingspageTim Jenssen2015-01-061-3/+1
| | | | | | Change-Id: I55d69bac267f6f601682aeeca9eedcf944e8b55a Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* move settings getter to cppTim Jenssen2015-01-062-1/+7
| | | | | Change-Id: Iec90cfcd74192f13d270180db91db95d41253bc5 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* move create menu entries to extra functionTim Jenssen2015-01-062-10/+16
| | | | | Change-Id: Ia504e453b6cacc254ea598c629c3762c03cfa783 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* move license check to a functionTim Jenssen2015-01-062-7/+15
| | | | | Change-Id: Idcb2c328f3313dac38997765c2569d6861d34a20 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* rename TestTreeViewWidget to TestNavigationWidgetTim Jenssen2014-12-186-248/+327
| | | | | | | also move it to an extra file Change-Id: Ia76c9b3be4c11207a564e7cc7fcb2eae730ae505 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Post-pone parsing for test if CppModelManager is parsingChristian Stenger2014-12-183-2/+53
| | | | | Change-Id: I7af93eb587e55f7d6e4ee14ed9808ceeb41ed8a3 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* rename selectOrDeselectAll to changeCheckStateAllTim Jenssen2014-12-182-4/+4
| | | | | Change-Id: I78e700734e2b5ec6bad31df71419bbc1a8b1b3c8 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* rename pro file to subdirectory nameTim Jenssen2014-12-181-0/+0
| | | | | Change-Id: I7636e819f41a3fc0592a36f330f30695760cad6a Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Re-do the usage of QWriteLockerChristian Stenger2014-12-091-4/+7
| | | | | | | Only lock if necessary to avoid dead-lock situations. Change-Id: I39d1158749131a72805e55f28aba79e1827f158b Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Add special message to results paneChristian Stenger2014-12-096-6/+48
| | | | | | | | | This message just states which function actually is executed and will always be on the bottom of the list of results. When test run finishes this message will be completely removed. Change-Id: Ie8fedfc74f67eba71a2bcf55f4dc1553754fca9a Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Provide test settings and make use of themChristian Stenger2014-12-0913-13/+706
| | | | | Change-Id: Ia6fef10bc577f9722b6c063c2df4d1651a8be50d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix issue when buildQueueFinished signal is emitted too fastChristian Stenger2014-12-051-1/+1
| | | | | Change-Id: I56ba8f9d0d4abe7627f9dd0d980774dda814d456 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Add support for minimal benchmarksChristian Stenger2014-12-048-10/+78
|
* Support blacklisted test casesChristian Stenger2014-12-048-2/+37
|
* Update test tree when configuration changesChristian Stenger2014-12-044-19/+177
| | | | | This takes especially configurations in account when subprojects are enabled/disabled conditionally.
* Access test results list from multiple threads in a safe wayChristian Stenger2014-12-042-0/+18
| | | | | | This had lead to crashes when executing projects with some more tests or more test output. Now it's using a mutex to avoid concurrent access.
* Don't cancel test run if some test configurations are faultyChristian Stenger2014-12-042-2/+18
| | | | | | | | Instead just remove these from the current test run and add a respective warning to the test results pane. Additionally made a the message of having no test cases at all a warning instead of a fatal.
* Improve support for Qt Quick TestsChristian Stenger2014-12-0415-91/+353
|