summaryrefslogtreecommitdiffstats
path: root/tests/baseline/shared/qwidgetbaselinetest.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <[email protected]>2022-01-10 15:16:18 +0100
committerEirik Aavitsland <[email protected]>2022-01-13 14:56:37 +0100
commit7719fcea4b174da078b6630df24345c63e6cc75d (patch)
treece2200c31efb0abf7ee84b5b16ddc2cfce14103e /tests/baseline/shared/qwidgetbaselinetest.cpp
parent657a18c7faac28d7025350834dc7686e689ac358 (diff)
Add a couple of utility functions to the baseline test framework
Adds a function for setting the baseline Project name, which selects the top level server directory and hence config settings. Also adds a function that lets the client override the server config setting for the project image keys (ItemPathKeys). This is the list of properties that will be used to determine which clients are "the same", i.e. which baseline to compare against. Overriding that is handy since it allows experimentation and customization of clients without involving changes in the project config on the baseline server. Pick-to: 6.3 6.2 Change-Id: Id3998356494a9a2cb71c009b43593d3dc1b6963a Reviewed-by: Volker Hilsheimer <[email protected]> Reviewed-by: Axel Spoerl <[email protected]>
Diffstat (limited to 'tests/baseline/shared/qwidgetbaselinetest.cpp')
-rw-r--r--tests/baseline/shared/qwidgetbaselinetest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/baseline/shared/qwidgetbaselinetest.cpp b/tests/baseline/shared/qwidgetbaselinetest.cpp
index 90e2af26ea5..1553a2d82f3 100644
--- a/tests/baseline/shared/qwidgetbaselinetest.cpp
+++ b/tests/baseline/shared/qwidgetbaselinetest.cpp
@@ -37,7 +37,7 @@ QT_BEGIN_NAMESPACE
QWidgetBaselineTest::QWidgetBaselineTest()
{
- QBaselineTest::addClientProperty("Project", "Widgets");
+ QBaselineTest::setProject("Widgets");
// Set key platform properties that are relevant for the appearance of widgets
const QString platformName = QGuiApplication::platformName() + "-" + QSysInfo::productType();