summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/quick/quicktestframework.cpp
Commit message (Collapse)AuthorAgeFilesLines
* AutoTest: Use TestResult as value typeJarek Kobus2023-01-271-2/+1
| | | | | | | | Don't construct it on heap and don't use shared pointer for it. Change-Id: I51c9da405ed14d24b5f20242b4d049f9e2958f09 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* 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>
* 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>
* Autotest: Convert to Tr::trhjk2022-08-011-1/+2
| | | | | | Change-Id: Ifd4b6ace78d02804ec3b3c1d60c5418081cad6c4 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Unify framework and tool namingChristian Stenger2022-06-101-1/+6
| | | | | | | | Use the same name for the test framework or tool across Qt Creator. Change-Id: I3116644ab03cc46c2e9d7e8aa3b8af8a5386dba4 Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Use Utils::FilePath for files and directoriesChristian Stenger2021-05-271-1/+1
| | | | | | | | Still some missing bits as some QString members had different meanings depending on their context. Change-Id: Ib48eab54498974a26bbd5123cbffeefee5f7e79c Reviewed-by: hjk <hjk@qt.io>
* AutoTest: Introduce ITestToolChristian Stenger2020-11-161-2/+2
| | | | | | | | | Preparation for separating handling of code based and build system based tests. Task-number: QTCREATORBUG-23332 Change-Id: I490af5f3157fd4a8cd07d976cdfd9e4503ade97b Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Clean up header messChristian Stenger2020-11-091-0/+1
| | | | | | | | Better decoupling and reduced binary size. Change-Id: I4f6239979d9d7dae4ad92f19ec8420be38372c07 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Rename IFrameworkSettings to ITestSettingsChristian Stenger2020-11-091-2/+2
| | | | | | | | ...and move and rename frameworkSettings() function from ITestFramework to the new base class. Change-Id: Iedd883d1ffb9a57a4215a24f66f5422a46060a09 Reviewed-by: David Schulz <david.schulz@qt.io>
* Core/Utils: Migrate further to Utils::Idhjk2020-07-061-2/+2
| | | | | | | The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* AutoTest: Do not inherit from another frameworkChristian Stenger2020-04-171-0/+11
| | | | | | | | | Commit 91509727e062b6 had some unexpected side effect. Amend (or replace) this one by an explicit lookup which is still a hack, but at least safe to do. Change-Id: I8fd2e9bdcea18d062f6fc6dd74709c12c16f2cc5 Reviewed-by: hjk <hjk@qt.io>
* Autotest: Keep track of generating framework in TestTreeItemhjk2020-03-271-2/+2
| | | | | | | | ... and TestConfiguration. This allows dropping code that reconstruct framework ids and framework lookup by id. Change-Id: I0bb1e6e135376e21f96b9fab7971aa097787e483 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Use ITestFramework * instead of its id in some caseshjk2020-03-161-2/+2
| | | | | Change-Id: Ic327e31185247b6479c78af8bf8156f44bb4bdfb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Limit search for test tree items to respective rootChristian Stenger2017-11-281-1/+1
| | | | | | | | | | | If searching for a test tree item matching a QtTestResult we can safely limit searching to the subtree holding QtTests or QuickTests. Additionally store information whether it is a Quick or pure Qt test into the result to limit it to a single root. Change-Id: I240e778448d99434d188d90a110dfa4f1934c950 Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Be consistent when naming test root nodesChristian Stenger2017-08-081-1/+1
| | | | | | | | 'Quick Tests' was the only plural form used as root node. So, strip the trailing 's' and use singular for all. Change-Id: I7f009294168446c5541fdaea097ef3c9e28983e7 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* AutoTest: Add test frame work handlingChristian Stenger2016-06-091-0/+55
Mainly a preparation for enabling/disabling test frame works. Change-Id: I0bbea7e055a607517ef8193587c229cadf0de027 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>