forked from qt-creator/qt-creator
AutoTest: Fix variable name
This variable had been forgotten during the refactoring. Change-Id: Icafe84ea04dec5822d2879db87f3b7334020924e Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
committed by
David Schulz
parent
19c8c9bc4b
commit
c9f595bfc7
@@ -440,11 +440,11 @@ bool GoogleTestTreeItem::modifyTestSetContent(const QString &fileName,
|
|||||||
|
|
||||||
TestTreeItem *GoogleTestTreeItem::findChildByNameStateAndFile(const QString &name,
|
TestTreeItem *GoogleTestTreeItem::findChildByNameStateAndFile(const QString &name,
|
||||||
GoogleTestTreeItem::TestStates state,
|
GoogleTestTreeItem::TestStates state,
|
||||||
const QString &referencingFile)
|
const QString &proFile)
|
||||||
{
|
{
|
||||||
return findChildBy([name, state, referencingFile](const TestTreeItem *other) -> bool {
|
return findChildBy([name, state, proFile](const TestTreeItem *other) -> bool {
|
||||||
GoogleTestTreeItem *gtestItem = const_cast<TestTreeItem *>(other)->asGoogleTestTreeItem();
|
GoogleTestTreeItem *gtestItem = const_cast<TestTreeItem *>(other)->asGoogleTestTreeItem();
|
||||||
return other->proFile() == referencingFile
|
return other->proFile() == proFile
|
||||||
&& other->name() == name
|
&& other->name() == name
|
||||||
&& gtestItem->state() == state;
|
&& gtestItem->state() == state;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user