forked from qt-creator/qt-creator
AutoTest: Fix detection of GTEST_TEST
Googletest allows specifying tests with the GTEST_TEST macro which was ignored until now. Fixes: QTCREATORBUG-23228 Change-Id: I7dffab890e002000b32f7cd5b7444dc06fabe35a Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -34,7 +34,8 @@ namespace GTestUtils {
|
||||
|
||||
static const QStringList valid = {
|
||||
QStringLiteral("TEST"), QStringLiteral("TEST_F"), QStringLiteral("TEST_P"),
|
||||
QStringLiteral("TYPED_TEST"), QStringLiteral("TYPED_TEST_P")
|
||||
QStringLiteral("TYPED_TEST"), QStringLiteral("TYPED_TEST_P"),
|
||||
QStringLiteral("GTEST_TEST")
|
||||
};
|
||||
|
||||
bool isGTestMacro(const QString ¯o)
|
||||
|
Reference in New Issue
Block a user