summaryrefslogtreecommitdiff
path: root/plugins/autotest/testresultmodel.h
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2014-11-05 15:27:49 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2014-12-04 13:52:15 +0100
commit9394a43128fa21089bcc5ece18e84bb5a23530ca (patch)
treed0550ae2c9ec659f3e2c1a0fdd25a1462e3d97c2 /plugins/autotest/testresultmodel.h
parent8e4181c3afbb9ca5354dbed72138a6685bca6313 (diff)
downloadqt-creator-9394a43128fa21089bcc5ece18e84bb5a23530ca.tar.gz
Add summary to results pane
Diffstat (limited to 'plugins/autotest/testresultmodel.h')
-rw-r--r--plugins/autotest/testresultmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/autotest/testresultmodel.h b/plugins/autotest/testresultmodel.h
index c803d113b6..95925bf4d0 100644
--- a/plugins/autotest/testresultmodel.h
+++ b/plugins/autotest/testresultmodel.h
@@ -53,6 +53,7 @@ public:
void enableAllResultTypes();
void toggleTestResultType(ResultType type);
bool hasResultType(ResultType type) { return m_availableResultTypes.contains(type); }
+ int resultTypeCount(ResultType type);
signals:
@@ -60,6 +61,7 @@ public slots:
private:
QList<TestResult> m_testResults;
+ QMap<ResultType, int> m_testResultCount;
int m_widthOfLineNumber;
int m_maxWidthOfFileName;
int m_lastMaxWidthIndex;