add simple unittest

This commit is contained in:
Benjamin Sergeant
2018-12-29 18:33:15 -08:00
parent 3b67032adb
commit 43cd6d34ca
17 changed files with 15196 additions and 1 deletions

24
test/IXTest.h Normal file
View File

@ -0,0 +1,24 @@
/*
* IXTest.h
* Author: Benjamin Sergeant
* Copyright (c) 2018 Machine Zone. All rights reserved.
*/
#pragma once
#include <string>
#include <vector>
#include <sstream>
namespace ix
{
// Sleep for ms milliseconds.
void msleep(int ms);
// Generate a relatively random string
std::string generateSessionId();
// Record and report websocket traffic
void setupWebSocketTrafficTrackerCallback();
void reportWebSocketTraffic();
}