Searched refs:expect_body (Results 1 – 2 of 2) sorted by relevance
38 const char* expect_body, ...) { in test_request_succeeds() argument65 if (expect_body != nullptr) { in test_request_succeeds()66 GPR_ASSERT(strlen(expect_body) == request.body_length); in test_request_succeeds()67 GPR_ASSERT(0 == memcmp(expect_body, request.body, request.body_length)); in test_request_succeeds()72 va_start(args, expect_body); in test_request_succeeds()96 const char* expect_body, ...) { in test_succeeds() argument120 if (expect_body != nullptr) { in test_succeeds()121 GPR_ASSERT(strlen(expect_body) == response.body_length); in test_succeeds()122 GPR_ASSERT(0 == memcmp(expect_body, response.body, response.body_length)); in test_succeeds()127 va_start(args, expect_body); in test_succeeds()
507 def expect_body(self): member in NNTPv1Handler686 self.expect_body()699 self.expect_body()