forked from qt-creator/qt-creator
Clang: Tests: Fix unit tests compilation on Windows
Change-Id: Id9e51de3b2bcb273fd2268ba7f7192f80dee1f53 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
committed by
Marco Bubke
parent
ce51e70d45
commit
9e4a4586f9
@@ -28,9 +28,10 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "echoipcserver.h"
|
||||
|
||||
#include <cmbcommands.h>
|
||||
#include <connectionserver.h>
|
||||
#include <echoipcserver.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
using testing::Property;
|
||||
using testing::Contains;
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
using namespace ClangBackEnd;
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
#include <QBuffer>
|
||||
#include <QProcess>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
using ClangBackEnd::CodeCompletionsExtractor;
|
||||
using ClangBackEnd::ClangCodeCompleteResults;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
class MockIpcClient : public ClangBackEnd::IpcClientInterface {
|
||||
public:
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
class MockIpcServer : public ClangBackEnd::IpcServerInterface {
|
||||
public:
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
using namespace testing;
|
||||
namespace CodeModelBackeEndTest {
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
class SqliteStatement : public ::testing::Test
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
using namespace ::testing;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
using ClangBackEnd::TranslationUnit;
|
||||
using ClangBackEnd::UnsavedFiles;
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest-qt-printing.h>
|
||||
#include "gtest-qt-printing.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
Reference in New Issue
Block a user