#include "components/download/internal/background_service/proto_conversions.h"
#include <memory>
#include <utility>
#include "base/uuid.h"
#include "components/download/internal/background_service/entry.h"
#include "components/download/internal/background_service/test/entry_utils.h"
#include "services/network/public/mojom/fetch_api.mojom-shared.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
constexpr char kTestUrl[] = …;
constexpr char kKey[] = …;
constexpr char kValue[] = …;
}
namespace download {
class ProtoConversionsTest : public testing::Test, public ProtoConversions { … };
TEST_F(ProtoConversionsTest, StateConversion) { … }
TEST_F(ProtoConversionsTest, DownloadClientConversion) { … }
TEST_F(ProtoConversionsTest, NetworkRequirementsConversion) { … }
TEST_F(ProtoConversionsTest, BatteryRequirementsConversion) { … }
TEST_F(ProtoConversionsTest, SchedulingPriorityConversion) { … }
TEST_F(ProtoConversionsTest, SchedulingParamsConversion) { … }
TEST_F(ProtoConversionsTest, RequestParamsWithHeadersConversion) { … }
TEST_F(ProtoConversionsTest, RequestParamsWithMissingCredentialsMode) { … }
TEST_F(ProtoConversionsTest, EntryConversion) { … }
TEST_F(ProtoConversionsTest, EntryVectorConversion) { … }
}