http_transport_curl_unittest.cc | 32 curl_api_ = std::make_shared<MockCurlInterface>(); 33 transport_ = std::make_shared<Transport>(curl_api_); 35 EXPECT_CALL(*curl_api_, EasyInit()).WillOnce(Return(handle_)); 36 EXPECT_CALL(*curl_api_, EasySetOptStr(handle_, CURLOPT_CAPATH, _)) 38 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYPEER, 1)) 40 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYHOST, 2)) 42 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_PRIVATE, _)) 48 curl_api_.reset(); 52 std::shared_ptr<MockCurlInterface> curl_api_; member in class:brillo::http::curl::HttpCurlTransportTest 58 EXPECT_CALL(*curl_api_, 181 std::shared_ptr<MockCurlInterface> curl_api_; member in class:brillo::http::curl::HttpCurlTransportAsyncTest [all...] |