Commit Graph

60 Commits

Author SHA1 Message Date
Christian Stenger
b090616016 Squish: Fix tests for disabled Madde Plugin
Part 2: Fixing evaluation of configured kits depending on available
Qt versions as well as determining supported platforms.

Additionally enable verifications for Plain C and Plain C++ projects
as well.

Change-Id: I1f92b44c6771dfc9353b911fdb1ec654c5cc591b
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-08 17:04:57 +01:00
Christian Stenger
58c45ca766 Squish: Added test case for default settings
Change-Id: I669a4a464b966ef9cf5a89f38e95e142e3574a1c
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-01-31 16:16:33 +01:00
Christian Stenger
e53b4a9c76 Squish: Removed some Mac workarounds
Change-Id: I85a4fee5acbb36096283daec982a8d31e42573b4
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-11-27 15:29:53 +01:00
Robert Loehning
77313fd980 Squish: Removed pointless explicit timeouts
Change-Id: I21e41fc8d1c26186afe0d18613c764abd065227e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-11-05 12:59:07 +01:00
Robert Loehning
95af1cd4f8 Squish: Added helper functions for views and models
Change-Id: Ic5dc4a5fe11ec5f693ef9f5ddf3abbefd689fd99
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-25 13:58:34 +02:00
Christian Stenger
38e27f8056 Squish: Fix checkDebuggingLibrary()
Additionally:
* extracted iterateKits() for better re-use
* added parameter to iterateQtVersions() for easier usage
  when using iterateKits() as well

Change-Id: I8bec8ca8e1e37a233c121dbcfbf1c89104f79a7d
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-10-09 10:03:22 +02:00
Christian Stenger
61753f7e08 Squish: Fix losing focus on Mac
Change-Id: I4dcf69cd644e2a9c5de46de639abc69d90334342
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-09-25 15:26:38 +02:00
Christian Stenger
2a7b28a3b9 Squish: Fix getConfiguredKits()
Change-Id: Ie8a38eedac3e89abbe0bfb659ccc57bb7a30990d
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-09-25 13:44:09 +02:00
Christian Stenger
93fb2928d6 Squish: Added new test cases/suite for welcome page
Change-Id: Id01582e881b8150a76336bb4f3ea6511c4bcd249
Done-with: Jan Kerekes
Done-with: Pavol Grainda
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-09-19 16:16:08 +02:00
Robert Loehning
394f6d2db6 Squish: Updated getConfiguredKits()
Change-Id: I3f9dc08ce45eb773366a05de96a685a82266a54b
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-09-07 16:08:03 +02:00
Christian Stenger
bd43956bbd Squish: Use global objects.map from inside CCOM
Change-Id: Icc22f595f6c5c9472755e1134b7663dde7bccb86
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2012-09-06 09:42:38 +02:00
Christian Stenger
efa91f005b Squish: Fix for renaming Targets to Kits
Change-Id: Ia3faec39499bc7e65d5d0a0fb7963fcb4016c6d5
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2012-09-05 13:55:21 +02:00
Robert Loehning
3767ecf872 Squish: Updated class for new target name
Change-Id: I5eca3251b290e15eaa2a462bc22f1d1ac7153834
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-09-04 17:13:59 +02:00
Christian Stenger
ac6ca18ec0 Squish: Fix tst_create_proj_wizard
Change-Id: Ibccb5b6c1496d5ae4c9021086d55dc4236f6ac71
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2012-09-03 17:48:55 +02:00
Alessandro Portale
ae23d50576 Removal of Symbian support
Qt Creator's support for Symbian was at its peak in version
2.4.x. Nobody really verified it in Qt Creator 2.5 or 2.6.
It is most likely rotten. Let's remove it!

Also, the Symbian support code was spread throughout the whole
Qt Creator code base. The plugin interfaces evolved in the
meantime and target platforms like Android or QNX have 99% of
their code in separate plugins.

In case anyone wants to revive Symbian support in Qt Creator,
please create a plugin for it.

Change-Id: I56a758a3e2fd5b8c64d9aeb8f63d8e916c4883be
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-08-22 13:42:42 +02:00
Christian Stenger
7184fabfc7 Squish: Fix openQmakeProject()
This fixes openQmakeProject(). There's still more
to do (e.g. selecting Release/Debug) what will be
done in later patch(es).

Change-Id: I34ebf793c89b2d2ddf1f97c7eed6c6eb6c7f5bcb
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-07-13 17:10:17 +02:00
Eike Ziller
b7c34292f4 Merge remote-tracking branch 'origin/2.5'
Conflicts:
	tests/system/objects.map

Change-Id: Ie6aed14f2f61111d26498ff3684ea4a57e6da59e
2012-06-01 14:06:24 +02:00
Jan Kerekes
20afae749d Squish: Added new test cases/suite for project templates
initial commit

Change-Id: I0000bc8d3d0304ac37b135ea7b9c893b1054c958
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-05-31 13:22:37 +02:00
Robert Loehning
23fcc1a823 Squish: Small improvements
Hoping to fix some fails on Mac

Change-Id: I5e9f47f0714b14a6b87df342de74e7fd41fe94b0
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-05-31 11:14:27 +02:00
Robert Loehning
9e1de91d7d Squish: Update for changed Options dialog
Change-Id: I680ef0307837abae3edc813991acbed5fb31ccce
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-05-30 18:18:32 +02:00
Christian Stenger
525cf2353e Squish: Support more than one breakpoint per file
Change-Id: Ic33e039fe5aea9caed5a3e992a74938e331e2a4b
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-05-16 18:31:13 +02:00
Christian Stenger
13b8e587a6 Squish: New helper functions for debug test
Change-Id: I606bc1c98d807548a481a69f8bdc25577a0e54d8
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-17 09:22:22 +02:00
Christian Stenger
a96cbcf335 Squish: Small fixes for utils.py
* invokeMenuItem(): changed order and additional
  waitFor to be more error-proof on Mac
* logApplicationOutput(): added try/except block
  for cases where no former run/debug could be found

Change-Id: I0d434fbb964e3d85e5ccb2a4c336e14e956f44ce
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-02 18:10:46 +02:00
Robert Loehning
c283323afd Squish: Fixed searching for external tools
Change-Id: Iad16f3e7a7a4c886bcd2b7eb9bf94ded9926d37f
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-03-05 17:58:15 +01:00
Robert Loehning
3aaa3b3fa4 Squish: Fixed handling of targets
Done-with: Christian Stenger

Change-Id: Iaa03a3df2151706bbe5d508a20f70a5007817d4d
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-29 13:28:09 +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
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
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
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
Christian Stenger
dfafc2321f Squish: Small fix for selectFromFileDialog
If there are more than 1 folder starting with the
given path it still fails for me - it switches
into the parent folder and that's it. Adding the
separator char works fine again.

Change-Id: I49a9aaf3f68c09d8db803ce9b1e5222a8faeaf7b
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-02-06 15:31:20 +01:00
Robert Loehning
0286148a14 Squish: Fix using file dialogs
Because of the proposals the file dialog makes
when typing into the line edit selectFromFileDialog()
seems to fail sometimes (in Jenkins and on my machine).

Change-Id: Iea098016075e9a8471bd85f585e473fa8dd3bf6a
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-03 16:24:21 +01:00
Robert Loehning
7dbc6014e3 Squish: Added test for command line output
Change-Id: I4a25f971d41acd5e349e753602d4ae3aaafb4e32
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-31 16:37:31 +01:00
Robert Loehning
73005e6bca Squish: Added functions for switching build configurations
Change-Id: I03eb8987ec28bac7db99395ed91952d8a3a0d038
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-17 15:44:47 +01:00
Robert Loehning
dac69143af Squish: Added helper function for opening files
Change-Id: I756822299e591010eb926ee46600f4b5231d9318
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-12 12:16:04 +01:00
Christian Stenger
4e0421ed15 Squish: Add hovering test
Change-Id: I78a8e855a3b276c1549b57002ced88af3245ccdd
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-05 12:23:54 +01:00
Bill King
6210b0578e Squish: Fix to make selectFromLocator("simple_test_app.cpp") work.
Change-Id: Id853f58cc3e564a71af768c54c36d731a3be25da
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-12-15 16:16:50 +01:00
Robert Loehning
44e4c45e64 Squish: Simplify selectFromCombo calls
Done-with: Christian Stenger

Change-Id: Ie9b2691675b12fb4d84f9239358c7db4ab60c431
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-12-09 16:08:11 +01:00
Robert Loehning
387d7a20ed Squish: Make invokeMenuItem() handle submenus
Change-Id: I0e616a254dd4d7800b7a001134c02f301261b956
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2011-12-06 16:50:08 +01:00
Robert Loehning
f107ec5ba6 Squish: Made functions verifyEnabled and selectFromCombo more generic
Change-Id: I1f0d48712f5ec081fa323e929dabaeee1dbf9b63
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-11-24 17:52:26 +01:00
Christian Stenger
3089bd3f6c Squish: Implements hooking into the subprocess
Change-Id: Ic1ae2a8341d01e179f9d52b7c7ad3cbe24995bd1
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-11-23 15:49:04 +01:00
Robert Loehning
e465a1763b Squish: Added function ensureChecked
Change-Id: Icca18645613d0b88e4394aa5fc3820626a59e647
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-11-08 14:12:40 +01:00
Robert Loehning
8cf0d1c608 Squish: Avoid timing issues when using Locator
Change-Id: If768a758f3887607c9ef46939dc22685cf54fb45
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-11-01 13:56:22 +01:00
Robert Loehning
e711c1ad5a Squish: Use isinstance() instead of comparing classnames
Change-Id: Ia0683902e96f1dc175978bdbb13fbd114f6ad739
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-10-18 10:40:27 +02:00
Robert Loehning
368726d6f2 Squish: Moved contents of mainwin.py to other files
Change-Id: I998b1304dc9ad8832990da5e90ab426c38eb329e
Reviewed-on: http://codereview.qt-project.org/6182
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-10-07 13:24:45 +02:00
Christian Stenger
8a857ecc29 Squish: Updated existing tests to run on Mac
Change-Id: Id4c3bd97f806e502fe64ca9bd4864938d918dc73
Reviewed-on: http://codereview.qt-project.org/6156
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-10-06 15:07:17 +02:00
Robert Loehning
61714ec4c9 Squish: Added test suite for debugger related tests
Change-Id: I11c114787cc3c2721147d55c86f87aaf31daec9e
Reviewed-on: http://codereview.qt-project.org/5644
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-10-05 13:54:09 +02:00
Christian Stenger
92e4bec731 Squish: Remove also versioned .user files
Change-Id: Icf4325930f5e1bd908fef9cbd87658b4cc8fc110
Reviewed-on: http://codereview.qt-project.org/5601
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2011-09-27 14:03:06 +02:00
Christian Stenger
49a5f8be1a Squish: Some smaller refactorings
Change-Id: I5f8b5ec982e8a38d32ba15d81317c2308dc00106
Reviewed-on: http://codereview.qt-project.org/5544
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-09-27 11:18:33 +02:00