#include "base/task/sequence_manager/work_deduplicator.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace sequence_manager {
namespace internal {
NextTask;
ShouldScheduleWork;
TEST(WorkDeduplicatorTest, BindToCurrentThreadWithoutPriorOnWorkRequested) { … }
TEST(WorkDeduplicatorTest, OnWorkRequestedUnBound) { … }
TEST(WorkDeduplicatorTest, OnWorkRequestedOnWorkStarted) { … }
TEST(WorkDeduplicatorTest, TaskRequestedWorkButDidCheckForMoreWorkDelayed) { … }
TEST(
WorkDeduplicatorTest,
TaskRequestedWorkButDidCheckForMoreWorkDelayedAndCrossThreadWorkRequested) { … }
TEST(WorkDeduplicatorTest, TaskRequestedWorkAndDidCheckForMoreWorkImmediate) { … }
TEST(WorkDeduplicatorTest,
TaskRequestedWorkAndDidCheckForMoreWorkImmediateCrossThreadWorkRequested) { … }
TEST(WorkDeduplicatorTest, DidCheckForMoreWorkDelayed) { … }
TEST(WorkDeduplicatorTest,
DidCheckForMoreWorkDelayedAndCrossThreadWorkRequested) { … }
TEST(WorkDeduplicatorTest, DidCheckForMoreWorkImmediate) { … }
TEST(WorkDeduplicatorTest,
DidCheckForMoreWorkImmediateCrossThreadWorkRequested) { … }
TEST(WorkDeduplicatorTest, OnDelayedWorkRequestedUnbound) { … }
TEST(WorkDeduplicatorTest, OnDelayedWorkRequestedBound) { … }
TEST(WorkDeduplicatorTest, OnDelayedWorkRequestedInDoWork) { … }
TEST(WorkDeduplicatorTest,
OnDelayedWorkRequestedDidCheckForMoreWorkWithMoreWork) { … }
TEST(WorkDeduplicatorTest,
OnDelayedWorkRequestedDidCheckForMoreWorkWithNoMoreWork) { … }
TEST(WorkDeduplicatorTest, OnDelayedWorkRequestedWithDoWorkPending) { … }
}
}
}