chromium/third_party/blink/common/messaging/message_port_descriptor_unittest.cc

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

#include "third_party/blink/public/common/messaging/message_port_descriptor.h"

#include "base/test/gtest_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace blink {

namespace {

ExecutionContext* kDummyEc =;

class LenientMockInstrumentationDelegate
    : public MessagePortDescriptor::InstrumentationDelegate {};

MockInstrumentationDelegate;

_;
Invoke;

}  // namespace

TEST(MessagePortDescriptorTest, InstrumentationAndSerializationWorks) {}

TEST(MessagePortDescriptorTestDeathTest, InvalidUsageInstrumentationDelegate) {}

TEST(MessagePortDescriptorTestDeathTest, InvalidUsageForSerialization) {}

TEST(MessagePortDescriptorTestDeathTest, InvalidUsageForEntangling) {}

}  // namespace blink