- (weird) linker error on windows caused by using different include.
- IpcTests using private field which had a public accessor.
- some includes using wrong lib.
This commit is contained in:
Nick Bolton
2014-02-28 15:04:49 +00:00
parent ad8905ccbf
commit f4bb72ce52
14 changed files with 22 additions and 50 deletions

View File

@@ -19,8 +19,8 @@
#include "platform/MSWindowsClipboard.h"
#include "platform/IMSWindowsClipboardFacade.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "test/global/gmock.h"
#include "test/global/gtest.h"
class CMSWindowsClipboardTests : public ::testing::Test
{

View File

@@ -18,17 +18,16 @@
#define TEST_ENV
#include "test/global/access.h"
#include "test/mock/synergy/MockEventQueue.h"
#include "test/mock/synergy/MockKeyMap.h"
#include "platform/MSWindowsKeyState.h"
#include "platform/MSWindowsDesks.h"
#include "platform/MSWindowsScreen.h"
#include "platform/MSWindowsScreenSaver.h"
#include "synergy/CMockEventQueue.h"
#include "synergy/CMockKeyMap.h"
#include "base/TMethodJob.h"
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "test/global/gtest.h"
#include "test/global/gmock.h"
// wParam = flags, HIBYTE(lParam) = virtual key, LOBYTE(lParam) = scan code
#define SYNERGY_MSG_FAKE_KEY SYNERGY_HOOK_LAST_MSG + 4

View File

@@ -15,7 +15,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "test/global/access.h"
#include "platform/OSXScreen.h"
#include "arch/Arch.h"
#include "base/EventQueue.h"

View File

@@ -18,7 +18,7 @@
#include "platform/XWindowsClipboard.h"
#include <gtest/gtest.h>
#include "test/global/gtest.h"
#include <iostream>
class CXWindowsClipboardTests : public ::testing::Test

View File

@@ -32,8 +32,8 @@
# include <X11/XKBlib.h>
#endif
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "test/global/gtest.h"
#include "test/global/gmock.h"
#include <errno.h>
class CXWindowsKeyStateTests : public ::testing::Test

View File

@@ -22,7 +22,7 @@
#include "test/mock/synergy/MockEventQueue.h"
#include "platform/XWindowsScreenSaver.h"
#include <gtest/gtest.h>
#include "test/global/gtest.h"
#include <X11/Xlib.h>
using ::testing::_;

View File

@@ -19,7 +19,7 @@
#include "platform/XWindowsScreen.h"
#include "synergy/CMockEventQueue.h"
#include <gtest/gtest.h>
#include "test/global/gtest.h"
using ::testing::_;