forked from qt-creator/qt-creator
Update test tree when configuration changes
This takes especially configurations in account when subprojects are enabled/disabled conditionally.
This commit is contained in:
@@ -53,10 +53,13 @@ public slots:
|
||||
void onCppDocumentUpdated(const CPlusPlus::Document::Ptr &doc);
|
||||
void onQmlDocumentUpdated(const QmlJS::Document::Ptr &doc);
|
||||
void removeFiles(const QStringList &files);
|
||||
void onProFileEvaluated();
|
||||
|
||||
private:
|
||||
void scanForTests();
|
||||
void scanForTests(const QStringList &fileList = QStringList());
|
||||
void clearMaps();
|
||||
void removeTestsIfNecessary(const QString &fileName);
|
||||
void removeTestsIfNecessaryByProFile(const QString &proFile);
|
||||
|
||||
TestTreeModel *m_model;
|
||||
QMap<QString, TestInfo> m_cppDocMap;
|
||||
|
||||
Reference in New Issue
Block a user