Commit Graph

745 Commits

Author SHA1 Message Date
Christian Stenger
4a78d4da3f Squish: Fix wrong signal handler call
Change-Id: I94020e0afa85a86f5eb80fe4cf1cbb4c58edb6a6
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-22 16:43:40 +01:00
Robert Loehning
7c9d2e3a1a Squish: Fix invoking context menu sub items
Change-Id: I7d498ac3d4e2e2d25b3c504a95f96e434d0d1619
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-02-21 13:55:45 +01:00
Christian Stenger
80263a5221 Squish: Fix some Mac/Squish issues
Details:
* wrong shortcut usage replaced
* timing issues fixed
* re-used the editor-focus-on-mac workaround for some tests

Change-Id: Ie0d65d941c999d545bd50e1cf4794624c4110247
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-18 12:56:46 +01:00
Robert Loehning
dd32d14a55 Squish: Removed unused functions
Change-Id: Ia9b63b9d4846b425cfa52ded0a0f5f54f4c4f0ed
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-02-18 12:16:04 +01:00
Christian Stenger
85ec0cdfbe Squish: Improve ensureChecked()
...to avoid misbehaviour especially on Mac.

Change-Id: I25053ea34b180a60d9a260798f7758df8a1224e2
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-15 14:31:55 +01:00
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
dae2198346 Squish: Fix tests for disabled Madde Plugin
Part 1: Fix expected targets

Change-Id: I4acfcde6c6d347065047e91f6d65b6418aade7b3
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-08 17:04:49 +01:00
Robert Loehning
ca4b3f9d1d Squish: Wait for parsing in createNewQtQuickApplication()
This is what createProject_Qt_GUI() and
createProject_Qt_Console() have always done

Change-Id: Iaead1767c699e4fd237d999e6f3d94d277b1d84f
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-02-08 10:30:37 +01:00
Christian Stenger
18089cea55 Squish: Skip hook-into for mismatched Squish version
If the Squish version of the running AUT and the subprocess do
not match hooking into the subprocess fails because of using
different protocols.

Change-Id: I2e94c5ec2fbdc30aa39885bf1619df445c10f40b
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-07 16:57:58 +01:00
Robert Loehning
ec1d081178 Squish: Fix hooking for multiple kits
Change-Id: I5389d6aadd39f6c7f7ca6a74e006b110373eee28
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-02-06 13:49:14 +01:00
Christian Stenger
8485f64c6b Squish: Fix verification of compile output
Change-Id: I1c55e826a79fa0f36d2870cfcb08a325ba6408e1
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-04 16:47:05 +01:00
Christian Stenger
df1f7796ba Squish: Fix tst_SCOM05
Change-Id: I63b5266639a272ee94cc50978f87634f09ff4177
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-02-01 13:01:05 +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
Robert Loehning
6ebb71ab57 Squish: Fixed tst_simple_debug
Change-Id: I12053784d9d897525e29c40ea806f680577c6c09
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-01-31 14:27:27 +01:00
Robert Loehning
58e4a5fb5e Squish: Fixed opening of files
Change-Id: Ia96a4a000cac1dde0f660e5f58141a73c7625a1e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-01-31 11:22:17 +01:00
Christian Stenger
4cb9f675aa Squish: use new approach for markText()
This new approach is a bit slower than using Qt functionality,
but it's now completely relying on user-interaction.

Change-Id: I361f6f201dfff8122a11aae30204eb79967fe4ae
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-01-28 17:07:12 +01:00
Robert Loehning
31b135a4b1 Squish: Updated opening of CMake projects
Change-Id: Iad89199052fe8df090eb5a6257dd88de51a15a07
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-01-28 15:19:48 +01:00
Robert Loehning
3f570a7901 Squish: Enable testing with MSVC again
Change-Id: Ib6051caa6e3a52a611aa24c0bf0c4d89939fdd58
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-01-23 12:06:26 +01:00
Christian Stenger
00dab06535 Squish: Added test for QML outline
Change-Id: I6199cf22da0049319c2eaef6977884ed7f63a4fd
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-01-18 13:58:33 +01:00
Robert Loehning
27421b1a81 Squish: Check installed languages
Change-Id: I758381d67c431b4b7d6b7486f1d8561cf09c637b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-12-12 16:33:31 +01:00
Christian Stenger
352f6d6c4b Squish: Provide overrideStartApplication()
Change-Id: I384d37f9c65b76c299220dea436e45ff58ba0333
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-12-12 14:51:21 +01:00
Christian Stenger
8a6d5ccd36 Squish: Fix usage of Qt Quick UI wizard
Change-Id: I51aee75d695ab8faa8090dc44fd4abb79b0181b6
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-12-05 09:30:33 +01:00
Christian Stenger
f47ca8f4d6 Squish: Fix tst_qtquick_creation4
Change-Id: Iff7ce74c947dba7522b47991fb0217916dee921a
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-12-04 14:54:32 +01:00
Robert Loehning
c6e7412626 Squish: Update for renamed wizard
Change-Id: Ib8c5766171aa87c112286073ef82e776a0dc45e5
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-11-28 13:45:54 +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
Christian Stenger
f049c58c5f Squish: Try to remove the strange snooze() call
Change-Id: Ic2a475bf27167e8e3c3d3d1b5dcfb02cfbecaad3
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-11-27 14:19:13 +01:00
Robert Loehning
feae690513 Squish: Update for Target -> Kit renaming
Change-Id: I3c8ae3c67f2459c13b885ed935bb1dc31e09c359
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-11-20 12:44:15 +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
Christian Stenger
47289addff Squish: Test handling of read only files
Change-Id: I459fdaed7338f5343b760da47e9652baf78986f0
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-11-01 17:09:40 +01:00
Robert Loehning
e60d2af0b1 Squish: Updated iterateBuildConfigs() to handle multiple kits
Change-Id: I724e45bf510015dbdae6cb4c6cb55285167dafbc
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-30 09:54:22 +01:00
Robert Loehning
20d4efb0b1 Squish: Removed unused functions
Change-Id: Idf66788a8f693d836fafe26f3355a96395066c37
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-29 18:28:01 +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
86e544ce4c Squish: Fix typeLines()
Change-Id: I13abcceebc3f61b508da658d5e9d4650fddff6ea
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-10-23 09:16:06 +02:00
Robert Loehning
b262d50f13 Squish: Raised snooze in waitForCleanShutdown()
Change-Id: Iae110755f979a78c5cb3e4199cfc851f1feccb0c
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-19 13:32:39 +02:00
Christian Stenger
a1a3da9d2d Squish: Add test for renaming macros
Change-Id: I9c9bc9556234ec321c6e3723f5276a0b66f6c90a
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-10-19 13:29:55 +02:00
Robert Loehning
9ac92a938b Squish: Fixed validateSearchResult()
Fixes fails in tst_CSUP04 introduced by 6b5bccd08e

Change-Id: I7ad33b745e7a55b078952ca88c9ee5123ffc639b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-18 17:22:42 +02:00
Robert Loehning
3e88f62f33 Squish: Hack for fixing waitForCleanShutdown()
Change-Id: I925a59fdd96f161a324375ebee4b4588dfd035fb
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-18 16:28:47 +02:00
Robert Loehning
9687e18820 Squish: Removed outdated cleanups
__removeTmpSettingsDir__() does it all.

Change-Id: Ic1eb2ef02665c5d863956a1587f4f46344743f8e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-18 16:26:28 +02:00
Christian Stenger
93ff2db370 Squish: Enhance function to create new project
This is a preparation for an upcoming patch.

Change-Id: Ia3ed2ca8a68aa3ccb8ecf304e40abd8055afd5c0
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-10-10 11:53:30 +02:00
Robert Loehning
69a15c0e5a Squish: Updated URI
Change-Id: Idc9c39c826f4283ceb01ec5a0117355d22950099
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-09 14:43:33 +02:00
Eike Ziller
1504ca67fb More Nokia -> Digia/QtProject changes
Change-Id: If52505dbc95ee48ac3467cdfbbea91629c11089c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2012-10-09 12:24:24 +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
5fb8040194 Squish: Stabilize placeCursorToLine() on Mac
Change-Id: I3a3292b8576fe36107335e07e9f125fbd1478b80
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-10-08 16:12:46 +02:00
Christian Stenger
68f2d2286a Squish: Set default compiler depending on arch
Change-Id: I1be1c018e293bb8ac11ba24968e5ba3c391ccf92
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-09-28 16:28:02 +02:00
Robert Loehning
05784397c3 Squish: Removed unused functions
Change-Id: I9e12651454a0a35a934d27a890bdeaa55c7ca912
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-09-27 10:53:29 +02:00
Robert Loehning
b4d456657c Squish: Added MSVC kit
Change-Id: I79ae4e792fa2ed19d2580c4cd7de3669f22f08ed
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-09-26 13:14:33 +02:00
Robert Loehning
021436856f Squish: Removed workaround for QTCREATORBUG-6994
Change-Id: Id4e5ee4f9235b768a3145e6c562e29e1662ac72d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-09-26 10:52:04 +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
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
2a7b28a3b9 Squish: Fix getConfiguredKits()
Change-Id: Ie8a38eedac3e89abbe0bfb659ccc57bb7a30990d
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-09-25 13:44:09 +02:00