refactor connect unittest so that it hits a local server instead of a remote server

This commit is contained in:
Benjamin Sergeant
2019-05-16 14:25:31 -07:00
parent e5edbeacb4
commit 47c9786bab
5 changed files with 70 additions and 60 deletions

View File

@ -12,6 +12,7 @@
#include <iostream>
#include <mutex>
#include <spdlog/spdlog.h>
#include <ixwebsocket/IXWebSocketServer.h>
namespace ix
{
@ -46,4 +47,6 @@ namespace ix
void log(const std::string& msg);
int getFreePort();
bool startWebSocketEchoServer(ix::WebSocketServer& server);
}