chromium/v8/test/unittests/tasks/background-compile-task-unittest.cc

// Copyright 2018 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 <memory>

#include "include/v8-platform.h"
#include "src/api/api-inl.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/base/platform/semaphore.h"
#include "src/codegen/compiler.h"
#include "src/execution/isolate-inl.h"
#include "src/flags/flags.h"
#include "src/init/v8.h"
#include "src/objects/smi.h"
#include "src/parsing/parse-info.h"
#include "src/parsing/parser.h"
#include "src/parsing/preparse-data.h"
#include "src/zone/zone-list-inl.h"
#include "test/unittests/test-helpers.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {

class BackgroundCompileTaskTest : public TestWithNativeContext {};

SaveFlags* BackgroundCompileTaskTest::save_flags_ =;

TEST_F(BackgroundCompileTaskTest, Construct) {}

TEST_F(BackgroundCompileTaskTest, SyntaxError) {}

TEST_F(BackgroundCompileTaskTest, CompileAndRun) {}

TEST_F(BackgroundCompileTaskTest, CompileFailure) {}

class CompileTask : public Task {};

TEST_F(BackgroundCompileTaskTest, CompileOnBackgroundThread) {}

TEST_F(BackgroundCompileTaskTest, EagerInnerFunctions) {}

TEST_F(BackgroundCompileTaskTest, LazyInnerFunctions) {}

}  // namespace internal
}  // namespace v8