mirror of
https://github.com/debauchee/barrier.git
synced 2026-06-30 00:46:17 +08:00
fixed:
- (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:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "platform/XWindowsClipboard.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "test/global/gtest.h"
|
||||
#include <iostream>
|
||||
|
||||
class CXWindowsClipboardTests : public ::testing::Test
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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::_;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "platform/XWindowsScreen.h"
|
||||
#include "synergy/CMockEventQueue.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "test/global/gtest.h"
|
||||
|
||||
using ::testing::_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user