Lines Matching refs:kFakeUrl
21 static const char kFakeUrl[] = "http://localhost"; variable
233 transport->AddHandler(kFakeUrl, request_type::kGet, base::Bind(GetHandler)); in TEST()
243 std::string url = brillo::url::AppendQueryParam(kFakeUrl, "test", data); in TEST()
259 transport->AddHandler(kFakeUrl, request_type::kHead, base::Bind(HeadHandler)); in TEST()
261 auto response = http::HeadAndBlock(kFakeUrl, transport, nullptr); in TEST()
285 transport->AddHandler(kFakeUrl, request_type::kPost, base::Bind(Handler)); in TEST()
291 auto response = http::PostBinaryAndBlock(kFakeUrl, in TEST()
318 kFakeUrl, request_type::kPost, base::Bind(PostHandler, fake_data)); in TEST()
320 auto response = http::PostTextAndBlock(kFakeUrl, in TEST()
334 kFakeUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST()
337 kFakeUrl, { in TEST()
350 kFakeUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST()
357 kFakeUrl, std::move(form_data), {}, transport, nullptr); in TEST()
386 transport->AddHandler(kFakeUrl, "*", base::Bind(JsonHandler)); in TEST()
395 http::PostJsonAndBlock(kFakeUrl, &json, {}, transport, nullptr); in TEST()
404 response = http::PatchJsonAndBlock(kFakeUrl, &json, {}, transport, nullptr); in TEST()
420 transport->AddHandler(kFakeUrl, request_type::kPost, base::Bind(JsonHandler)); in TEST()
426 kFakeUrl, { in TEST()