summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Squish: Move simpleFileName() into shared scriptChristian Stenger2013-05-295-12/+3
| | | | | Change-Id: I359af17fcbc67149fab4e291142523b436a43832 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* Squish: Improve changePermission()Christian Stenger2013-05-291-2/+8
| | | | | Change-Id: I3ce1691afc2fad3949d216dee37b06a33e40f6f1 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* Squish: Fix tst_modify_readonlyChristian Stenger2013-05-282-44/+31
| | | | | Change-Id: I31b7624ecab6d2d03c5ec6bd36e790a222c1deaa Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* Squish: Updated handleDebuggerWarnings()Robert Loehning2013-05-282-9/+11
| | | | | Change-Id: Id5129e6797b945c16ecafad92f0d00bd0edeb3cd Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* C++: fix used template function parametersPrzemyslaw Gorszkowski2013-05-241-0/+27
| | | | | | | | | | | It was missing colorizing and follow symbol template function parameters in case of: * returning value * use it as qualified name Task-number: QTCREATORBUG-6861 Change-Id: I4226199e1f296cfe5a373783ebbc633e32fc9bcd Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* Remove Nokia leftoversOrgad Shaneh2013-05-242-4/+0
| | | | | | | | | Mostly internal mimetypes Change-Id: Ia84206f1334c1f83474cbc307e848719bb98adbc Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* C++: instantiate template functionsPrzemyslaw Gorszkowski2013-05-241-1/+0
| | | | | | | Task-number: QTCREATORBUG-9170 Change-Id: I4cac9124558c1d4f0722192246f3fbeea61d3d7d Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* C++: Fix crash for nameless using declarationNikolai Kosjar2013-05-241-0/+74
| | | | | | Task-number: QTCREATORBUG-9323 Change-Id: I52dfe8c03da14fc08723c3878fec0f6e9150152c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* Squish: Fix strange infinite waitFor()Christian Stenger2013-05-231-1/+1
| | | | | | | | This caused WELP02 to wait forever on one testing machine although running fine on local and other testing machines. Change-Id: Ie66c3197f63f6f3224993107d039b0cf4b817483 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* Squish: Added test for session handlingChristian Stenger2013-05-233-1/+150
| | | | | Change-Id: Ie177c4f86bb09e14c26babf63127d48871c09cfb Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* Squish: Clean up before and after Qml debuggingChristian Stenger2013-05-233-0/+25
| | | | | Change-Id: I592842964984b51669b773a9af1fdd81df032f7b Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* C++: Fix 'already seen files' when indexingNikolai Kosjar2013-05-233-0/+97
| | | | | | | | | | | | | | | | | | Resetting the environment (after each *.cpp file) did not clear the already seen files (m_included). Because of that the succeeding header files were not parsed correctly - the environments of the mistakenly already seen header files were not merged in. Note that this change slow downs the parsing/indexing of files to its original speed, as it was before the problematic commit (and it is in 2.7): commit 82e347095c4bdb7a6419d28798639e60591e3992 C++: Untangle include file resolving from loading. Task-number: QTCREATORBUG-9205 Change-Id: Iea57b7c59ea04a3c8843fd1291f4c375382958fc Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* Merge remote-tracking branch 'origin/2.7' into 2.8Eike Ziller2013-05-2370-1/+2027
|\
| * Squish: Correct shebang locationsChristian Stenger2013-05-163-6/+2
| | | | | | | | | | | | Change-Id: I5af2abaff10dc4095d6cf35350068ca08742b6ab Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Added copyright headersRobert Loehning2013-05-1570-0/+2030
| | | | | | | | | | Change-Id: Icdf2f31f73e8b6eed75954ad31d12d48e00109b5 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* | Debugger: Show Qt version and dumper dir in failed autotestshjk2013-05-221-2/+7
| | | | | | | | | | Change-Id: I7520278266717e854dbb136a140381791f483c0c Reviewed-by: hjk <hjk121@nokiamail.com>
* | Squish: Updated createNewQmlExtension()Robert Loehning2013-05-171-1/+1
| | | | | | | | | | Change-Id: I4739794a78fee1c347e2b63f46883f161140d360 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* | Squish: Updated hook_utilsRobert Loehning2013-05-172-5/+4
| | | | | | | | | | Change-Id: I7d2f43a9283f5b8a3edff4888a6b8c3eac076038 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* | Debugger: Make dumper tests startable with LLDBhjk2013-05-161-10/+3
| | | | | | | | | | Change-Id: Iaf6cf18c47b21cf196b641c44fc2475d4f382ba2 Reviewed-by: hjk <hjk121@nokiamail.com>
* | Debugger: Use different environment variable to override in testhjk2013-05-161-1/+2
| | | | | | | | | | | | | | Makes debugging debugger tests easier. Change-Id: I394862dabfd4f3577b01045b94419b4028ca15ba Reviewed-by: hjk <hjk121@nokiamail.com>
* | C++: Fix unused field warnings in test.Erik Verbruggen2013-05-151-0/+2
| | | | | | | | | | Change-Id: I898668a91eb7d3fa18c0a8d3e7e7507f0fb5a917 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* | Squish: Remove workaroundRobert Loehning2013-05-151-4/+0
| | | | | | | | | | Change-Id: I8c42ae2d67a2eac292c4c1ca4de75ec59b060ec3 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* | Debugger: Start using the LLDB script approach in auto testhjk2013-05-151-11/+23
| | | | | | | | | | | | | | Currently non-functional on Linux as break-on-function + up crashes LLDB Change-Id: Id573dc2ace319d986493dbc637fb73092ed26284 Reviewed-by: hjk <hjk121@nokiamail.com>
* | Debugger: Remove plugin dependency from dumper autotesthjk2013-05-152-6/+99
| | | | | | | | | | Change-Id: Id6d3cf6299af53cbf6910f545dee3820e90a7746 Reviewed-by: hjk <hjk121@nokiamail.com>
* | Merge branch '2.7'Oswald Buddenhagen2013-05-158-26/+25
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/qtquick/qtquick-components.qdoc doc/src/qtquick/qtquick-designer.qdoc qtcreator.pri qtcreator.qbs src/plugins/cppeditor/cppinsertdecldef.cpp src/plugins/qnx/qnxruncontrolfactory.cpp Change-Id: I0a37a07c42719bc0d9ef5b3ac4641d01a63c0d88
| * Squish: Prepare re-usage of batch editing...Christian Stenger2013-05-152-11/+17
| | | | | | | | | | | | | | ...of the environment variables for the next run. Change-Id: Iaf383dfa361971c75be0e180d72ab95c5df83ebe Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Corrected verifyBuildAndRun()Robert Loehning2013-05-071-1/+1
| | | | | | | | | | | | | | ...to deal with the behavior described in QTCREATORBUG-9212 Change-Id: Ic69098be5a09fe6aa85c40218483c2d679584ab3 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
| * Squish: Stabilize invoking context menu items on MacChristian Stenger2013-05-061-0/+2
| | | | | | | | | | Change-Id: I64ed356b6120c38d51c646ae409bbbc3a4fe9e8e Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Added timeout for waitFor()Christian Stenger2013-05-061-2/+2
| | | | | | | | | | Change-Id: I9d15d03c9b289f41830a57ed659264a324338cc6 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Use readFile() if possibleChristian Stenger2013-05-062-11/+2
| | | | | | | | | | Change-Id: Ia850e624f24dd57589d7276af22aef1498c3c799 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * C++: Fix crash in code completion.Erik Verbruggen2013-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | Caused by a dangling pointer of a template instantiation which had been cloned into the wrong control. The fix is to remove that control and refer to the control of the bindings (which is the correct one). Change-Id: I951a60f2e613aae1e4ac901ce99c820212018709 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* | Squish: Updated progressBarWait()Robert Loehning2013-05-152-2/+3
| | | | | | | | | | Change-Id: I81381dba6b0653a550a7362743939e7b943a9f00 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* | Debugger: Make some helper header stand-alonehjk2013-05-141-3/+5
| | | | | | | | | | | | | | Include <QtGlobal> to get access to QT_VERSION. Change-Id: Id1e6b108e9b2e98015c434796bef37262e4da126 Reviewed-by: hjk <hjk121@nokiamail.com>
* | Debugger: Fix autotestshjk2013-05-141-1/+1
| | | | | | | | | | Change-Id: I8eda5a5c4db7f198a51cb09293abedd1edcfb664 Reviewed-by: hjk <hjk121@nokiamail.com>
* | Debugger: Make manual test more flexible for SSE typeshjk2013-05-141-2/+7
| | | | | | | | | | Change-Id: I12346d0aa29d7ad7e3c54ff6ba5e2d405c1fdaa8 Reviewed-by: hjk <hjk121@nokiamail.com>
* | Debugger: Fix auto test build breakagehjk2013-05-081-3/+3
| | | | | | | | | | Change-Id: I836ba236d96725865d16bcb6f998846e685eb4bf Reviewed-by: hjk <hjk121@nokiamail.com>
* | Debugger: Add a convenience function GdbMi::toInt()hjk2013-05-071-1/+1
| | | | | | | | | | | | | | Saves some line noise on the user side. Change-Id: I9c6d7542195fc7485ac4ee466cd42a28be95b8da Reviewed-by: David Schulz <david.schulz@digia.com>
* | Debugger: Replace GdbMi::findChild() with an operator[]hjk2013-05-061-3/+3
| | | | | | | | | | | | | | Less noise. Change-Id: I8e533c97207ff5b9c79182c4fb99993f1992154f Reviewed-by: David Schulz <david.schulz@digia.com>
* | Merge remote-tracking branch 'origin/2.7'Eike Ziller2013-05-0311-20/+16
|\ \ | |/ | | | | | | | | | | Conflicts: share/qtcreator/qml/qmlpuppet/qml2puppet/instances/objectnodeinstance.cpp Change-Id: I7f319154d5865c47ccfd5f525f0fd7983733dd0e
| * Squish: Using progressBarWait() instead of waitForSignal()Robert Loehning2013-05-0211-20/+16
| | | | | | | | | | Change-Id: Ia87569c080f3b54dd8f78b023408de76eb3c574c Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* | C++: fix highlighting type when there is using Namespace::ClassPrzemyslaw Gorszkowski2013-05-022-0/+211
| | | | | | | | | | | | | | | | | | If type is not found we try to find 'using' declaration for this type. Task-number: QTCREATORBUG-7903 Change-Id: I569db9e1a8504a5da3115ebbed2e823d5924f6ca Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* | Merge remote-tracking branch 'origin/2.7'Eike Ziller2013-04-3016-65/+166
|\ \ | |/ | | | | | | | | | | Conflicts: src/plugins/qmldesigner/components/formeditor/abstractcustomtool.cpp Change-Id: I4e0a85795e7f4bfcdc21d106517517b527f85104
| * C++: fix handling of empty va_args macro arguments.Francois Ferrand2013-04-291-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Preprocessor did not correctly handle when variadic macro arguments were not provided at all, if there were other arguments: macro was not expanded in case only the non variadic arguments were given. #define MACRO(...) used to work fine for 0 or more arguments. #define MACRO(ARG0, ...) used to work only for 2 or more arguments, now fixed. Change-Id: I64e9199ceccae05618a49931c2adad8e4f9471ba Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
| * Squish: Fix script for multiline stringsChristian Stenger2013-04-261-4/+26
| | | | | | | | | | | | | | | | | | If object names are scattered across multiple lines the script failed to get the whole object name and failed therefore. This patch corrects this behavior. Change-Id: Ia97e2577162b77ae1b72fdd51dda4c74c59abe25 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Added test for renaming filesRobert Loehning2013-04-255-7/+87
| | | | | | | | | | | | Task-number: QTCREATORBUG-8335 Change-Id: Ie9ca9018194c955f099b7d99ab46ba26303e354d Reviewed-by: Christian Stenger <christian.stenger@digia.com>
| * Squish: Changed handling of workaroundsChristian Stenger2013-04-257-20/+22
| | | | | | | | | | | | | | | | | | | | If a bug is closed for master but still valid for the current working branch the workaround won't be executed if started with performWorkaroundIfStillOpen(). This leads to wrong results. The new approach is less automatic but more error-proof. Change-Id: If33c920be08e33c0fb2ccc4faec4ae8ff0d0f95d Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Cleanup workarounds.pyChristian Stenger2013-04-241-10/+3
| | | | | | | | | | Change-Id: Ibbdae1c85d49122928fda97ea5f3d83245eab7ed Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Cleanup workarounds.pyChristian Stenger2013-04-231-18/+8
| | | | | | | | | | | | | | | | * removed fetching status * improved output for closed bugs Change-Id: Ice0256f75571c6c44e9878447d3821247f5ded4f Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Add Run button to objects.mapChristian Stenger2013-04-233-4/+4
| | | | | | | | | | Change-Id: I506a030714a46a1ca3610b18daf296deaa6bfcc2 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
| * Squish: Cleanup tst_simple_debugChristian Stenger2013-04-231-3/+0
| | | | | | | | | | Change-Id: Ie74b0dd42d14e594e436408e39db20554904b84e Reviewed-by: Robert Loehning <robert.loehning@digia.com>