PR-URL: https://github.com/nodejs/node/pull/47251 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
25 lines
709 B
C++
25 lines
709 B
C++
// Copyright 2017 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.
|
|
|
|
#ifndef V8_TEST_CCTEST_SETUP_ISOLATE_FOR_TESTS_H_
|
|
#define V8_TEST_CCTEST_SETUP_ISOLATE_FOR_TESTS_H_
|
|
|
|
#include "src/init/setup-isolate.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
class SetupIsolateDelegateForTests : public SetupIsolateDelegate {
|
|
public:
|
|
SetupIsolateDelegateForTests() = default;
|
|
|
|
bool SetupHeap(Isolate* isolate, bool create_heap_objects) override;
|
|
void SetupBuiltins(Isolate* isolate, bool compile_builtins) override;
|
|
};
|
|
|
|
} // namespace internal
|
|
} // namespace v8
|
|
|
|
#endif // V8_TEST_CCTEST_SETUP_ISOLATE_FOR_TESTS_H_
|