Robert Löhning
c72a93599d
Squish-Tests: Use QTC_DO_NOT_PROPAGATE_LD_PRELOAD
...
This is a reaction to an change in Creator's handling
of environment variables. Creator now passes on
LD_PRELOAD set by Squish. This results in build errors
and crashes of started applications.
Change-Id: I39cf21c60a474d7453e9c29fd3eaf32d3f0d6806
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-10-24 19:20:07 +00:00
Christian Stenger
9f0dcd71c4
Squish: Adapt to ui changes
...
Change-Id: Ie7cb2a80a5edfa135a1b5d1b44c365a5e6cf408b
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2022-10-13 13:08:05 +00:00
Lucie Gérard
a7956df3ca
Use SPDX license identifiers
...
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-08-26 12:27:18 +00:00
Christian Stenger
f43348c4f2
Squish: More corrections due to change of default build system
...
Change-Id: Ia221e1e84784f5218d14258fcc24dcac900d60ad
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2022-03-16 12:56:43 +00:00
Robert Löhning
82534fc979
Squish: Explicitly use qmake-based projects in suite_APTW
...
Creator's default build system is CMake now which broke the tests.
Change-Id: I901b44dd4545a297d0100da5d92aa1bea79e41d3
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-03-15 08:24:20 +00:00
Robert Löhning
867b006517
Squish: Update tst_APTW03
...
Change-Id: Id3b93b8e78b7797bd8c1cec5e6edb0b7cc966ea1
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2021-08-10 18:49:23 +00:00
Robert Loehning
aac77eecb9
Squish: Replace Qt version 5.6.1 with 5.14.1
...
Task-number: QTCREATORBUG-22111
Change-Id: Iaae052e73a264252e399bd0992be4b420e2799ae
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2020-03-10 15:59:08 +00:00
Robert Loehning
2c5d4ef6f8
Squish: Use parameters in some calls to mouseClick(...)
...
Partially reverts e8727fcae2 for these lines.
Change-Id: I268b1ff337095bd08d3e92c8be57bc2b6e5de8d9
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2019-07-26 14:56:47 +00:00
Christian Stenger
e8727fcae2
Squish: Clean up single (left) mouse clicks on items or objects
...
Do no more use pixels as offset if we can handle this without.
Clicking on items by using an (x, y) offset will likely fail if
running on a machine with a different DPI setting.
Change-Id: I0e5a4985104bd1d68aadf8c5534583fa1b048edb
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
2019-07-25 12:06:05 +00:00
Christian Stenger
3621079f76
Squish: Fix tst_APT03
...
This patch amends 80cd9cfa8a .
Change-Id: I9d70708e76cc1cf409d4b9a177ccf58ae3ecc496
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2019-02-25 12:06:53 +00:00
Christian Kandeler
1487997551
Qt plugin wizard: Fix excess whitespace
...
Amends 075e1da67e .
Fixes: QTCREATORBUG-21974
Change-Id: I4216b06ac9753e552e34575ff10f3789ff5ad8dc
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2019-02-25 08:40:11 +00:00
Robert Loehning
80cd9cfa8a
Squish: Update tst_APTW03
...
Change-Id: Iace2557625f538ebac09191043ae0d653face121
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2019-02-13 14:43:54 +00:00
Robert Loehning
c2f57e51d6
Squish: Small fixes in tst_APTW03
...
Change-Id: I3ef8de3c994b34368cbe218e8a5141e47e08723f
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2019-02-12 12:20:33 +00:00
Christian Stenger
1016dc0603
Squish: Refactor starting Qt Creator from Squish
...
Change-Id: I7cbce7db2a22a7cb327965b9b7918eb46266b260
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
2018-09-05 09:24:18 +00:00
Robert Loehning
94fb8efab1
Squish: Remove old default target parameters
...
Change-Id: I72153c535ae0670cb4bfa061f34659bc7faee001
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2018-08-10 09:35:17 +00:00
Robert Loehning
ff10f8c3a5
Squish: Fix warnings
...
Warnings from static code checks, that is, not test.warning() at runtime.
Change-Id: I651d13491106583908059ecdb5f700f539b6d9c8
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2018-08-06 14:21:30 +00:00
Robert Loehning
e8acb75115
Squish: Refactor selecting configured Kits in project
...
The design of the Projects mode changed several times. We wrote lots of
workarounds to keep even more old code alive because we never had the time
for a proper refactoring. This time is now.
Leads to more stable code with far less variables flying around.
Task-number: QTCREATORBUG-20265
Change-Id: I29e5956ea3279cdb1d6da61bf5b461666de436bc
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2018-08-02 11:48:14 +00:00
Robert Loehning
6a42d8bd74
Squish: Give code model more time to list refactorings
...
Change-Id: I944dfa306954cd16fdb24334db6e869702da282f
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2018-07-09 09:53:44 +00:00
Robert Loehning
9cb1700993
Squish: Use built-in code model in tst_APTW01
...
The warnings from ClangCodeModel confuse our build check.
Change-Id: Ic6b82bb304387f447bdf8eb0b2fd02dd2f250fb2
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2018-06-05 09:08:47 +00:00
Robert Loehning
a4ff3423e9
Squish: Update Qt version names and constants
...
As a preparation for using Qt 5.10, these
need to handle two-digit minor versions.
Change-Id: I2a47606ee801a28df12d75323b480f8ee583893b
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2018-01-22 12:30:49 +00:00
Robert Loehning
11abd8edf7
Squish: Replace Qt4 SDK by self-built Qt 4.8.7
...
Change-Id: If990367afb01aae94755930c02c81ae82b23bb8f
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2017-07-31 14:04:00 +00:00
Robert Loehning
f78327a571
Squish: Use list instead of bitfield for kits
...
Change-Id: Ia2e1f3aa9ea723deb9f2a2c88e2f97be8ae0e833
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2017-03-03 12:32:36 +00:00
Christian Stenger
d1c8c5ded3
Squish: Disable gcc compile check on OSX
...
Change-Id: I6537bb9e20c9d16689cea520a01b28da8f2ed468
Reviewed-by: Robert Loehning <robert.loehning@qt.io >
2016-09-27 04:43:17 +00:00
Tobias Hunger
954569387c
Update License according to agreement with Free Qt Foundation
...
* Update license information in tests directory
Change-Id: I311441dd37d053ca3175e44b284258e232ee93e0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-01-19 16:01:06 +00:00
Robert Loehning
f0602e4ddd
Squish: Don't check for Resolution of "Invalid" bug report
...
Change-Id: Iae6f066cf52f1e520a8f0dc3a24261387ae2ec10
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-06-30 12:07:47 +00:00
Christian Stenger
d710e73084
Squish: Fix tst_APTW03
...
Change-Id: I88383be83b518de6363a53bb6102f1f302fac1cf
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com >
2015-06-30 04:53:47 +00:00
Robert Loehning
243a0e54be
Squish: Fix bitwise operators for selecting kits
...
Change-Id: I4373e8f07b124f61a743d5c922a45f2962ac7392
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-02-19 13:35:45 +00:00
Robert Loehning
0352e54253
Fix copyright headers in Python files
...
Change-Id: Id2c60eae52d315b8b133512d978598d1bc187b43
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2015-02-13 16:52:03 +00:00
Eike Ziller
3c85058694
Update License
...
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2015-01-16 12:37:56 +01:00
Eike Ziller
8295b503be
License update
...
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2014-10-09 11:41:44 +02:00
Robert Loehning
14976ca142
Squish: Stabilize tst_APTW03
...
Change-Id: I301c47ca3f09d0f88ceaf7908d35d071c2d73ce5
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2014-05-27 15:08:44 +02:00
Robert Loehning
b8df93134d
Squish: Using param instead of global var in checkLastBuild()
...
Change-Id: I9c7af050f9ff211cd5025fe5421449dcdee04f53
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2014-05-16 15:23:48 +02:00
Christian Stenger
642a064ebe
Squish: Add test for cpp libraries
...
Change-Id: I1566c5dac828fc3bd53a4fef6cfd87a31238981a
Reviewed-by: Robert Loehning <robert.loehning@digia.com >
2014-05-16 13:49:33 +02:00
Christian Stenger
a966e33308
Squish: Remove unnecessary imports
...
Change-Id: Ia902e0a797fea947f83505f6b09e3efed24f65b1
Reviewed-by: Robert Loehning <robert.loehning@digia.com >
2014-04-30 08:09:12 +02:00
Robert Loehning
746c5d8863
Incremented year in copyright info
...
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2014-01-08 08:29:47 +01:00
Robert Loehning
2001fe982b
Squish: Moved code from aptw.py to build_utils
...
Change-Id: Id42cc45e9cb4a8a3aa43086ae3a427143617927c
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-07-23 15:19:17 +02:00
Robert Loehning
180b48003f
Squish: Added copyright headers
...
Change-Id: Icdf2f31f73e8b6eed75954ad31d12d48e00109b5
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-05-15 13:35:01 +02:00
Robert Loehning
4255ec2df6
Squish: Corrected verifyBuildAndRun()
...
...to deal with the behavior described in QTCREATORBUG-9212
Change-Id: Ic69098be5a09fe6aa85c40218483c2d679584ab3
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-05-07 18:36:32 +02:00
Christian Stenger
86d3e075ff
Squish: catch plugin loader error if it occurs
...
...and stop execution of the current test case
Change-Id: I46ac21e79f643f6890b7303d08c204dcd9fa9386
Reviewed-by: Robert Loehning <robert.loehning@digia.com >
2013-02-22 16:52:13 +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
Robert Loehning
28d731c717
Squish: Exit test cases if runAndCloseApp() failed
...
Change-Id: I9149673fc1c227543b6d92ece0ed00a993e06ccf
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-01-24 16:40:20 +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
Robert Loehning
b565197145
Squish: Updated function pickVersion474runVerify()
...
Change-Id: I02733645a6367429ce97007cfa4b882534786d78
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2012-10-30 09:54:50 +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
Christian Stenger
6e1ac1aafa
Squish: Use global objects.map from inside APTW
...
Change-Id: Ica05af5652a3666277723e6ef9e96ecd5dc0c9f5
Reviewed-by: Robert Loehning <robert.loehning@nokia.com >
2012-09-05 15:26:50 +02:00
Christian Stenger
203b03f823
Squish: Fix for missing scrollArea
...
Change-Id: I5419b30b8dd0cc67af4d54a3bb89edd5368cb983
Reviewed-by: Robert Loehning <robert.loehning@nokia.com >
2012-09-04 16:53:28 +02:00
Robert Loehning
bef8f58fe8
Squish: Updated calls to iterateBuildConfigs
...
Change-Id: Idca2d311399194b455e211fb72d1fcf810cbb624
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2012-07-24 13:55:33 +02:00
Christian Stenger
a4fa090e11
Squish: Improve handling for 1-target-projects
...
If there's only one suitable target for a project
the TargetSelector will be missing and the DoubleTabWidget
must be used instead.
Change-Id: I140b483d8afaaed7f25a3adb58bab65bffbf7322
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
2012-07-24 09:04:43 +02:00
Robert Loehning
06cad70310
Squish: Updated __selectQtVersionDesktop__
...
Change-Id: I45b870c9f0def59f11196c98a446a506ce672049
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2012-07-12 16:53:25 +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