Searched refs:kFakeUrl (Results 1 - 1 of 1) sorted by relevance

/external/libbrillo/brillo/http/
H A Dhttp_utils_unittest.cc21 static const char kFakeUrl[] = "http://localhost"; member in namespace:brillo::http
233 transport->AddHandler(kFakeUrl, request_type::kGet, base::Bind(GetHandler));
243 std::string url = brillo::url::AppendQueryParam(kFakeUrl, "test", data);
259 transport->AddHandler(kFakeUrl, request_type::kHead, base::Bind(HeadHandler));
261 auto response = http::HeadAndBlock(kFakeUrl, transport, nullptr);
285 transport->AddHandler(kFakeUrl, request_type::kPost, base::Bind(Handler));
291 auto response = http::PostBinaryAndBlock(kFakeUrl,
318 kFakeUrl, request_type::kPost, base::Bind(PostHandler, fake_data));
320 auto response = http::PostTextAndBlock(kFakeUrl,
334 kFakeUrl, request_typ
[all...]

Completed in 5184 milliseconds