#include "cc/base/delayed_unique_notifier.h"
#include <utility>
#include "base/containers/circular_deque.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/test_pending_task.h"
#include "base/test/test_simple_task_runner.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
namespace {
class TestNotifier : public DelayedUniqueNotifier { … };
class DelayedUniqueNotifierTest : public testing::Test { … };
TEST_F(DelayedUniqueNotifierTest, SmallDelay) { … }
TEST_F(DelayedUniqueNotifierTest, RescheduleDelay) { … }
TEST_F(DelayedUniqueNotifierTest, CancelAndHasPendingNotification) { … }
TEST_F(DelayedUniqueNotifierTest, ShutdownWithScheduledTask) { … }
TEST_F(DelayedUniqueNotifierTest, ShutdownPreventsSchedule) { … }
}
}