2018-12-30 03:33:15 +01:00
|
|
|
/*
|
|
|
|
* test_runner.cpp
|
|
|
|
* Author: Benjamin Sergeant
|
|
|
|
* Copyright (c) 2018 Machine Zone. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define CATCH_CONFIG_RUNNER
|
|
|
|
#include "catch.hpp"
|
|
|
|
|
2019-01-05 02:28:13 +01:00
|
|
|
#include <ixwebsocket/IXSocket.h>
|
|
|
|
|
2019-02-21 03:59:07 +01:00
|
|
|
int main(int argc, char* argv[])
|
2018-12-30 03:33:15 +01:00
|
|
|
{
|
2019-01-05 02:28:13 +01:00
|
|
|
ix::Socket::init(); // for Windows
|
|
|
|
|
2018-12-30 03:33:15 +01:00
|
|
|
int result = Catch::Session().run(argc, argv);
|
2019-01-05 02:28:13 +01:00
|
|
|
|
|
|
|
ix::Socket::cleanup(); // for Windows
|
2018-12-30 03:33:15 +01:00
|
|
|
return result;
|
|
|
|
}
|