chromium/media/midi/usb_midi_input_stream_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "media/midi/usb_midi_input_stream.h"

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

#include <memory>
#include <string>
#include <vector>

#include "base/strings/stringprintf.h"
#include "base/time/time.h"
#include "media/midi/usb_midi_device.h"
#include "testing/gtest/include/gtest/gtest.h"

TimeTicks;

namespace midi {

namespace {

class TestUsbMidiDevice : public UsbMidiDevice {};

class MockDelegate : public UsbMidiInputStream::Delegate {};

class UsbMidiInputStreamTest : public ::testing::Test {};

TEST_F(UsbMidiInputStreamTest, UnknownMessage) {}

TEST_F(UsbMidiInputStreamTest, SystemCommonMessage) {}

TEST_F(UsbMidiInputStreamTest, SystemExclusiveMessage) {}

TEST_F(UsbMidiInputStreamTest, ChannelMessage) {}

TEST_F(UsbMidiInputStreamTest, SingleByteMessage) {}

TEST_F(UsbMidiInputStreamTest, DispatchForMultipleCables) {}

TEST_F(UsbMidiInputStreamTest, DispatchForDevice2) {}

}  // namespace

}  // namespace midi