aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-08-20 11:30:32 +0200
committerhjk <hjk@qt.io>2020-08-20 11:24:44 +0000
commit0cdd07e06e602823e0d171e6e189926126b0c612 (patch)
tree4f29a23bd72d25b820499b364b5cb84327a6f0af /src/plugins/autotest
parent86728b84f1bb44d0f0d02f0eb167aa907d2fd8fc (diff)
AutoTest: Fix compilation with Qt6
Task-number: QTCREATORBUG-24098 Change-Id: I40b51e02fbb90b059d3cad16a57b70e463e6465d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/autotest')
-rw-r--r--src/plugins/autotest/autotestunittests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/autotestunittests.cpp b/src/plugins/autotest/autotestunittests.cpp
index 089d0848748..218fb22d70b 100644
--- a/src/plugins/autotest/autotestunittests.cpp
+++ b/src/plugins/autotest/autotestunittests.cpp
@@ -283,7 +283,7 @@ void AutoTestUnitTests::testCodeParserBoostTest()
QMap<QString, int> foundNamesAndSets = m_model->boostTestSuitesAndTests();
QCOMPARE(expectedSuitesAndTests.size(), foundNamesAndSets.size());
for (const QString &name : expectedSuitesAndTests.keys())
- QCOMPARE(expectedSuitesAndTests.values(name), foundNamesAndSets.values(name));
+ QCOMPARE(expectedSuitesAndTests.value(name), foundNamesAndSets.value(name));
// check also that no Qt related tests have been found
QCOMPARE(m_model->autoTestsCount(), 0);