forked from qt-creator/qt-creator
AutoTest: Fix running selected quick test functions
Task-number: QTCREATORBUG-17093 Change-Id: Ia404efe5779eaf5e735410db83840d9b9f58f5bd Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -237,7 +237,7 @@ QList<TestConfiguration *> QuickTestTreeItem::getSelectedTestConfigurations() co
|
||||
int grandChildCount = child->childCount();
|
||||
for (int grandChildRow = 0; grandChildRow < grandChildCount; ++grandChildRow) {
|
||||
const TestTreeItem *grandChild = child->childItem(grandChildRow);
|
||||
if (grandChild->type() != TestFunctionOrSet)
|
||||
if (grandChild->checked() != Qt::Checked || grandChild->type() != TestFunctionOrSet)
|
||||
continue;
|
||||
testFunctions << child->name() + QLatin1String("::") + grandChild->name();
|
||||
}
|
||||
|
Reference in New Issue
Block a user