| 157 | }; |
| 158 | |
| 159 | struct hstest_thread { |
| 160 | struct arg_type { |
| 161 | size_t id; |
| 162 | const hstest_shared& sh; |
| 163 | bool watch_flag; |
| 164 | arg_type(size_t i, const hstest_shared& s, bool w) |
| 165 | : id(i), sh(s), watch_flag(w) { } |
| 166 | }; |
| 167 | hstest_thread(const arg_type& a) : arg(a), io_success_count(0), |
| 168 | op_success_count(0), response_min(99999), response_max(0), |
| 169 | response_sum(0), response_avg(0) { } |
| 170 | void operator ()(); |
| 171 | void test_1(); |
| 172 | void test_2_3(int test_num); |
| 173 | void test_4_5(int test_num); |
| 174 | void test_6(int test_num); |
| 175 | void test_7(int test_num); |
| 176 | void test_8(int test_num); |
| 177 | void test_9(int test_num); |
| 178 | void test_10(int test_num); |
| 179 | void test_11(int test_num); |
| 180 | void test_12(int test_num); |
| 181 | void test_21(int test_num); |
| 182 | void test_22(int test_num); |
| 183 | void test_watch(); |
| 184 | void sleep_if(); |
| 185 | void set_timing(double time_spent); |
| 186 | arg_type arg; |
| 187 | auto_file fd; |
| 188 | size_t io_success_count; |
| 189 | size_t op_success_count; |
| 190 | double response_min, response_max, response_sum, response_avg; |
| 191 | }; |
| 192 | |
| 193 | void |
| 194 | hstest_thread::test_1() |
nothing calls this directly
no outgoing calls
no test coverage detected