#include "components/download/internal/background_service/download_store.h"
#include <algorithm>
#include <memory>
#include <optional>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/uuid.h"
#include "components/download/internal/background_service/entry.h"
#include "components/download/internal/background_service/proto/entry.pb.h"
#include "components/download/internal/background_service/proto_conversions.h"
#include "components/download/internal/background_service/test/entry_utils.h"
#include "components/leveldb_proto/testing/fake_db.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
namespace download {
class DownloadStoreTest : public testing::Test { … };
TEST_F(DownloadStoreTest, Initialize) { … }
TEST_F(DownloadStoreTest, HardRecover) { … }
TEST_F(DownloadStoreTest, HardRecoverDestroyFails) { … }
TEST_F(DownloadStoreTest, HardRecoverInitFails) { … }
TEST_F(DownloadStoreTest, Update) { … }
TEST_F(DownloadStoreTest, Remove) { … }
TEST_F(DownloadStoreTest, InitializeFailed) { … }
TEST_F(DownloadStoreTest, InitialLoadFailed) { … }
TEST_F(DownloadStoreTest, UnsuccessfulUpdateOrRemove) { … }
TEST_F(DownloadStoreTest, AddThenRemove) { … }
}