ipc client connect test with working unit tests.

This commit is contained in:
Nick Bolton
2012-06-29 11:33:21 +00:00
parent 7d8fd5927d
commit 218e98398f
15 changed files with 86 additions and 40 deletions

View File

@@ -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();
}