| 94 | virtual ~EchoServiceImpl() {} |
| 95 | |
| 96 | void SetTestCase(const test::TestCase& test_case) { |
| 97 | _test_case = test_case; |
| 98 | _next_stage_start = _test_case.latency_stage_list(0).duration_sec() + |
| 99 | butil::cpuwide_time_s(); |
| 100 | _stage_index = 0; |
| 101 | _running_case = false; |
| 102 | DisplayStage(_test_case.latency_stage_list(_stage_index)); |
| 103 | } |
| 104 | |
| 105 | void StartTestCase() { |
| 106 | CHECK(!_running_case); |
no test coverage detected