aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/autotestunittests.cpp
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2017-01-05 11:48:55 +0100
committerChristian Stenger <[email protected]>2017-01-11 09:02:09 +0000
commitf375f197d1bba919cd4d7efb7f15d99683361863 (patch)
tree32ebe06f75bb7aeb581c413efce2f50bb00c6fb7 /src/plugins/autotest/autotestunittests.cpp
parentb1f1ccb32ec31a1c4598e9fd22b23c1548a73299 (diff)
AutoTest: Add test for derived Qt tests
Change-Id: I8c61c08ff9b0653c02d262fb9010940e41e178af Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/autotest/autotestunittests.cpp')
-rw-r--r--src/plugins/autotest/autotestunittests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/autotest/autotestunittests.cpp b/src/plugins/autotest/autotestunittests.cpp
index 369df6b7145..fc917ffdf44 100644
--- a/src/plugins/autotest/autotestunittests.cpp
+++ b/src/plugins/autotest/autotestunittests.cpp
@@ -121,13 +121,13 @@ void AutoTestUnitTests::testCodeParser_data()
<< 1 << 0 << 0 << 0;
QTest::newRow("mixedAutoTestAndQuickTests")
<< QString(m_tmpDir->path() + QLatin1String("/mixed_atp/mixed_atp.pro"))
- << 3 << 5 << 3 << 8;
+ << 4 << 5 << 3 << 10;
QTest::newRow("plainAutoTestQbs")
<< QString(m_tmpDir->path() + QLatin1String("/plain/plain.qbs"))
<< 1 << 0 << 0 << 0;
QTest::newRow("mixedAutoTestAndQuickTestsQbs")
<< QString(m_tmpDir->path() + QLatin1String("/mixed_atp/mixed_atp.qbs"))
- << 3 << 5 << 3 << 8;
+ << 4 << 5 << 3 << 10;
}
void AutoTestUnitTests::testCodeParserSwitchStartup()
@@ -173,10 +173,10 @@ void AutoTestUnitTests::testCodeParserSwitchStartup_data()
<< QString(m_tmpDir->path() + QLatin1String("/plain/plain.qbs"))
<< QString(m_tmpDir->path() + QLatin1String("/mixed_atp/mixed_atp.qbs"));
- QList<int> expectedAutoTests = QList<int>() << 1 << 3 << 1 << 3;
+ QList<int> expectedAutoTests = QList<int>() << 1 << 4 << 1 << 4;
QList<int> expectedNamedQuickTests = QList<int>() << 0 << 5 << 0 << 5;
QList<int> expectedUnnamedQuickTests = QList<int>() << 0 << 3 << 0 << 3;
- QList<int> expectedDataTagsCount = QList<int>() << 0 << 8 << 0 << 8;
+ QList<int> expectedDataTagsCount = QList<int>() << 0 << 10 << 0 << 10;
QTest::newRow("loadMultipleProjects")
<< projects << expectedAutoTests << expectedNamedQuickTests