Searched refs:kFakeUrl (Results 1 – 1 of 1) sorted by relevance
/external/libbrillo/brillo/http/ |
D | http_utils_unittest.cc | 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() 316 transport->AddHandler(kFakeUrl, request_type::kPost, base::Bind(PostHandler)); in TEST() 318 auto response = http::PostTextAndBlock(kFakeUrl, in TEST() 332 kFakeUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST() [all …]
|