@@ -20,7 +20,7 @@ TEST_CASE(
20
20
commands.push_back (" /bin/echo" );
21
21
commands.push_back (to_be_echoed);
22
22
#endif
23
- piped_processt process = piped_processt (commands);
23
+ piped_processt process (commands);
24
24
25
25
// This is an indirect way to detect when the pipe has something. This
26
26
// could (in theory) also return when there is an error, but this unit
@@ -43,7 +43,7 @@ TEST_CASE(
43
43
const std::string expected_error (" Launching abcde failed" );
44
44
commands.push_back (" abcde" );
45
45
#endif
46
- piped_processt process = piped_processt (commands);
46
+ piped_processt process (commands);
47
47
48
48
// This is an indirect way to detect when the pipe has something. This
49
49
// could (in theory) also return when there is an error, but this unit
@@ -78,7 +78,7 @@ TEST_CASE(
78
78
SYSTEMTIME st;
79
79
GetSystemTime (&st);
80
80
WORD calc = 3600 * st.wHour + 60 * st.wMinute + st.wSecond ;
81
- piped_processt process = piped_processt (commands);
81
+ piped_processt process (commands);
82
82
process.~piped_processt ();
83
83
GetSystemTime (&st);
84
84
// New time minus old time, could go wrong at midnight
@@ -87,7 +87,7 @@ TEST_CASE(
87
87
// Currently not working under Linxu/MacOS?!
88
88
// commands.push_back("sleep 6");
89
89
// time_t calc = time(NULL);
90
- // piped_processt process = piped_processt (commands);
90
+ // piped_processt process(commands);
91
91
// process.~piped_processt();
92
92
// calc = time(NULL) - calc;
93
93
size_t calc = 0 ;
@@ -106,7 +106,7 @@ TEST_CASE(
106
106
std::vector<std::string> commands;
107
107
commands.push_back (" z3" );
108
108
commands.push_back (" -in" );
109
- piped_processt process = piped_processt (commands);
109
+ piped_processt process (commands);
110
110
111
111
REQUIRE (
112
112
process.send (" (echo \" hi\" )\n " ) ==
@@ -128,7 +128,7 @@ TEST_CASE(
128
128
commands.push_back (" z3" );
129
129
commands.push_back (" -in" );
130
130
const std::string termination_statement = " (exit)\n " ;
131
- piped_processt process = piped_processt (commands);
131
+ piped_processt process (commands);
132
132
133
133
REQUIRE (
134
134
process.send (" (echo \" hi\" )\n " ) ==
@@ -158,7 +158,7 @@ TEST_CASE(
158
158
commands.push_back (" z3" );
159
159
commands.push_back (" -in" );
160
160
commands.push_back (" -smt2" );
161
- piped_processt process = piped_processt (commands);
161
+ piped_processt process (commands);
162
162
163
163
std::string message =
164
164
" (set-logic QF_LIA) (declare-const x Int) (declare-const y Int) (assert (> "
@@ -182,7 +182,7 @@ TEST_CASE(
182
182
commands.push_back (" z3" );
183
183
commands.push_back (" -in" );
184
184
commands.push_back (" -smt2" );
185
- piped_processt process = piped_processt (commands);
185
+ piped_processt process (commands);
186
186
187
187
std::string statement =
188
188
" (set-logic QF_LIA) (declare-const x Int) (declare-const y Int) (assert (> "
@@ -204,7 +204,7 @@ TEST_CASE(
204
204
std::vector<std::string> commands;
205
205
commands.push_back (" z3" );
206
206
commands.push_back (" -in" );
207
- piped_processt process = piped_processt (commands);
207
+ piped_processt process (commands);
208
208
209
209
REQUIRE (
210
210
process.send (" (echo \" hi\" )\n " ) ==
@@ -234,7 +234,7 @@ TEST_CASE(
234
234
commands.push_back (" z3" );
235
235
commands.push_back (" -in" );
236
236
commands.push_back (" -smt2" );
237
- piped_processt process = piped_processt (commands);
237
+ piped_processt process (commands);
238
238
239
239
std::string statement =
240
240
" (set-logic QF_LIA) (declare-const x Int) (declare-const y Int) (assert (> "
@@ -290,7 +290,7 @@ TEST_CASE(
290
290
commands.push_back (" z3" );
291
291
commands.push_back (" -in" );
292
292
commands.push_back (" -smt2" );
293
- piped_processt process = piped_processt (commands);
293
+ piped_processt process (commands);
294
294
295
295
std::string statement =
296
296
" (set-logic QF_LIA) (declare-const x Int) (declare-const y Int) (assert (> "
0 commit comments