diff options
Diffstat (limited to 'plugins/autotest/testconfiguration.cpp')
-rw-r--r-- | plugins/autotest/testconfiguration.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/autotest/testconfiguration.cpp b/plugins/autotest/testconfiguration.cpp index 2203798923..4841a86fbf 100644 --- a/plugins/autotest/testconfiguration.cpp +++ b/plugins/autotest/testconfiguration.cpp @@ -24,12 +24,16 @@ namespace Autotest { namespace Internal { TestConfiguration::TestConfiguration(const QString &testClass, const QStringList &testCases, - QObject *parent) + int testCaseCount, QObject *parent) : QObject(parent), m_testClass(testClass), m_testCases(testCases), + m_testCaseCount(testCaseCount), m_project(0) { + if (testCases.size() != 0) { + m_testCaseCount = testCases.size(); + } } TestConfiguration::~TestConfiguration() |