forked from qt-creator/qt-creator
AutoTest: Prepare parsing function to get referencing files directly
Change-Id: I53b8db50d286dccc8ec9764ddb9a2c08d52fffb5 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -72,6 +72,13 @@ public:
|
||||
int gtestNamesAndSetsCount() const;
|
||||
#endif
|
||||
|
||||
// FIXME remove me again
|
||||
struct ReferencingInfo
|
||||
{
|
||||
QString referencingFile;
|
||||
TestTreeModel::Type type;
|
||||
};
|
||||
|
||||
signals:
|
||||
void cacheCleared();
|
||||
void testItemCreated(TestTreeItem *item, TestTreeModel::Type type);
|
||||
@@ -89,7 +96,8 @@ signals:
|
||||
public slots:
|
||||
void emitUpdateTestTree();
|
||||
void updateTestTree();
|
||||
void checkDocumentForTestCode(CPlusPlus::Document::Ptr document);
|
||||
void checkDocumentForTestCode(CPlusPlus::Document::Ptr document,
|
||||
const QString &referencingFile = QString());
|
||||
void handleQtQuickTest(CPlusPlus::Document::Ptr document);
|
||||
void handleGTest(const QString &filePath);
|
||||
|
||||
@@ -122,13 +130,6 @@ private:
|
||||
|
||||
TestTreeModel *m_model;
|
||||
|
||||
// FIXME remove me again
|
||||
struct ReferencingInfo
|
||||
{
|
||||
QString referencingFile;
|
||||
TestTreeModel::Type type;
|
||||
};
|
||||
|
||||
QMap<QString, ReferencingInfo> m_referencingFiles;
|
||||
QList<UnnamedQuickTestInfo> m_unnamedQuickDocList;
|
||||
QList<GTestInfo> m_gtestDocList;
|
||||
|
||||
Reference in New Issue
Block a user