1 #ifndef BLANK_TEST_INTEGRATION_TESTSERVER_HPP_
2 #define BLANK_TEST_INTEGRATION_TESTSERVER_HPP_
4 #include "app/Process.hpp"
5 #include "io/filesystem.hpp"
6 #include "io/LineBuffer.hpp"
20 /// wait until server writes given line to stdout
21 void WaitOutputLine(const std::string &line);
23 /// wait for given message on the command service
24 void WaitCommandMessage(const std::string &line);
25 /// wait for given error on the command service
26 void WaitCommandError(const std::string &line);
27 /// wait for given broadcast on the command service
28 void WaitCommandBroadcast(const std::string &line);
29 /// wait for given line on the command service
30 void WaitCommandLine(const std::string &line);
32 /// send command line to server
33 void SendCommand(const std::string &);
40 LineBuffer<BUFSIZ> serv_buf;
41 LineBuffer<BUFSIZ> sock_buf;