#include "base/task/thread_pool/job_task_source.h"
#include <utility>
#include "base/functional/callback_helpers.h"
#include "base/memory/ptr_util.h"
#include "base/task/thread_pool/pooled_task_runner_delegate.h"
#include "base/task/thread_pool/test_utils.h"
#include "base/test/bind.h"
#include "base/test/gtest_util.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Return;
namespace base {
namespace internal {
class MockPooledTaskRunnerDelegate : public PooledTaskRunnerDelegate { … };
class ThreadPoolJobTaskSourceTest : public testing::Test { … };
TEST_F(ThreadPoolJobTaskSourceTest, RunTasks) { … }
TEST_F(ThreadPoolJobTaskSourceTest, Clear) { … }
TEST_F(ThreadPoolJobTaskSourceTest, Cancel) { … }
TEST_F(ThreadPoolJobTaskSourceTest, RunTasksInParallel) { … }
TEST_F(ThreadPoolJobTaskSourceTest, RunJoinTask) { … }
TEST_F(ThreadPoolJobTaskSourceTest, RunTaskWorkerCount) { … }
TEST_F(ThreadPoolJobTaskSourceTest, RunJoinTaskWorkerCount) { … }
TEST_F(ThreadPoolJobTaskSourceTest, CancelJoinTask) { … }
TEST_F(ThreadPoolJobTaskSourceTest, JoinCancelTask) { … }
TEST_F(ThreadPoolJobTaskSourceTest, RunJoinTaskInParallel) { … }
TEST_F(ThreadPoolJobTaskSourceTest, NotifyConcurrencyIncrease) { … }
TEST_F(ThreadPoolJobTaskSourceTest, ShouldYield) { … }
TEST_F(ThreadPoolJobTaskSourceTest, MaxConcurrencyStagnateIfShouldYield) { … }
TEST_F(ThreadPoolJobTaskSourceTest, InvalidTakeTask) { … }
TEST_F(ThreadPoolJobTaskSourceTest, InvalidDidProcessTask) { … }
TEST_F(ThreadPoolJobTaskSourceTest, AcquireTaskId) { … }
TEST_F(ThreadPoolJobTaskSourceTest, GetTaskId) { … }
}
}