#include "base/task/thread_pool/worker_thread_set.h"
#include "base/check_op.h"
#include "base/memory/ref_counted.h"
#include "base/task/thread_pool/task_source.h"
#include "base/task/thread_pool/task_tracker.h"
#include "base/task/thread_pool/worker_thread.h"
#include "base/test/gtest_util.h"
#include "base/threading/platform_thread.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base::internal {
namespace {
class MockWorkerThreadDelegate : public WorkerThread::Delegate { … };
class ThreadPoolWorkerSetTest : public testing::Test { … };
}
TEST_F(ThreadPoolWorkerSetTest, InsertTake) { … }
TEST_F(ThreadPoolWorkerSetTest, PeekPop) { … }
TEST_F(ThreadPoolWorkerSetTest, Contains) { … }
TEST_F(ThreadPoolWorkerSetTest, Remove) { … }
TEST_F(ThreadPoolWorkerSetTest, PushAfterRemove) { … }
TEST_F(ThreadPoolWorkerSetTest, PushTwice) { … }
}