// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gin/public/v8_platform.h" #include <atomic> #include "base/barrier_closure.h" #include "base/check_op.h" #include "base/memory/raw_ptr.h" #include "base/test/task_environment.h" #include "base/test/test_waitable_event.h" #include "base/trace_event/trace_event.h" #include "testing/gtest/include/gtest/gtest.h" namespace gin { // Tests that PostJob runs a task and is done after Join. TEST(V8PlatformTest, PostJobSimple) { … } // Tests that JobTask's lifetime is extended beyond job handle, until no // references are left; and is gracefully destroyed. TEST(V8PlatformTest, PostJobLifetime) { … } } // namespace gin