#include "components/reading_list/core/reading_list_local_data_batch_uploader.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/test/mock_callback.h"
#include "base/test/simple_test_clock.h"
#include "base/test/test_future.h"
#include "components/reading_list/core/dual_reading_list_model.h"
#include "components/reading_list/core/fake_reading_list_model_storage.h"
#include "components/reading_list/core/reading_list_model_impl.h"
#include "components/sync/service/local_data_description.h"
#include "components/sync/test/mock_data_type_local_change_processor.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace reading_list {
namespace {
ElementsAre;
IsEmpty;
Return;
class ReadingListLocalDataBatchUploaderTest : public ::testing::Test { … };
TEST_F(ReadingListLocalDataBatchUploaderTest, DescriptionEmptyIfModelNull) { … }
TEST_F(ReadingListLocalDataBatchUploaderTest,
DescriptionEmptyIfModelNotLoaded) { … }
TEST_F(ReadingListLocalDataBatchUploaderTest, DescriptionHasOnlyLocalData) { … }
TEST_F(ReadingListLocalDataBatchUploaderTest, MigrationNoOpsIfModelNull) { … }
TEST_F(ReadingListLocalDataBatchUploaderTest, MigrationNoOpsIfModelNotLoaded) { … }
TEST_F(ReadingListLocalDataBatchUploaderTest, MigrationUploadsLocalData) { … }
}
}