Android-cuttlefish cvd tool
Protected Member Functions | Protected Attributes | List of all members
cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests Class Reference
Inheritance diagram for cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests:
Collaboration graph
[legend]

Protected Member Functions

std::string Path () const
 
std::string PartPath (absl::string_view version=kVersion) const
 
void WritePart (const std::string &contents, absl::string_view version=kVersion)
 
void ServeContents (bool honor_ranges=true)
 

Protected Attributes

FakeHttpClient http_client_
 
TemporaryDir directory_
 
std::vector< std::vector< std::string > > requests_
 

Member Function Documentation

◆ PartPath()

std::string cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests::PartPath ( absl::string_view  version = kVersion) const
inlineprotected

◆ Path()

std::string cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests::Path ( ) const
inlineprotected

◆ ServeContents()

void cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests::ServeContents ( bool  honor_ranges = true)
inlineprotected

◆ WritePart()

void cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests::WritePart ( const std::string &  contents,
absl::string_view  version = kVersion 
)
inlineprotected

Member Data Documentation

◆ directory_

TemporaryDir cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests::directory_
protected

◆ http_client_

FakeHttpClient cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests::http_client_
protected

◆ requests_

std::vector<std::vector<std::string> > cuttlefish::anonymous_namespace{url_download_test.cpp}::UrlDownloadTests::requests_
protected

The documentation for this class was generated from the following file: