Home
last modified time | relevance | path

Searched refs:ExtractDataAsString (Results 1 – 5 of 5) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_utils_test.cc112 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()
Dhttp_request_test.cc175 EXPECT_EQ(resp_data, resp->ExtractDataAsString()); in TEST_F()
Dhttp_request.h365 std::string ExtractDataAsString();
Dhttp_request.cc344 std::string Response::ExtractDataAsString() { in ExtractDataAsString() function in brillo::http::Response
Dhttp_utils.cc397 std::string json = response->ExtractDataAsString(); in ParseJsonResponse()