Home
last modified time | relevance | path

Searched refs:expect_body (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/test/core/http/
Dparser_test.cc38 const char* expect_body, ...) { in test_request_succeeds() argument
65 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() argument
120 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()
/external/python/cpython3/Lib/test/
Dtest_nntplib.py463 def expect_body(self): member in NNTPv1Handler
642 self.expect_body()
655 self.expect_body()