#include "base/task/deferred_sequenced_task_runner.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "base/threading/thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
class DeferredSequencedTaskRunnerTest : public testing::Test { … };
TEST_F(DeferredSequencedTaskRunnerTest, Stopped) { … }
TEST_F(DeferredSequencedTaskRunnerTest, Start) { … }
TEST_F(DeferredSequencedTaskRunnerTest, StartWithMultipleElements) { … }
TEST_F(DeferredSequencedTaskRunnerTest, DeferredStart) { … }
TEST_F(DeferredSequencedTaskRunnerTest, DeferredStartWithMultipleElements) { … }
TEST_F(DeferredSequencedTaskRunnerTest, DeferredStartWithMultipleThreads) { … }
TEST_F(DeferredSequencedTaskRunnerTest, ObjectDestructionOrder) { … }
void GetRunsTasksInCurrentSequence(bool* result,
scoped_refptr<SequencedTaskRunner> runner,
OnceClosure quit) { … }
TEST_F(DeferredSequencedTaskRunnerTest, RunsTasksInCurrentSequence) { … }
TEST_F(DeferredSequencedTaskRunnerTest, StartWithTaskRunner) { … }
}
}