chromium/v8/test/unittests/libplatform/default-worker-threads-task-runner-unittest.cc

// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/libplatform/default-worker-threads-task-runner.h"

#include <algorithm>
#include <vector>

#include "include/v8-platform.h"
#include "src/base/platform/platform.h"
#include "src/base/platform/semaphore.h"
#include "src/base/platform/time.h"
#include "testing/gtest-support.h"

namespace v8 {
namespace platform {

class TestTask : public v8::Task {};

double RealTime() {}

TEST(DefaultWorkerThreadsTaskRunnerUnittest, PostTaskOrder) {}

TEST(DefaultWorkerThreadsTaskRunnerUnittest, PostTaskOrderMultipleWorkers) {}

class FakeClock {};

std::atomic<double> FakeClock::time_{};

TEST(DefaultWorkerThreadsTaskRunnerUnittest, PostDelayedTaskOrder) {}

TEST(DefaultWorkerThreadsTaskRunnerUnittest, PostDelayedTaskOrder2) {}

TEST(DefaultWorkerThreadsTaskRunnerUnittest, PostAfterTerminate) {}

TEST(DefaultWorkerThreadsTaskRunnerUnittest, NoIdleTasks) {}

}  // namespace platform
}  // namespace v8