IXWebSocket/test/test_runner.cpp

21 lines
392 B
C++
Raw Normal View History

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>
2018-12-30 03:33:15 +01:00
int main(int argc, char* argv[])
{
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;
}