summaryrefslogtreecommitdiff
path: root/tests/unit/unittest/sourcepathcache-test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Add sourceContextAndSourceId to SourcePathCacheMarco Bubke2022-09-261-0/+84
| | | | | | Change-Id: I4f5eb784e80d3afc10aa007f3be1604f6e18e312 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | 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>
* Sqlite: Make the statement conversion operator id awareMarco Bubke2022-07-211-53/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | Before you had to use an constructor which is has an integer as parameter. Like struct Foo { Foo{long long id} : id{id} {} Foo{TypeId id} : id{id} {} TypeId id; } Now you can write: struct Foo { TypeId id; } With C++ 20 we can even remove more contructors. Change-Id: I374505a037a71339b672f5f3a57b06dcf443b4bf Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Add ProjectStorageUpdaterMarco Bubke2021-09-201-3/+11
| | | | | | | | | | Adding a skeleton for the ProjectStorageUpdater. Task-number: QDS-4819 Task-number: QDS-4793 Change-Id: I230d68f71480d360d71019883510ef22dd276802 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Move source cache types to their own headerMarco Bubke2021-05-311-3/+3
| | | | | | | | | The namespace is now Cache for that types. Task-number: QDS-4306 Change-Id: I479f1ca534455a41de9dc1d6a1fd891e1d8973eb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add SourcePathCacheMarco Bubke2021-05-311-0/+428
Task-number: QDS-4306 Change-Id: I5adbf3893cb198c52c1fd433f599d21317c6881c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>