chromium/content/browser/media/midi_host_unittest.cc

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

#include "content/browser/media/midi_host.h"

#include <stddef.h>
#include <stdint.h>

#include "base/memory/weak_ptr.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/mock_render_process_host.h"
#include "content/public/test/test_browser_context.h"
#include "media/midi/midi_manager.h"
#include "media/midi/midi_service.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace content {
namespace {

PortState;

const uint8_t kNoteOn[] =;

enum MidiEventType {};

struct MidiEvent {};

class FakeMidiManager : public midi::MidiManager {};

class FakeMidiManagerFactory : public midi::MidiService::ManagerFactory {};

class MidiHostForTesting : public MidiHost {};

class MidiSessionClientForTesting : public midi::mojom::MidiSessionClient {};

class MidiHostTest : public testing::Test {};

}  // namespace

// Test if sending data to out of range port is ignored.
TEST_F(MidiHostTest, OutputPortCheck) {}

}  // namespace content