chromium/v8/test/cctest/test-regexp.cc

// Copyright 2023 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 "include/v8-function.h"
#include "include/v8-regexp.h"
#include "src/api/api-inl.h"
#include "src/execution/frames-inl.h"
#include "test/cctest/cctest.h"
#include "test/cctest/heap/heap-utils.h"

usingnamespacev8;

namespace {

const char kOneByteSubjectString[] =;
const uint16_t kTwoByteSubjectString[] =;

const int kSubjectStringLength =;
static_assert;

class OneByteVectorResource : public String::ExternalOneByteStringResource {};

class UC16VectorResource : public String::ExternalStringResource {};

OneByteVectorResource one_byte_string_resource(
    base::Vector<const char>(&kOneByteSubjectString[0], kSubjectStringLength));
UC16VectorResource two_byte_string_resource(base::Vector<const base::uc16>(
    &kTwoByteSubjectString[0], kSubjectStringLength));

class InterruptTest {};

void SetCommonV8FlagsForInterruptTests() {}

}  // namespace

TEST(InterruptAndInvokeMajorGC) {}

TEST(InterruptAndMakeSubjectOneByteExternal) {}

TEST(InterruptAndMakeSubjectTwoByteExternal) {}

TEST(InterruptAndIterateStack) {}

TEST(InterruptAndTransitionSubjectFromTwoByteToOneByte) {}