chromium/third_party/pdfium/testing/v8_test_environment.h

// Copyright 2020 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef TESTING_V8_TEST_ENVIRONMENT_H_
#define TESTING_V8_TEST_ENVIRONMENT_H_

#ifndef PDF_ENABLE_V8
#error "V8 must be enabled"
#endif  // PDF_ENABLE_V8

#include <memory>

#include "fxjs/cfx_v8.h"
#include "fxjs/cfx_v8_array_buffer_allocator.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
class Isolate;
class Platform;
class StartupData;
}  // namespace v8

class TestLoader;

class V8TestEnvironment : public testing::Environment {};

#endif  // TESTING_V8_TEST_ENVIRONMENT_H_