test_Server.cpp 772 B

12345678910111213141516171819202122232425262728293031323334
  1. #include <gtest/gtest.h>
  2. #include <json.hpp>
  3. #include <math.h>
  4. #include <thread>
  5. #include <boost/process.hpp>
  6. #include <iostream>
  7. using namespace boost::process;
  8. namespace TEST_SERVER{
  9. class testClient : public ::testing::Test {
  10. public:
  11. child _server;
  12. testClient() {
  13. // initialization code here
  14. }
  15. void SetUp() {
  16. std::cout << "Launching: " << SERVER_EXE << std::endl;
  17. _server = child(SERVER_EXE);
  18. // code here will execute just before the test ensues
  19. }
  20. void TearDown() {
  21. // code here will be called just after the test completes
  22. // ok to through exceptions from here if need be
  23. }
  24. };
  25. TEST_F(testClient, update_intern){
  26. }
  27. //*/
  28. }