mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-06 11:57:00 +08:00
ipc client connect test with working unit tests.
This commit is contained in:
@@ -18,21 +18,19 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include "CIpcServer.h"
|
||||
#include "CIpcClient.h"
|
||||
#include "CSocketMultiplexer.h"
|
||||
#include "CEventQueue.h"
|
||||
|
||||
TEST(CIpcTests, serverSend)
|
||||
TEST(CIpcTests, connectToServer)
|
||||
{
|
||||
CSocketMultiplexer multiplexer;
|
||||
CEventQueue eventQueue;
|
||||
|
||||
CIpcServer server;
|
||||
server.listen();
|
||||
|
||||
CIpcClient client;
|
||||
client.connect();
|
||||
}
|
||||
|
||||
TEST(CIpcTests, clientSend)
|
||||
{
|
||||
CIpcServer server;
|
||||
server.listen();
|
||||
|
||||
CIpcClient client;
|
||||
client.connect();
|
||||
eventQueue.loop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user