#include "components/sync/engine/get_updates_processor.h"
#include <stdint.h>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "components/sync/engine/cycle/debug_info_getter.h"
#include "components/sync/engine/cycle/nudge_tracker.h"
#include "components/sync/engine/cycle/status_controller.h"
#include "components/sync/engine/get_updates_delegate.h"
#include "components/sync/engine/update_handler.h"
#include "components/sync/protocol/data_type_progress_marker.pb.h"
#include "components/sync/test/data_type_test_util.h"
#include "components/sync/test/mock_debug_info_getter.h"
#include "components/sync/test/mock_invalidation.h"
#include "components/sync/test/mock_update_handler.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
namespace {
}
class GetUpdatesProcessorBaseTest : public ::testing::Test { … };
class GetUpdatesProcessorTest : public GetUpdatesProcessorBaseTest { … };
TEST_F(GetUpdatesProcessorTest, BookmarkNudge) { … }
TEST_F(GetUpdatesProcessorTest, NotifyNormalDelegate) { … }
TEST_F(GetUpdatesProcessorTest, NotifyConfigureDelegate) { … }
TEST_F(GetUpdatesProcessorTest, NotifyPollGetUpdatesDelegate) { … }
TEST_F(GetUpdatesProcessorTest, InitialSyncRequest) { … }
TEST_F(GetUpdatesProcessorTest, ConfigureTest) { … }
TEST_F(GetUpdatesProcessorTest, PollTest) { … }
TEST_F(GetUpdatesProcessorTest, RetryTest) { … }
TEST_F(GetUpdatesProcessorTest, NudgeWithRetryTest) { … }
TEST_F(GetUpdatesProcessorTest, InvalidResponse) { … }
TEST_F(GetUpdatesProcessorTest, MoreToDownloadResponse) { … }
TEST_F(GetUpdatesProcessorTest, NormalResponseTest) { … }
class GetUpdatesProcessorApplyUpdatesTest : public GetUpdatesProcessorBaseTest { … };
TEST_F(GetUpdatesProcessorApplyUpdatesTest, Normal) { … }
TEST_F(GetUpdatesProcessorApplyUpdatesTest, Configure) { … }
TEST_F(GetUpdatesProcessorApplyUpdatesTest, Poll) { … }
}