forked from qt-creator/qt-creator
AutoTest: Use (shared) pointer for parse results
This is necessary later on as we will need different sub-classes of TestParseResult to support different test frameworks. This avoids the necessarity to put all information inside a single object even if it is not used. Change-Id: I39c74ba06b9337608ece8b113b0993c0934b24b9 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
committed by
Christian Stenger
parent
06c53d8def
commit
db71490b1e
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
signals:
|
||||
void aboutToPerformFullParse();
|
||||
void testParseResultReady(TestParseResult result);
|
||||
void testParseResultReady(const TestParseResultPtr result);
|
||||
void parsingStarted();
|
||||
void parsingFinished();
|
||||
void parsingFailed();
|
||||
@@ -101,7 +101,7 @@ private:
|
||||
bool m_singleShotScheduled;
|
||||
QSet<QString> m_postponedFiles;
|
||||
State m_parserState;
|
||||
QFutureWatcher<TestParseResult> m_futureWatcher;
|
||||
QFutureWatcher<TestParseResultPtr> m_futureWatcher;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user