#include "components/reading_list/core/reading_list_model_storage_impl.h"
#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/gmock_expected_support.h"
#include "base/test/simple_test_clock.h"
#include "base/test/task_environment.h"
#include "components/reading_list/core/reading_list_entry.h"
#include "components/sync/test/data_type_store_test_util.h"
#include "components/sync/test/test_matchers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
_;
ElementsAre;
IsEmpty;
UnorderedElementsAre;
MATCHER_P(EntryHasUrl, expected_url, "") { … }
ReadingListModelStorage::LoadResultOrError LoadStorageAndWait(
ReadingListModelStorage* storage,
base::Clock* clock) { … }
class ReadingListModelStorageImplTest : public testing::Test { … };
TEST_F(ReadingListModelStorageImplTest, LoadEmpty) { … }
TEST_F(ReadingListModelStorageImplTest, SaveEntry) { … }
TEST_F(ReadingListModelStorageImplTest, RemoveEntry) { … }
TEST_F(ReadingListModelStorageImplTest, DeleteAllEntriesAndSyncMetadata) { … }
}