12345678910111213141516171819202122232425262728293031323334 |
- #include <gtest/gtest.h>
- #include <json.hpp>
- #include <math.h>
- #include <thread>
- #include <boost/process.hpp>
- #include <iostream>
- using namespace boost::process;
- namespace TEST_SERVER{
- class testClient : public ::testing::Test {
- public:
- child _server;
- testClient() {
- // initialization code here
- }
- void SetUp() {
- std::cout << "Launching: " << SERVER_EXE << std::endl;
- _server = child(SERVER_EXE);
- // code here will execute just before the test ensues
- }
- void TearDown() {
- // code here will be called just after the test completes
- // ok to through exceptions from here if need be
- }
- };
- TEST_F(testClient, update_intern){
- }
- //*/
- }
|