Home
last modified time | relevance | path

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

12

/dports/mail/dovecot/dovecot-2.3.17/src/lib-mail/
H A Dtest-message-search.c29 bool expect_body; member
166 .expect_body = TRUE, in test_message_search()
188 .expect_body = FALSE, in test_message_search()
202 .expect_body = FALSE, in test_message_search()
228 .expect_body = TRUE, in test_message_search()
248 .expect_body = TRUE, in test_message_search()
255 .expect_body = TRUE, in test_message_search()
286 .expect_body = TRUE, in test_message_search()
293 .expect_body = TRUE, in test_message_search()
300 .expect_body = TRUE, in test_message_search()
[all …]
/dports/devel/grpc134/grpc-1.34.1/test/core/http/
H A Dparser_test.cc41 const char* expect_body, ...) { in test_request_succeeds() argument
68 if (expect_body != nullptr) { in test_request_succeeds()
69 GPR_ASSERT(strlen(expect_body) == request.body_length); in test_request_succeeds()
70 GPR_ASSERT(0 == memcmp(expect_body, request.body, request.body_length)); in test_request_succeeds()
75 va_start(args, expect_body); in test_request_succeeds()
99 const char* expect_body, ...) { in test_succeeds() argument
123 if (expect_body != nullptr) { in test_succeeds()
124 GPR_ASSERT(strlen(expect_body) == response.body_length); in test_succeeds()
125 GPR_ASSERT(0 == memcmp(expect_body, response.body, response.body_length)); in test_succeeds()
130 va_start(args, expect_body); in test_succeeds()
/dports/devel/grpc/grpc-1.42.0/test/core/http/
H A Dparser_test.cc41 const char* expect_body, ...) { in test_request_succeeds() argument
68 if (expect_body != nullptr) { in test_request_succeeds()
69 GPR_ASSERT(strlen(expect_body) == request.body_length); in test_request_succeeds()
70 GPR_ASSERT(0 == memcmp(expect_body, request.body, request.body_length)); in test_request_succeeds()
75 va_start(args, expect_body); in test_request_succeeds()
99 const char* expect_body, ...) { in test_succeeds() argument
123 if (expect_body != nullptr) { in test_succeeds()
124 GPR_ASSERT(strlen(expect_body) == response.body_length); in test_succeeds()
125 GPR_ASSERT(0 == memcmp(expect_body, response.body, response.body_length)); in test_succeeds()
130 va_start(args, expect_body); in test_succeeds()
/dports/devel/grpc130/grpc-1.30.2/test/core/http/
H A 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/test/core/http/
H A 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()
/dports/www/kohana/kohana-v3.3.6/system/tests/kohana/request/
H A DClientTest.php139 * @param string $expect_body Body text expected in the eventual result
141 public function test_follows_redirects($follow, $request_url, $expect_body) argument
148 $this->assertEquals($expect_body, $data['body']);
269 * @param string $expect_body Expected value of body() in the second request
271 public function test_follows_with_body_if_not_get($original_method, $status, $expect_body) argument
282 $this->assertEquals($expect_body, $data['rq_body']);
383 * @param string $expect_body Response body content to expect
385 public function test_triggers_header_callbacks($callbacks, $uri, $expect_body) argument
393 $this->assertEquals($expect_body, $data['body']);
/dports/net/py-python-glanceclient/python-glanceclient-3.5.0/glanceclient/tests/unit/v1/
H A Dtest_image_members.py94 expect_body = {'member': {'can_share': True}}
96 sorted(expect_body.items()))]
117 expect_body = {
124 sorted(expect_body.items()))]
/dports/net/py-python-glanceclient/python-glanceclient-3.5.0/glanceclient/tests/unit/v2/
H A Dtest_images.py1236 expect_body = [[('op', 'replace'), ('path', '/name'),
1240 ('PATCH', '/v2/images/%s' % image_id, expect_hdrs, expect_body),
1260 ('PATCH', '/v2/images/%s' % image_id, expect_hdrs, expect_body),
1277 expect_body = [[('op', 'remove'), ('path', '/barney')]]
1280 ('PATCH', '/v2/images/%s' % image_id, expect_hdrs, expect_body),
1299 expect_body = ([[('op', 'replace'), ('path', '/barney'),
1303 ('PATCH', '/v2/images/%s' % image_id, expect_hdrs, expect_body),
1325 ('PATCH', '/v2/images/%s' % image_id, expect_hdrs, expect_body),
1351 ('PATCH', '/v2/images/%s' % image_id, expect_hdrs, expect_body),
1365 expect_body = [[('op', 'replace'), ('path', '/color'),
[all …]
/dports/www/py-httpie/httpie-2.6.0/tests/utils/matching/
H A Dparsing.py63 s = expect_body(s)
76 def expect_body(s: str) -> str: function
/dports/net/py-python-neutronclient/python-neutronclient-7.2.1/neutronclient/tests/unit/
H A Dtest_cli20.py725 expect_body = self.client.serialize(body)
730 resp = (MyResp(200, resp_headers), expect_body)
739 'PUT', body=expect_body,
778 expect_body = self.client.serialize(body)
780 resp = (MyResp(200, resp_headers), expect_body)
789 'PUT', body=expect_body,
872 expect_body = self.client.serialize(body)
874 resp = (MyResp(200, resp_headers), expect_body)
883 'PUT', body=expect_body,
895 expect_body = self.client.serialize(body)
[all …]
/dports/devel/brz/breezy-3.2.0/breezy/bzr/smart/
H A Dmessage.py181 def read_response_tuple(self, expect_body=False): argument
307 def read_response_tuple(self, expect_body=False): argument
310 if not expect_body:
H A Dclient.py191 expect_body=self.expect_response_body)
203 expect_body=self.expect_response_body)
H A Dprotocol.py708 def read_response_tuple(self, expect_body=False): argument
716 if not expect_body:
827 def read_response_tuple(self, expect_body=False): argument
841 if not expect_body:
/dports/www/serf/serf-1.3.9/buckets/
H A Dresponse_buckets.c53 static int expect_body(response_context_t *ctx) in expect_body() function
281 if (!expect_body(ctx)) { in run_machine()
/dports/devel/boost-docs/boost_1_72_0/libs/beast/test/beast/http/
H A Dbasic_parser.cpp130 class expect_body class in boost::beast::http::basic_parser_test
136 expect_body(expect_body&&) = default;
138 expect_body(suite& s, std::string const& v) in expect_body() function in boost::beast::http::basic_parser_test::expect_body
944 expect_body(*this, "1")); in testConnectionField()
950 expect_body(*this, "hello")); in testConnectionField()
/dports/devel/boost-python-libs/boost_1_72_0/libs/beast/test/beast/http/
H A Dbasic_parser.cpp130 class expect_body class in boost::beast::http::basic_parser_test
136 expect_body(expect_body&&) = default;
138 expect_body(suite& s, std::string const& v) in expect_body() function in boost::beast::http::basic_parser_test::expect_body
944 expect_body(*this, "1")); in testConnectionField()
950 expect_body(*this, "hello")); in testConnectionField()
/dports/devel/boost-libs/boost_1_72_0/libs/beast/test/beast/http/
H A Dbasic_parser.cpp130 class expect_body class in boost::beast::http::basic_parser_test
136 expect_body(expect_body&&) = default;
138 expect_body(suite& s, std::string const& v) in expect_body() function in boost::beast::http::basic_parser_test::expect_body
944 expect_body(*this, "1")); in testConnectionField()
950 expect_body(*this, "hello")); in testConnectionField()
/dports/devel/hyperscan/boost_1_75_0/libs/beast/test/beast/http/
H A Dbasic_parser.cpp131 class expect_body class in boost::beast::http::basic_parser_test
137 expect_body(expect_body&&) = default;
139 expect_body(suite& s, std::string const& v) in expect_body() function in boost::beast::http::basic_parser_test::expect_body
947 expect_body(*this, "1")); in testConnectionField()
953 expect_body(*this, "hello")); in testConnectionField()
/dports/net/belle-sip/belle-sip-1.6.3-0/src/
H A Dchannel.c373 int expect_body=FALSE; in check_body() local
377 expect_body=obj->input_stream.content_length>0; in check_body()
393 expect_body=TRUE; in check_body()
396 if (expect_body){ in check_body()
420 return expect_body; in check_body()
/dports/www/polipo/polipo-1.1.1/
H A Dserver.c1875 int expect_body; in httpServerHandlerHeaders() local
2042 expect_body = 0; in httpServerHandlerHeaders()
2044 expect_body = (len != 0); in httpServerHandlerHeaders()
2046 expect_body = 1; in httpServerHandlerHeaders()
2094 if(expect_body && content_range.from < 0 && content_range.to < 0) in httpServerHandlerHeaders()
2281 if(!expect_body) { in httpServerHandlerHeaders()
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_nntplib.py488 def expect_body(self): member in NNTPv1Handler
667 self.expect_body()
680 self.expect_body()
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_nntplib.py488 def expect_body(self): member in NNTPv1Handler
667 self.expect_body()
680 self.expect_body()
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_nntplib.py488 def expect_body(self): member in NNTPv1Handler
667 self.expect_body()
680 self.expect_body()
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_nntplib.py488 def expect_body(self): member in NNTPv1Handler
667 self.expect_body()
680 self.expect_body()
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_nntplib.py488 def expect_body(self): member in NNTPv1Handler
667 self.expect_body()
680 self.expect_body()

12