forked from qt-creator/qt-creator
AutoTest: Fix execution of test sets
Broken by 842ab2a551
Change-Id: If34eb0ae726f172b049473b8dd1c92e7b771968c
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -845,7 +845,7 @@ TestConfiguration *GoogleTestTreeItem::testConfiguration() const
|
|||||||
}
|
}
|
||||||
case TestFunctionOrSet: {
|
case TestFunctionOrSet: {
|
||||||
GoogleTestTreeItem *parent = static_cast<GoogleTestTreeItem *>(parentItem());
|
GoogleTestTreeItem *parent = static_cast<GoogleTestTreeItem *>(parentItem());
|
||||||
if (parent)
|
if (!parent)
|
||||||
return 0;
|
return 0;
|
||||||
const QString &testSpecifier = gtestFilter(parent->state()).arg(parent->name()).arg(name());
|
const QString &testSpecifier = gtestFilter(parent->state()).arg(parent->name()).arg(name());
|
||||||
config = new GoogleTestConfiguration;
|
config = new GoogleTestConfiguration;
|
||||||
|
|||||||
Reference in New Issue
Block a user