Commit Graph

41 Commits

Author SHA1 Message Date
Robert Loehning
fa655dd407 Squish: Moved editor tests to editors suite
Change-Id: I82bd92db762f7f997460ece4c2f77d0381dca6b5
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-19 14:21:24 +02:00
Robert Loehning
832bc738c7 Squish: Improved checks before working on projects
Change-Id: Ieb230be55b94d00be272cb84796ce8fd22f4f8f7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-09-27 17:32:39 +02:00
Robert Loehning
e51863ee1a Squish: More explicit name for Desktop kit
Change-Id: Ibc711e37ca71d3543a8fa8b46fb2ac7c9c5c4129
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-09-25 14:11:12 +02:00
Christian Stenger
77a6b71f72 Squish: Use global objects.map from inside QMLS
Change-Id: I5c37408bc3a0e232d7f2a70e01db510725f99df1
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2012-09-12 17:22:39 +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
Jan Kerekes
f22449b94a Squish: Added new test cases(4, 5) to c support suite
initial commit

Change-Id: If2fb169ac66ccbcc463e4cfef491ca4fb3e01c30
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-06-19 17:32:39 +02:00
Christian Stenger
5d92a73c82 Squish: Fix syntax errors
Change-Id: I61572a8369721ba4943f11f0edee236bd816e771
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-05-09 19:24:55 +02:00
Robert Loehning
f521c9f062 Squish: Always use the same function for preparing templates
Change-Id: I90dac33dde4c0c3d39c8e8038371dfbb3403dce3
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-04-05 17:22:06 +02: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
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
Denis Mingulov
142cee902b TextEditor: Fix incorrect dependency to CppEditor resources
TextEditor BaseHoverHandler::addF1ToToolTip() method has used
a resource from CppEditor (:/cppeditor/images/f1.png), despite
of the inverse official dependecy in PluginSpec file and other
classes.

As it is not used anywhere else - to fix the issue f1.png and
f1.svg are moved from CppEditor to TextEditor.

Change-Id: I14b542837d6337bd08e19ad72cf4a869be08465a
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-30 14:06:23 +01:00
Christian Stenger
591754be7e Squish: Fix minor bugs (mostly on Mac)
This avoids some timing issues as well as a problem
I only saw on Mac: Sometimes Squish fails inside
placeCursorToLine() with 'I don't know how to type on
object of type QmlJSEditor::QmlJSTextEditorWidget'.

Change-Id: Ifc192914375fb37362fa31399be4972c9ce50b92
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-27 13:33:10 +01:00
Robert Loehning
c14a4756a9 Squish: Refactored openContextMenuOnTextCursorPosition()
Change-Id: Ie7a903794c11ed32cc1786c66ee0fa8d654a93f2
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-24 17:50:13 +01:00
Robert Loehning
ed51dde28b Squish: Fixed and simplified function
Change-Id: I5177202b366f8373dda05cbe8f4b1ae2e529cc5c
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-13 15:20:34 +01:00
Christian Stenger
d2c9e3f40e Squish: Fix tests on Mac
Change-Id: Ibedf2bb581a5b0deb7c8e95ec792630e429f1570
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-05 14:06:57 +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
Christian Stenger
fb21ad4d3c Squish: Added FindUsages test to QML test
Change-Id: I2571bf1e87d34495dc4299f04d310f894d22e38d
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-12-13 17:10:14 +01:00
Robert Loehning
8480c3837b Squish: Added utility functions
Change-Id: I5ac2aabde688e86557ee364bb190e0230ba75822
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-12-08 13:30:16 +01:00
Christian Stenger
86ba284d06 Squish: Improved and refactored hook into
Change-Id: I05f17bbe49db7064cd6bf5131363ca0708aad087
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-12-02 15:03:18 +01:00
Robert Loehning
844b1c0490 Squish: Improved timeouts
- tuned timeouts according to expected duration
- use default timeout instead of passing equal value

Change-Id: I90bcbc5ecfd420a01e05acabc987a67b322c1f3f
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-11-29 14:34:21 +01:00
Christian Stenger
8500fa9f6a Squish: Improve hook-into sub-processes
With this patch it's possible to not only hook into the
QmlApplicationViewer (although nothing else is currently done)
and additionally to not only send the closing event to the
sub-process. You can now define a function that will be executed
on the sub-process.
Both modified tests show an example how to use it.

Change-Id: I39b9959f2cf1d519b8afeb0c479ac2d68ea20ca6
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-11-25 19:39:41 +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
Christian Stenger
54d5059ec0 Squish: Small fix and improvement for indent test
Change-Id: Ib34050986433bf9010da2e8cf71fe6651559c015
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-11-17 08:44:39 +01:00
Bill King
69e02f4fb8 Squish: Fix timing issue on linux (too fast to catch).
Change-Id: Ia52abf2de8ef35269c11c198351e5024eae01830
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2011-10-28 15:24:10 +02:00
Robert Loehning
584a8f016e Squish: Moved remaining functions for creating projects to project.py
Change-Id: I92b56ed9401be41d0a54dd32c623b55b7d1e4f71
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-10-13 14:58:04 +02:00
Christian Stenger
2c155447be Squish: Fixed some minor problems
* problems on shutdown (mostly Win)
 * timing problems (Mac, Win)
 * support for accidental whitespace in settingspath (all)
 * added support for further special characters that could exist
   inside TreeView of the Project files (all)
 * removing the testing folder instead its content (all)

Change-Id: I146b56d253e3245641d0dcaebfad4d6f1dd684fc
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-10-12 14:21:45 +02:00
Robert Loehning
23436285bc Squish: Renamed "destination" to "target"
Change-Id: I8f8a1cc4b58642fc64adfa76eea84c2b4e9f0423
Reviewed-on: http://codereview.qt-project.org/6255
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-10-10 15:42:17 +02:00
Robert Loehning
dbf48009cc Squish: Don't add temporary files to git
Change-Id: Ia076166a867c1c1a9031ea6515143876f4a73d34
Reviewed-on: http://codereview.qt-project.org/6263
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-10-10 13:17:39 +02:00
Robert Loehning
cc1a2d15d1 Squish: Merged variations of createNewQtQuickApplication()
Change-Id: I5c2f88e18630922a34dbb52894ce6ef26697c28b
Reviewed-on: http://codereview.qt-project.org/6180
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-10-07 15:17:38 +02:00
Robert Loehning
97207cf28c Squish: Improved function checkCompile()
Change-Id: Ib1b0dada442dc58f1e56343cf4ae602650291fcf
Reviewed-on: http://codereview.qt-project.org/6167
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-10-06 17:43:20 +02:00
Christian Stenger
72419360ed Squish: Fixed a bug with paths containing '.'
Change-Id: I97c9331dc1caa525b527a8d11992c39cdaa07296
Reviewed-on: http://codereview.qt-project.org/6168
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-10-06 17:08:00 +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
1a07c183d9 Squish: Do not hook into subprocesses
With hooking, qmake is not being executed correctly on Linux.

Change-Id: I4dfd633485256bc351f55263c563987aa5a503a3
Reviewed-on: http://codereview.qt-project.org/5751
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-09-29 12:45:23 +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
6271661390 Improved testing of id renaming.
Change-Id: If1312fdbd9f8c934b8412289ede457032131fc42
Reviewed-on: http://codereview.qt-project.org/5533
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2011-09-26 13:50:23 +02:00
Robert Loehning
08dfd0d08a Squish: Improved path constants
Renamed the old constant SDKPath to srcPath because this is where sources are.
Added new constant sdkPath for the root directory of the Qt SDK installation.

Change-Id: I1b1f346554f58629a9d1882f90250f21708e4d22
Reviewed-on: http://codereview.qt-project.org/5474
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-09-26 12:22:07 +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
106473c4b5 Cleanup to use new waitForSignal function.
Change-Id: Id47c81fc3c2d4448f26dd2432b73286501be1e26
Reviewed-on: http://codereview.qt-project.org/5297
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2011-09-21 14:01: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
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