aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/autotestunittests.cpp
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2017-02-08 14:06:01 +0100
committerChristian Stenger <[email protected]>2017-02-08 14:27:48 +0000
commit2475da1bb527e47016df9bc6cdc67a25bd9fe0ee (patch)
treea82bbd66944a901c0ea181c05ff40bb910ba3dc3 /src/plugins/autotest/autotestunittests.cpp
parent38b6f4ff850b933660911347db801168da439321 (diff)
Replace some more occurrences of QStringList() << pattern
Diffstat (limited to 'src/plugins/autotest/autotestunittests.cpp')
-rw-r--r--src/plugins/autotest/autotestunittests.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/autotest/autotestunittests.cpp b/src/plugins/autotest/autotestunittests.cpp
index 3c5e8586a4e..e59cdd861b8 100644
--- a/src/plugins/autotest/autotestunittests.cpp
+++ b/src/plugins/autotest/autotestunittests.cpp
@@ -167,11 +167,10 @@ void AutoTestUnitTests::testCodeParserSwitchStartup_data()
QTest::addColumn<QList<int> >("expectedUnnamedQuickTestsCount");
QTest::addColumn<QList<int> >("expectedDataTagsCount");
- QStringList projects = QStringList()
- << QString(m_tmpDir->path() + QLatin1String("/plain/plain.pro"))
- << QString(m_tmpDir->path() + QLatin1String("/mixed_atp/mixed_atp.pro"))
- << QString(m_tmpDir->path() + QLatin1String("/plain/plain.qbs"))
- << QString(m_tmpDir->path() + QLatin1String("/mixed_atp/mixed_atp.qbs"));
+ QStringList projects = QStringList({ m_tmpDir->path() + "/plain/plain.pro",
+ m_tmpDir->path() + "/mixed_atp/mixed_atp.pro",
+ m_tmpDir->path() + "/plain/plain.qbs",
+ m_tmpDir->path() + "/mixed_atp/mixed_atp.qbs" });
QList<int> expectedAutoTests = QList<int>() << 1 << 4 << 1 << 4;
QList<int> expectedNamedQuickTests = QList<int>() << 0 << 5 << 0 << 5;