Android-cuttlefish cvd tool
Namespaces | Functions | Variables
http_probe_test.cc File Reference
#include "cuttlefish/host/libs/web/http_client/http_probe.h"
#include <optional>
#include <string>
#include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "cuttlefish/host/libs/web/http_client/fake_http_client.h"
#include "cuttlefish/host/libs/web/http_client/http_client.h"
#include "cuttlefish/result/result.h"
#include "cuttlefish/result/result_matchers.h"
Include dependency graph for http_probe_test.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{http_probe_test.cc}
 

Functions

 cuttlefish::anonymous_namespace{http_probe_test.cc}::TEST (ProbeHttpObjectTests, HeadReportsTheObjectSuccess)
 
 cuttlefish::anonymous_namespace{http_probe_test.cc}::TEST (ProbeHttpObjectTests, RefusedHeadFallsBackToARangedGetSuccess)
 
 cuttlefish::anonymous_namespace{http_probe_test.cc}::TEST (ProbeHttpObjectTests, WithoutRangesSuccess)
 
 cuttlefish::anonymous_namespace{http_probe_test.cc}::TEST (ProbeHttpObjectTests, PassesHeadersThroughSuccess)
 
 cuttlefish::anonymous_namespace{http_probe_test.cc}::TEST (ProbeHttpObjectTests, MissingObjectFail)
 
 cuttlefish::anonymous_namespace{http_probe_test.cc}::TEST (ProbeHttpObjectTests, RedirectFail)
 
 cuttlefish::anonymous_namespace{http_probe_test.cc}::TEST (ProbeHttpObjectTests, ForbiddenGetAfterForbiddenHeadFail)
 

Variables

constexpr char cuttlefish::anonymous_namespace{http_probe_test.cc}::kUrl [] = "https://example.com/dist/phone-img-1.zip"
 
constexpr char cuttlefish::anonymous_namespace{http_probe_test.cc}::kSignedUrl []