Searched refs:ExtractDataAsString (Results 1 – 5 of 5) sorted by relevance
/external/libbrillo/brillo/http/ |
D | http_utils_test.cc | 112 EXPECT_EQ(request_type::kPost, response->ExtractDataAsString()); in TEST() 129 EXPECT_EQ(request_type::kGet, response->ExtractDataAsString()); in TEST() 146 EXPECT_EQ(request_type::kPut, response->ExtractDataAsString()); in TEST() 240 EXPECT_EQ(request_type::kGet, response->ExtractDataAsString()); in TEST() 245 EXPECT_EQ(data, response->ExtractDataAsString()); in TEST() 264 EXPECT_EQ("", response->ExtractDataAsString()); // Must not have actual body. in TEST() 328 EXPECT_EQ(fake_data, response->ExtractDataAsString()); in TEST() 344 EXPECT_EQ("key=value&field=field+value", response->ExtractDataAsString()); in TEST() 370 EXPECT_EQ(expected_value, response->ExtractDataAsString()); in TEST()
|
D | http_request_test.cc | 175 EXPECT_EQ(resp_data, resp->ExtractDataAsString()); in TEST_F()
|
D | http_request.h | 365 std::string ExtractDataAsString();
|
D | http_request.cc | 344 std::string Response::ExtractDataAsString() { in ExtractDataAsString() function in brillo::http::Response
|
D | http_utils.cc | 397 std::string json = response->ExtractDataAsString(); in ParseJsonResponse()
|