chromium/content/renderer/media/inspector_media_event_handler_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 <memory>
#include <string>
#include <utility>

#include "content/renderer/media/inspector_media_event_handler.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/web/web_media_inspector.h"

_;

namespace content {

class MockMediaInspectorContext : public blink::MediaInspectorContext {};

class InspectorMediaEventHandlerTest : public testing::Test {};

bool operator==(const blink::InspectorPlayerProperty& lhs,
                const blink::InspectorPlayerProperty& rhs) {}

bool operator!=(const blink::InspectorPlayerProperty& lhs,
                const blink::InspectorPlayerProperty& rhs) {}

bool operator==(const blink::InspectorPlayerEvent& lhs,
                const blink::InspectorPlayerEvent& rhs) {}

bool operator!=(const blink::InspectorPlayerEvent& lhs,
                const blink::InspectorPlayerEvent& rhs) {}

bool operator==(const blink::InspectorPlayerMessage& lhs,
                const blink::InspectorPlayerMessage& rhs) {}

bool operator!=(const blink::InspectorPlayerMessage& lhs,
                const blink::InspectorPlayerMessage& rhs) {}

bool operator==(const blink::InspectorPlayerError& lhs,
                const blink::InspectorPlayerError& rhs) {}

bool operator!=(const blink::InspectorPlayerError& lhs,
                const blink::InspectorPlayerError& rhs) {}

MATCHER_P(PropertiesEqualTo, props, "") {}

MATCHER_P(EventsEqualTo, events, "") {}

MATCHER_P(MessagesEqualTo, messages, "") {}

MATCHER_P(ErrorsEqualTo, errors, "") {}

TEST_F(InspectorMediaEventHandlerTest, ConvertsProperties) {}

TEST_F(InspectorMediaEventHandlerTest, SplitsDoubleProperties) {}

TEST_F(InspectorMediaEventHandlerTest, ConvertsMessageEvent) {}

TEST_F(InspectorMediaEventHandlerTest, ConvertsEventsAndProperties) {}

TEST_F(InspectorMediaEventHandlerTest, PassesPlayAndPauseEvents) {}

TEST_F(InspectorMediaEventHandlerTest, PassesErrorEvents) {}

}  // namespace content