chromium/v8/test/unittests/inspector/inspector-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-inspector.h"
#include "include/v8-local-handle.h"
#include "include/v8-primitive.h"
#include "src/inspector/string-util.h"
#include "src/inspector/v8-inspector-impl.h"
#include "src/inspector/v8-inspector-session-impl.h"
#include "src/inspector/v8-runtime-agent-impl.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

String16;
StringBuffer;
StringView;
toString16;
toStringView;
V8ContextInfo;
V8Inspector;
V8InspectorSession;

namespace v8 {
namespace internal {

using InspectorTest = TestWithContext;

namespace {

class NoopChannel : public V8Inspector::Channel {};

void WrapOnInterrupt(v8::Isolate* isolate, void* data) {}

}  // namespace

TEST_F(InspectorTest, WrapInsideWrapOnInterrupt) {}

TEST_F(InspectorTest, BinaryFromBase64) {}

TEST_F(InspectorTest, BinaryToBase64) {}

TEST_F(InspectorTest, BinaryBase64RoundTrip) {}

TEST_F(InspectorTest, NoInterruptOnGetAssociatedData) {}

class TestChannel : public V8Inspector::Channel {};

TEST_F(InspectorTest, NoConsoleAPIForUntrustedClient) {}

TEST_F(InspectorTest, CanHandleMalformedCborMessage) {}

TEST_F(InspectorTest, ApiCreatedTasksAreCleanedUp) {}

TEST_F(InspectorTest, Evaluate) {}

// Regression test for crbug.com/323813642.
TEST_F(InspectorTest, NoInterruptWhileBuildingConsoleMessages) {}

}  // namespace internal
}  // namespace v8