forked from qt-creator/qt-creator
UnitTests: Rename CLANGBACKEND_TESTS in UNIT_TESTS
Change-Id: I26635a0c85edcc90cdffb93d3f9ae4ad4c8cb98e Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "cmbunregistertranslationunitsforeditormessage.h"
|
#include "cmbunregistertranslationunitsforeditormessage.h"
|
||||||
|
|
||||||
#ifdef CLANGBACKEND_TESTS
|
#ifdef UNIT_TESTS
|
||||||
#include <gtest/gtest-printers.h>
|
#include <gtest/gtest-printers.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ QDebug operator<<(QDebug debug, const UnregisterTranslationUnitsForEditorMessage
|
|||||||
return debug;
|
return debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CLANGBACKEND_TESTS
|
#ifdef UNIT_TESTS
|
||||||
void PrintTo(const UnregisterTranslationUnitsForEditorMessage &message, ::std::ostream* os)
|
void PrintTo(const UnregisterTranslationUnitsForEditorMessage &message, ::std::ostream* os)
|
||||||
{
|
{
|
||||||
*os << "UnregisterTranslationUnitsForEditorMessage(";
|
*os << "UnregisterTranslationUnitsForEditorMessage(";
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ osx:QMAKE_CXXFLAGS = -stdlib=libc++
|
|||||||
|
|
||||||
DEFINES += \
|
DEFINES += \
|
||||||
QT_NO_CAST_FROM_ASCII \
|
QT_NO_CAST_FROM_ASCII \
|
||||||
CLANGBACKEND_TESTS \
|
UNIT_TESTS \
|
||||||
DONT_CHECK_MESSAGE_COUNTER \
|
DONT_CHECK_MESSAGE_COUNTER \
|
||||||
TESTDATA_DIR=\"R\\\"xxx($$PWD/data)xxx\\\"\"
|
TESTDATA_DIR=\"R\\\"xxx($$PWD/data)xxx\\\"\"
|
||||||
win32-msvc*:QMAKE_CXXFLAGS_WARN_ON -= -w34100 # 'unreferenced formal parameter' in MATCHER_* functions
|
win32-msvc*:QMAKE_CXXFLAGS_WARN_ON -= -w34100 # 'unreferenced formal parameter' in MATCHER_* functions
|
||||||
|
|||||||
Reference in New Issue
Block a user