| 127 | } |
| 128 | |
| 129 | void CheckErrorText(const brpc::Controller& cntl, const char* error) { |
| 130 | std::size_t pos = cntl.ErrorText().find(error); |
| 131 | ASSERT_TRUE(pos != std::string::npos) << "error=" << error; |
| 132 | } |
| 133 | |
| 134 | void CheckFieldInContent(const brpc::Controller& cntl, |
| 135 | const char* name, int32_t expect) { |
no test coverage detected