AutoTest: Introduce inherited state for Qt test tree items

Preparation for later detection and displaying inherited functions
for Qt tests.

Task-number: QTCREATORBUG-17522
Change-Id: I2af1f758a837049ef676840b03f9cd73a2cb9873
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2017-01-04 12:06:46 +01:00
parent e575f054db
commit 7d1d4471f0
6 changed files with 51 additions and 17 deletions

View File

@@ -34,7 +34,11 @@ class QtTestParseResult : public TestParseResult
{
public:
explicit QtTestParseResult(const Core::Id &id) : TestParseResult(id) {}
void setInherited(bool inherited) { m_inherited = inherited; }
bool inherited() const { return m_inherited; }
TestTreeItem *createTestTreeItem() const override;
private:
bool m_inherited = false;
};
class QtTestParser : public CppParser