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:
Nikolai Kosjar
2015-07-01 14:50:35 +02:00
committed by Marco Bubke
parent ce51e70d45
commit 9e4a4586f9
22 changed files with 23 additions and 22 deletions

View File

@@ -28,9 +28,10 @@
**
****************************************************************************/
#include "echoipcserver.h"
#include <cmbcommands.h>
#include <connectionserver.h>
#include <echoipcserver.h>
#include <QCoreApplication>

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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>

View File

@@ -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;

View File

@@ -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 {

View File

@@ -33,7 +33,7 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <gtest-qt-printing.h>
#include "gtest-qt-printing.h"
namespace {

View File

@@ -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[])
{

View File

@@ -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:

View File

@@ -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:

View File

@@ -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>

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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>