aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Squish: Update tst_codepastingRobert Loehning2020-10-201-1/+1
| | | | | Change-Id: Ie908f0af267f420e107c06ae039bb085462f945d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Add test for clean whitespacesChristian Stenger2020-10-022-1/+145
| | | | | | Task-number: QTCREATORBUG-24565 Change-Id: Idd763004f6ce9f1d34b902ea2fcf5c166ce8d4cf Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Squish: Don't wait for the same object item twice in a rowRobert Loehning2020-10-021-2/+0
| | | | | Change-Id: Ib6ebc6f0c4fff5e29c7613dc6098da663539dc3e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Go into componentsMarco Bubke2020-09-162-7/+52
| | | | | | | | Task-nubmer: QDS-2696 Change-Id: I2f0ee71deea593da08fa4a754d783b53867473ed Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Debugger: Change LLDB value creation hackhjk2020-09-151-0/+1
| | | | | | | | | ... to something that works with LLDB 12. Task-number: QTCREATORBUG-24596 Change-Id: Ib2f8255d45a02fa3d2c737864994397f587e9b15 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ClangBackEnd: Support highlighting of alias templatesChristian Kandeler2020-09-144-8/+19
| | | | | | Fixes: QTCREATORBUG-24552 Change-Id: I80d2b16114234cf896173cd4104e6a5f12009f69 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* UnitTests: Fix unit test buildMarco Bubke2020-09-031-0/+2
| | | | | | | Guard clang include. Change-Id: Ia72b40fa787918f47508049b045a21edf976d93a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Unittest: Fix crash in LinuxChristian Stenger2020-09-031-6/+8
| | | | | Change-Id: I1e8dc10bd9f0f9d11b0f18716e284ffadef7c6c5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Clang: Add conditions for adding exceptions flagOrgad Shaneh2020-09-021-2/+38
| | | | | | | | | | | | For GCC it can be deduced from the compiler flags, so no correction is needed. For MSVC it can be deduced from the detected defines. Amends 26693e82126de15145a04c3428a10f6c15120532. Change-Id: Ie4850f328a2afdb3e5158c58f8c30a2644d9c592 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Squish: Avoid focus problems after cloningRobert Loehning2020-08-202-0/+11
| | | | | | | | | The dialog shows a kind of completion popup. After that, the Locator does not get proper focus anymore. Clicking into the dialog closes the completion popup and seems to fix the focus problem. Change-Id: I0ae901cc4f23b66d2c3db2c96109be79a0ded52c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Make workaround in tst_CSUP03 permanentRobert Loehning2020-08-201-5/+1
| | | | | | | The bug is fixed in 4.14. Change-Id: I7fe69f98d69de494f886bca3f854b7be626998e8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Modernize failing test from tst_CSUP01Robert Loehning2020-08-201-3/+5
| | | | | Change-Id: I5755a0265d2810a2a5929657ac455aa380a417e6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Fix expectationsChristian Stenger2020-08-191-2/+21
| | | | | | | | | | Added observation functionality for a temporary move of the URL. Let the test fail if the move becomes permanent. Change-Id: I7989d654ea6e89ccba112b5cb640144afba40339 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Utils: Fix persisting of QRectChristian Stenger2020-08-197-0/+124
| | | | | | | | | | | | And pass explicitly a QVariant to the writer to avoid unexpected behavior when trying to store the geometry of a widget. This resulted in a warning for any session where the user had used the debugger at least once. Change-Id: I5cb2352ab29ff7d2a64c84ffcdf040efe6d04b94 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Fix some license headersEike Ziller2020-08-191-0/+8
| | | | | | | | Missing the GPL part. Fixes: QTCREATORBUG-24501 Change-Id: I9e8e033399c050af29927d0ee735f9bcd05345bf Reviewed-by: hjk <hjk@qt.io>
* Squish: Update tst_git_localRobert Loehning2020-08-181-1/+1
| | | | | | | | | This doesn't run into QTCREATORBUG-11074 anymore, because Creator now uses "git add --intent-to-add" when adding files. Change-Id: I125ff29f9974efad5d22fed220f6155cc5c6804b Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Adjust expectations in tst_CSUP06Robert Loehning2020-08-181-4/+1
| | | | | | Task-number: QTCREATORBUG-22729 Change-Id: If945eaf188358a69e32e659a4bfa97a6a5e20083 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Update tst_cmake_speedcrunchChristian Stenger2020-08-173-317/+183
| | | | | | | Server mode has been dropped. Change-Id: I356f814bb4b0084cfcecd3b92ede1a0c27daf2b4 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Merge remote-tracking branch 'origin/qds-1.59' into 4.13Tim Jenssen2020-08-136-28/+592
|\ | | | | | | Change-Id: Ic720f3adab305c5ef8cd10e713ccabf510eff0c0
| * QmlDesigner: Split messaging and process for puppetsMarco Bubke2020-08-105-11/+148
| | | | | | | | | | | | | | | | | | | | This will make it easier to implement custom puppets. The new connection manager will restucture the code and it add a mechanism to capture data too. Task-number: QDS-2529 Change-Id: I5d15c3303ef1c9a3e25ba197d350e0d561ce813a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * QmlDesigner: Fix bool handling in the list model editorMarco Bubke2020-08-101-0/+66
| | | | | | | | | | | | Task-number: QDS-2581 Change-Id: I47a9ed4ca55532bb7199a6c5dd4894b7adb7d05d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * QmlDesigner: Fix crash for list view modelMarco Bubke2020-08-101-1/+39
| | | | | | | | | | | | | | | | | | There was a type, so it crashed. The code is now under tests so we cannot break it anymore. Task-number: QDS-2563 Change-Id: I81426a9f8a568b217b7bf9c8c261b24be14ff61a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * QmlDesigner: Add row move up and move down buttonsMarco Bubke2020-07-081-0/+239
| | | | | | | | | | | | Task-number: QDS-2294 Change-Id: Ia1e64d0811f55151dfe529db4868821840a8fba9 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * QmlDesigner: Move code from list editor dialog to modelMarco Bubke2020-07-081-16/+100
| | | | | | | | | | | | | | And add tests to the code. Change-Id: I9fb183729c716a50bbab861d207a212ff704ee7b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | CPlusPlus: Fix expectations in preprocessor autotestChristian Kandeler2020-08-121-18/+19
| | | | | | | | | | | | | | | | ... regarding unfinished macro calls. Amends df0ffd8bb8. Change-Id: Ia7b8752860ac9207e702697cbee87f16a39dd1dd Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | UnitTest: Fix escaping of LLVM output on WindowsOrgad Shaneh2020-08-071-1/+1
| | | | | | | | | | | | | | Complements 1929c38a9fd6df8257069ba505c88c8a57a5352f. Change-Id: I95e32baf477e42003f1e97c73fd557b480de33a7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | qmljs: qtdeclarative change 9ab1a6759018b78b0f160c5286f8b0235a34ec50Fawzi Mohamed2020-08-032-0/+13
| | | | | | | | | | | | | | | | | | | | Support required list properties The corresponding rules were missing so far. Fixes: QTBUG-85716 Change-Id: Iaf0cbfbb8736929a213bd6bf329bb2ebdde652c4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* | qbs build: Fix spurious re-resolvingChristian Kandeler2020-07-311-0/+1
| | | | | | | | | | | | | | | | The pluginjson module records the VCS state by default, which means qbs re-resolved the project after every git action. Prevent that. Change-Id: I24cf1d658ba847b327be018749806856a6e7da1b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Tests: Fix codemodel check testChristian Stenger2020-07-303-31/+41
| | | | | | | | | | Change-Id: I9ca0fec928ac90fd5951fc54963ba5e96d5a53a6 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
* | Tests: Fix nullptr accessChristian Stenger2020-07-301-0/+1
| | | | | | | | | | Change-Id: I4e2bf36dfa6e16dfd9924c865bd9a997750243a2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | UnitTests: Re-enable CMake unittestsCristian Adam2020-07-243-3/+4
| | | | | | | | | | | | | | Ammeds 327bec26bfa25a06f511eb361e65567086df29a7 Change-Id: I34b62532da424b3b4fb0290049150f6ba444283b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Squish: Stabilize menuVisibleAtEditor() even moreChristian Stenger2020-07-221-1/+3
| | | | | | | | | | | | | | | | | | If the machine fails to correctly initialize the desktop environment we end up with a rather small resolution which in turn makes the condition useless. Change-Id: Idcea7f4e2a5dd265442b5c9d98bf42ed7f01c8af Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* | Squish: Update expected completion proposalRobert Loehning2020-07-211-1/+1
| | | | | | | | | | | | Change-Id: I89f44690bdda5a12776f39efb7b1872ff5e9cc93 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Debugger: Remove name demanglerChristian Kandeler2020-07-206-656/+0
| | | | | | | | | | | | | | Never been used, completely outdated, fails autotest. Change-Id: I2c1808b4a66e9abdb839670eeae3e5226c7246ba Reviewed-by: hjk <hjk@qt.io>
* | CompilationDatabase: Fix unit testChristian Kandeler2020-07-101-1/+0
| | | | | | | | | | | | | | Amends be97943372. Change-Id: Ic840f5eca8a83b5bdf3e3864e8859234472911b7 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* | Clang: Fix error when including float.h with mingwChristian Kandeler2020-07-091-0/+33
| | | | | | | | | | | | | | | | | | | | | | Prevent mingw from trying to #include_next a private header from a path we cannot add to our list of includes. Fixes: QTCREATORBUG-24251 Task-number: QTCREATORBUG-24027 Change-Id: I18a9db130b9c2265cd208c3506d08d2e1c4cee45 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* | Merge "Merge remote-tracking branch 'origin/4.12' into 4.13" into 4.13The Qt Project2020-07-062-1/+2
|\ \
| * \ Merge remote-tracking branch 'origin/4.12' into 4.13Eike Ziller2020-07-062-1/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: share/qtcreator/debugger/lldbbridge.py Change-Id: Ia444f6424fb35b9a539e157afcee868161535272
| | * | Squish: Stabilize tst_HELP02Robert Loehning2020-07-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depending on the sizes of the treeview and its contents, the click might hit the scroll bar and result in a script error. Change-Id: Ic3658b1f180d1aa5a792d6664d2d7f56d8d0c353 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| | * | Squish: Fix expectation when canceling a cloneChristian Stenger2020-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I674324a4a98e4329c4445de69ceddeffba607ff3 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* | | | qbs build: Fix sdktool autotestChristian Kandeler2020-07-061-1/+1
|/ / / | | | | | | | | | | | | Change-Id: I069d9b3eaea295efa8d78d4d96b52b61cecbb783 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Debugger: Set WITH_DEBUGGER_DUMPERS to ON by defaulthjk2020-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The option went in with the initial CMale port, presumably because the test itself created and compile qmake projects at the time. I do not think it makes sense to leave out existing tests by default, even if they run for some time. Change-Id: I7ff055a2a432b9d8f6af16f7da63ebc56995c31e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Core/Utils: Migrate further to Utils::Idhjk2020-07-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 (cherry picked from commit 430a33dcd9ac80ddb848e41f8f059102857c88aa) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | clangbackend: Do not handle built-in types speciallyChristian Kandeler2020-07-062-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | ... when collecing tooltips. The more general functions provide more information, such as constness. Fixes: QTCREATORBUG-14950 Change-Id: I6d0a890a695e19e9754b5538ba092a188a3bbbb0 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* | | Fix qbs buildChristian Kandeler2020-07-031-0/+3
| | | | | | | | | | | | | | | Change-Id: Ic19d1f42d98a0bec31f2f5788063f6b2e7d61cef Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Squish: Don't try to "Save All" when there are no unsaved filesRobert Loehning2020-07-022-2/+0
| | | | | | | | | | | | | | | Change-Id: I431c9754d84d36f0c09e45e6c43fe67f173da59f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Squish: Update expected outputRobert Loehning2020-07-021-1/+1
| | | | | | | | | | | | | | | Change-Id: If5fdc09ee57ab476e7d434f084fffceb82df23cf Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Squish: Update menu itemsRobert Loehning2020-07-023-4/+4
| | | | | | | | | | | | | | | Change-Id: Ibbca07fb02092ce829246e99b2365b513b1fa4e0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Merge remote-tracking branch 'origin/qds-1.59' into 4.13Tim Jenssen2020-07-021-1/+1
|\ \ \ | | |/ | |/| | | | Change-Id: Ia5756102fa014a8376c8b277e9a50a112c594d35
| * | UnitTests: Temporary disable the testsMarco Bubke2020-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | I added QmlDesigner to the unit tests but I have no clue have this can work with CMake. We only want some source files and are preloading some other header. Change-Id: Iadf8ca09b7e63055d1e2ff231a15ef7be2891204 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>