Commit Graph

6686 Commits

Author SHA1 Message Date
hjk
dc67ea9292 debugger: add pretty printer for std::shared_ptr
... and polish the std::unique_ptr dumper.

Change-Id: Icbfb7241ae535e833dd983921da6e16fdb2225db
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-28 23:30:02 +01:00
Christian Kamm
06e6d88b81 Fix compilation of QmlJS code formatter test.
Done by moving ITextMark and ITextMarkable from itexteditor.h
to itextmark.h. The test uses parts of the texteditor plugin by
compiling some of its files. For that to work, the code has to be
fairly stand-alone. The reference to EditorManager in
itexteditor.cpp broke it.

Long term, the test should become a plugin based test to avoid this
kind of problem.

Change-Id: Ibae3bcd7365eb4e2814cd07011cad0180507e82b
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-02-28 15:47:11 +01:00
Robert Loehning
f92b8486af Squish: Working around QTCREATORBUG-7002
Change-Id: If575398e4ea9f7dcd4b31ebdf49708f2b2dcbc15
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-28 14:35:38 +01:00
Christian Stenger
25decf2052 Squish: Fixing Mac
* removed unused object
* refactored invokeMenuItem()
* always lookup cppwindow to avoid failing type()
* use objects stored inside objects.map to avoid LookupError
* reverted raising timeout to 60s
* added workaround for missing focus on Mac right after
  startApplication()
* removed the need to have a shell-script called 'qtcreator'
  (make sure to add 'Qt Creator.app' as AUT now)

Change-Id: I21511d810deedf31dfb19b896edd21b79e73b755
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-28 14:33:19 +01:00
hjk
6d0231c7ec debugger: move defines to a .pro file that is actually looked at
Change-Id: Ic14fe35a6a16093117d89ef83c55d7a8bf29a137
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-28 12:01:35 +01:00
Erik Verbruggen
a621c99a0f [C++] Add error recovery for namespace declarations.
Change-Id: I884ff9901c95467524e5eba38e91f75992d30e14
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Flex Ferrum <flexferrum@gmail.com>
2012-02-28 10:22:31 +01:00
Bill King
2c7e68e6f7 Handle situation where applications are in C:\Program Files
Change-Id: I9d99aac111ae2d630bfb21d4ce39df2d184709f2
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-27 22:00:43 +01:00
Christian Kandeler
a9cd250452 SSH: Fix tests.
- Add/fix include guards.
- Add QtNetwork dependency.

Change-Id: Ia9ebf9d48117e4b45325a365d52873034404d4c8
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-02-27 11:01:40 +01:00
Robert Loehning
873b0805a0 Squish: Raising timeout
Hoping to stabilize this on Mac.

Change-Id: Iaac5891076166130071ce5ca59a5a89402e6017a
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-23 18:41:00 +01:00
hjk
e3087ff7a9 debugger: add manual test for std::unique_ptr dumper
Change-Id: I700abc4ff629992aa7cc821b9a575685fd1e8005
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-23 18:05:34 +01:00
hjk
e19601d8a3 debugger: suppress compiler warning in manual test
Change-Id: I28005f36e3ebaf3f83fb3ba230b74babfeaea85d
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-23 18:05:08 +01:00
Christian Stenger
e1970f1823 Squish: Add workaround for QTCREATORBUG-6994
Change-Id: I8077f50a1359db9044a0b0c607e3cc94e7f1f042
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-23 16:42:05 +01:00
Christian Stenger
a6f9035396 Squish: Clean up (Bug 6967 is closed)
Task-number: QTCREATORBUG-6967

Change-Id: I460110bbad5a400aef474f837fe29c2821594fd5
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-23 14:15:18 +01:00
Christian Stenger
ecb8ff1a0e Squish: Avoid fails on timing issues
Change-Id: Icd6f426ca06364a6a878d0f63618a3852d6eec46
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-23 14:05:43 +01:00
Christian Stenger
b809e805aa Squish: Fix trailing whitespace
Additionally pushing Cancel instead of OK when
leaving Options dialog (we don't change anything).

Change-Id: I67ff5a891dc3a038822ff42e798981f00d633e80
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-23 14:01:22 +01:00
Christian Stenger
696dd9a70d Squish: Added small debugging output
Change-Id: Ia31afc253bad05c3143c8704c95b41cc949e13f2
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-23 11:44:35 +01:00
Erik Verbruggen
368d5926ca C++: handle destructor names with template parameters.
Change-Id: I74b4fd5e043db935abc18345b303d294b71e8fc2
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
2012-02-23 08:39:34 +01:00
Christian Stenger
c9999a9382 Squish: Fix for running inside Jenkins
Change-Id: I443864e41e227e2d5638f668de272c6c7b9a5229
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-22 21:01:16 +01:00
hjk
7b471270f0 debugger: add manual test for QTCREATORBUG-6933
Task-number: QTCREATORBUG-6933
Change-Id: Iaa4df837b54b57363f40eb81b87f7021d0793cea
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-22 18:37:14 +01:00
Robert Loehning
0e0158fc3f Squish: Cleaned for-loops
Change-Id: Ide5313c8838aa7ad9ad74cbaed12872ce0a35413
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-22 16:58:01 +01:00
Christian Stenger
3ad7e50827 Squish: Verify targets for project creation
Change-Id: I3af0e0cde985c4b04bd4ae8181c3b82cda22b2b8
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-22 13:57:47 +01:00
Christian Stenger
5485d15982 Squish: Reverted unsuccessful try, raised timeout
Change-Id: I1ce57c671eab1ff2084724b7799867326cd7ed24
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-21 14:50:07 +01:00
Robert Loehning
d3ad49ea4d Squish: Excluding Maemo target from Qt Quick projects
Change-Id: Ief66b17723d867711bd9eb4a9fa549e930efd7f9
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-21 13:58:25 +01:00
Christian Stenger
4667371b9a Squish: Add timeout for cli test
Change-Id: Id7a8a01d48cd78e98edad9885ecb41360e62e649
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-21 12:46:50 +01:00
Christian Stenger
a1c504e8cf Squish: Try to make 64bit pass on Jenkins
Change-Id: Id829958f434ed96569ac3278271a2d2caf78d674
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-21 12:20:09 +01:00
Christian Stenger
7f44b1e588 Squish: Added timeout
Maybe this fix an issue when running the tst_qml_editor
inside jenkins.

Change-Id: I3cec1bf452e1c3cab7cb0aca6854105c774248a8
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-20 10:50:51 +01:00
Christian Stenger
0f703ea068 Squish: Maemo is subset of Harmattan
see https://bugreports.qt-project.org/browse/QTCREATORBUG-6965

Change-Id: I56852572976806ba74c95b9b40f647d217a95003
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-17 14:32:22 +01:00
Christian Stenger
5b3acc8228 Squish: Use the new 'create project' wizard
Change-Id: I871b7abe2390e76b1e9b54c2f9809940d0ffa930
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-16 20:19:48 +01:00
Robert Loehning
1f6b88c4c2 Squish: Moved workaround for QTCREATORBUG-6853 to new location
Change-Id: I4879b5454248d0738c6b3b5ec9b228ec59cdc787
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-16 13:04:26 +01:00
Christian Stenger
d766c2e773 Squish: Use single file for workarounds
This would help to keep the normal tests clean
and mess up only a single file that contains all
workarounds.

Change-Id: Ic26e57bcd13663efe9c882c003909eb0caa6fe9e
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-15 17:46:18 +01:00
Erik Verbruggen
3fa55b7ab9 Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the
new-project wizards.

Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-15 16:24:46 +01:00
Robert Loehning
9a9ba12028 Reverting debugger test use default by default
Change-Id: I72fe053f28cf352398a183e5361bfe70942d19ad
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-15 16:08:49 +01:00
Christian Stenger
c4b631f975 Squish: Fix for a bug on Mac
Change-Id: I97adc821183f0db5db210b9e80917d3afa73de31
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-14 16:48:31 +01:00
Christian Stenger
e714f29326 Squish: Fix wrong object name
Change-Id: Ie54e8407a613bcd3870f278d334643c434b9e325
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-14 15:40:34 +01:00
Robert Loehning
c85a456352 Squish: Additional log at the end of tst_qml_editor
Change-Id: I1d1da9b333b76e086319091ad6849eca3dc21fb9
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-14 15:10:50 +01:00
hjk
759fcca041 debugger: various small fixes for Qt 5 dumpers
Change-Id: I28d483fb3b3957aa1a1772d7f4c497192d730418
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-14 01:58:10 +01:00
Robert Loehning
15014fb639 Fix compilation of debugger test with MinGW
Change-Id: Id45d58409a6960aa9d140cb29592b921ee6bcfeb
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-10 17:09:35 +01:00
Robert Loehning
43b1ad3661 Squish: Added test for (un-)selecting all content of editors
Change-Id: Id0d768895f74e3686f15817b520552524493e79d
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-10 16:47:35 +01:00
Erik Verbruggen
3f5dc36a53 C++11: first set of changes for decltype.
Change-Id: I49d6ff7eb1805cd07bdfcb27bb37d4c6cadc9115
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-10 16:29:04 +01:00
Robert Loehning
ef979ae7f4 Squish: Some fixes in cmake test
Change-Id: I3b15c73ec725f35ca12388e9b59d4a6de21ce7bd
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-10 14:14:03 +01:00
Christian Stenger
e26ab8993e Squish: Added debugging output
Change-Id: I8f838a61261e1355031b7206a73c013cdcbda5a3
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-10 08:47:13 +01:00
Erik Verbruggen
d679dc4d53 C++: Added tests for C++11 features.
Change-Id: Ifa0bc37916d3ac3a523580bec15a6685709e7810
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-10 08:30:48 +01:00
Robert Loehning
e75a9010b0 Squish: Updates for changed project wizards
Change-Id: I70801de29312bb49db060d0b87fc9dcb1490c6ca
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-09 18:42:35 +01:00
Erik Verbruggen
b9b117aabb Fixed testcases.
Change-Id: Ia20094acbadcb6bec921ec77751f2c73a94e05cb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-02-09 13:59:17 +01:00
David Schulz
7889a20e22 added new mode for simple test
This mode is the same as USE_AUTORUN, except that the debugger will stop
if an test after a BREAK_HERE has failed.

Change-Id: I786459a101fb2ff0556f7ac640b1b0d21d674e8b
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-08 14:59:00 +01:00
hjk
ac73963ae1 debugger: add test for pretty printer for std::vector<bool> on x86_64
The problem is not fixed yet.

Task-number: QTCREATORBUG-6919
Change-Id: Ifffe00cf73919863eeb275bd15e916031231d921
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-08 14:32:29 +01:00
Christian Stenger
d6e11fb91f Squish: Fix obsolete parameter
Change-Id: Ie21ef72546408158d0d487d5b8dccf4d7ee2603f
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-07 13:35:15 +01:00
Christian Stenger
5a4d984b09 Squish: Improve qmake query
qmake -query QMAKE_MKSPECS can return a list of paths

Change-Id: I349adbccab27e613f4b21e27f610578c35b1e6b8
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-02-07 12:58:13 +01:00
Christian Kandeler
05aa2b01fe SSH: Add download capability to SftpFileSystemModel.
Change-Id: I156fa2ecc179f7f9a75ea0c1357b7e6881f5740f
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-06 18:06:57 +01:00
Robert Loehning
354bcaa893 Squish: Updated openQmakeProject()
Change-Id: I8594161b99c207852be290cc8212aefe6faef609
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-06 16:30:51 +01:00