forked from qt-creator/qt-creator
AutoTest: Limit search for test tree items to respective root
If searching for a test tree item matching a QtTestResult we can safely limit searching to the subtree holding QtTests or QuickTests. Additionally store information whether it is a Quick or pure Qt test into the result to limit it to a single root. Change-Id: I240e778448d99434d188d90a110dfa4f1934c950 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -43,7 +43,7 @@ TestTreeItem *QuickTestFramework::createRootNode() const
|
||||
|
||||
const char *QuickTestFramework::name() const
|
||||
{
|
||||
return "QtQuickTest";
|
||||
return QuickTest::Constants::FRAMEWORK_NAME;
|
||||
}
|
||||
|
||||
unsigned QuickTestFramework::priority() const
|
||||
|
||||
Reference in New Issue
Block a user