]> git.localhorst.tv Git - blank.git/blobdiff - tst/integration/TestInstance.hpp
test missing option arguments
[blank.git] / tst / integration / TestInstance.hpp
index 354a66849f98e1ee008c837bb378821e511408f4..01fb25d65fffa74902175a118688f1b77ce86191 100644 (file)
@@ -6,6 +6,9 @@
 #include "io/LineBuffer.hpp"
 #include "net/tcp.hpp"
 
+#include <list>
+#include <string>
+
 
 namespace blank {
 namespace test {
@@ -17,7 +20,7 @@ public:
        /// will be prepended by the constructor).
        /// If connect is true, a command service connection will be
        /// established during construction.
-       explicit TestInstance(const Process::Arguments &args, bool connect = false);
+       explicit TestInstance(const Process::Arguments &args, bool connect = false, bool temp_save = true);
        ~TestInstance();
 
 public:
@@ -81,6 +84,10 @@ private:
        LineBuffer<BUFSIZ> out_buf;
        LineBuffer<BUFSIZ> err_buf;
        LineBuffer<BUFSIZ> cmd_buf;
+       std::string name;
+       std::list<std::string> past_out;
+       std::list<std::string> past_err;
+       std::list<std::string> past_cmd;
 
 };