1
0

Fix unit tests

This commit is contained in:
Scott E. Graves
2017-03-13 01:15:06 -05:00
parent c43f9fd80b
commit 6bd4b75d78
3 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ class CMockClient
private:
const std::string SUCESS_RESPONSE_JSON = "HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Length: {ContentLength}\r\nContent-Type: application/json\r\n\r\n{Content}";
const std::string NOT_FOUND_RESPONSE = "HTTP/1.1 404 Not Found\r\nConnection: close\r\nContent-Length: 17\r\nContent-Type: application/json\r\n\r\n{\"message\":\"404\"}";
const std::string SERVER_VERSION_SUCCESS_CONTENT = "{\"version\": \"1.1.0\"}";
const std::string SERVER_VERSION_SUCCESS_CONTENT = "{\"version\": \"1.1.1\"}";
public:
CMockClient(SOCKET socket, std::function<void(CMockClient*)> removedCallback) :

View File

@@ -3,7 +3,6 @@
#include "UnitTestConfig.h"
std::uint16_t Daemon::_iter = 0;
static const String SIA_PATH = L"..\\..\\..\\..\\3rd-party\\Sia-v1.1.0-windows-amd64";
Daemon::Daemon()
{

View File

@@ -17,6 +17,7 @@ public:
private:
static std::uint16_t _iter;
const String SIA_PATH = L"..\\..\\3rd-party\\Sia-v1.1.1-windows-amd64";
std::uint16_t _i;
PROCESS_INFORMATION pi;
STARTUPINFO si;