chromium/v8/test/unittests/heap/local-factory-unittest.cc

// Copyright 2020 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 <cmath>
#include <iostream>
#include <limits>
#include <memory>

#include "src/ast/ast-value-factory.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/common/assert-scope.h"
#include "src/common/globals.h"
#include "src/handles/handles-inl.h"
#include "src/handles/handles.h"
#include "src/handles/maybe-handles.h"
#include "src/heap/local-factory-inl.h"
#include "src/objects/fixed-array.h"
#include "src/objects/script.h"
#include "src/objects/shared-function-info.h"
#include "src/objects/string.h"
#include "src/parsing/parse-info.h"
#include "src/parsing/parser.h"
#include "src/parsing/rewriter.h"
#include "src/parsing/scanner-character-streams.h"
#include "src/parsing/scanner.h"
#include "src/strings/unicode-inl.h"
#include "src/utils/utils.h"
#include "test/unittests/test-utils.h"

namespace v8 {
namespace internal {

class LocalIsolate;

namespace {

std::vector<uint16_t> DecodeUtf8(const std::string& string) {}

}  // namespace

class LocalFactoryTest : public TestWithIsolateAndZone {};

TEST_F(LocalFactoryTest, OneByteInternalizedString_IsAddedToStringTable) {}

TEST_F(LocalFactoryTest, OneByteInternalizedString_DuplicateIsDeduplicated) {}

TEST_F(LocalFactoryTest, AstRawString_IsInternalized) {}

TEST_F(LocalFactoryTest, AstConsString_CreatesConsString) {}

TEST_F(LocalFactoryTest, EmptyScript) {}

TEST_F(LocalFactoryTest, LazyFunction) {}

TEST_F(LocalFactoryTest, EagerFunction) {}

TEST_F(LocalFactoryTest, ImplicitNameFunction) {}

TEST_F(LocalFactoryTest, GCDuringPublish) {}

}  // namespace internal
}  // namespace v8