Commit 01db7268 authored by Christian Stenger's avatar Christian Stenger

AutoTest: Fix running selected quick test functions

Task-number: QTCREATORBUG-17093
Change-Id: Ia404efe5779eaf5e735410db83840d9b9f58f5bd
Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
parent ad947035
......@@ -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();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment