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
Robert Loehning
692806bb8f
Squish: Starting test cases only if needed files are present
...
Change-Id: I41a73ce1a4f0d0578cf59af5c69fc19f9ec11dd9
Reviewed-on: http://codereview.qt-project.org/5555
Reviewed-by: Bill King <bill.king@nokia.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-09-27 11:15:29 +02:00
Christian Stenger
11f7dbda77
Added new qml test and continue refactoring
...
Refactoring of all helper functions to make it easier to
recognize them as such. All helper functions in global
shared scripts now follow the scheme __NAME__
Helper functions normally should not get called from outside.
Change-Id: I0d02028d3f9de1ad251af9226c0460655bd9c9bd
Reviewed-on: http://codereview.qt-project.org/5331
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-09-22 16:31:34 +02:00
Bill King
c42351beda
Shift temp dir into more findable location.
...
Change-Id: Idbf29e79d4a3dc7c4083a5b7cba78489db46366b
Reviewed-on: http://codereview.qt-project.org/5298
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-21 13:44:41 +02:00
Christian Stenger
c36e017d40
Added indentation test for Qml
...
Change-Id: I15751d93dccba232455e6e85c4ac0c30c74be3af
Reviewed-on: http://codereview.qt-project.org/4650
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-09-12 12:44:59 +02:00
Bill King
509eb894dd
New waitForSignal function
...
...and real life test case.
Change-Id: Id22f4a7bf444e319651b54e1a3a230040b982e30
Reviewed-on: http://codereview.qt-project.org/4548
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-12 10:35:26 +02:00
Christian Stenger
e137af3a42
Added test for creation of QtQuick application
...
Added more QtQuick tests and did some refactorings according to re-appearing code.
Completed the Qt Quick Wizards test from QtCreatorTestingMatrix.
Change-Id: I857d9f3c3809221e2df3e096b3926a8d5d36b828
Reviewed-on: http://codereview.qt-project.org/4238
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-09-08 10:51:17 +02:00
Christian Stenger
991e19b40b
Refactoring build functions, enhancing signal handlers
...
Added functionality to remove the need to clean settings by yourself
Change-Id: If2d95618d5e77e30480d0ca763ad7ce632f2d094
Reviewed-on: http://codereview.qt.nokia.com/3984
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-08-31 16:37:00 +02:00
Bill King
507d260bd4
Fixes openProject, also tests multiple target selection and building.
...
Change-Id: I4a5aaea2eca940c3ffcf8458b5cc0afce591b63e
Reviewed-on: http://codereview.qt.nokia.com/3886
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-08-31 14:09:38 +02:00
Christian Stenger
648e985cd6
Improved check for last build status
...
Change-Id: I18f8839daeb5f21957b9ab8102341f25dd77720d
Reviewed-on: http://codereview.qt.nokia.com/3651
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-08-26 12:21:20 +02:00
Bill King
756fb87983
Initial commit of squish tests for creator.
...
Change-Id: Ic499b3c36d37f9789276f60a41642ffc7ee816d1
Reviewed-on: http://codereview.qt.nokia.com/3047
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-08-26 09:46:31 +02:00