Move functions to utils class

Change-Id: I8fd3d32b22976a11fd5bc5e3282e2cde0c409349
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
Christian Stenger
2016-01-05 14:05:23 +01:00
committed by Niels Weber
parent 54d753574e
commit 0502bb3cf7
3 changed files with 28 additions and 14 deletions

View File

@@ -359,7 +359,7 @@ bool GTestVisitor::visit(CPlusPlus::FunctionDefinitionAST *ast)
CPlusPlus::LookupContext lc;
const QString prettyName = m_overview.prettyName(lc.fullyQualifiedName(ast->symbol));
if (!AutoTest::Internal::isGTestMacro(prettyName))
if (!TestUtils::isGTestMacro(prettyName))
return false;
CPlusPlus::Argument *testCaseNameArg = ast->symbol->argumentAt(0)->asArgument();