Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: media/midi/midi_message_util_unittest.cc

Issue 151343002: Web MIDI: make naming convention be consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review boliu #2 Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/midi/midi_message_util.cc ('k') | media/midi/midi_port_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_message_util_unittest.cc
diff --git a/media/midi/midi_message_util_unittest.cc b/media/midi/midi_message_util_unittest.cc
index af3679c29875b5b1518ea1d83ea77d8a4db0185e..529efbf9586d8adcebd7df6ff1e8a67be42c2539 100644
--- a/media/midi/midi_message_util_unittest.cc
+++ b/media/midi/midi_message_util_unittest.cc
@@ -14,20 +14,20 @@ const uint8 kNoteOn[] = { 0x90, 0x3c, 0x7f };
const uint8 kChannelPressure[] = { 0xd0, 0x01 };
const uint8 kTimingClock[] = { 0xf8 };
-TEST(GetMIDIMessageLengthTest, BasicTest) {
+TEST(GetMidiMessageLengthTest, BasicTest) {
// Check basic functionarity
- EXPECT_EQ(arraysize(kNoteOn), GetMIDIMessageLength(kNoteOn[0]));
+ EXPECT_EQ(arraysize(kNoteOn), GetMidiMessageLength(kNoteOn[0]));
EXPECT_EQ(arraysize(kChannelPressure),
- GetMIDIMessageLength(kChannelPressure[0]));
- EXPECT_EQ(arraysize(kTimingClock), GetMIDIMessageLength(kTimingClock[0]));
+ GetMidiMessageLength(kChannelPressure[0]));
+ EXPECT_EQ(arraysize(kTimingClock), GetMidiMessageLength(kTimingClock[0]));
// SysEx message should be mapped to 0-length
- EXPECT_EQ(0u, GetMIDIMessageLength(kGMOn[0]));
+ EXPECT_EQ(0u, GetMidiMessageLength(kGMOn[0]));
// Any data byte should be mapped to 0-length
- EXPECT_EQ(0u, GetMIDIMessageLength(kGMOn[1]));
- EXPECT_EQ(0u, GetMIDIMessageLength(kNoteOn[1]));
- EXPECT_EQ(0u, GetMIDIMessageLength(kChannelPressure[1]));
+ EXPECT_EQ(0u, GetMidiMessageLength(kGMOn[1]));
+ EXPECT_EQ(0u, GetMidiMessageLength(kNoteOn[1]));
+ EXPECT_EQ(0u, GetMidiMessageLength(kChannelPressure[1]));
}
} // namespace
« no previous file with comments | « media/midi/midi_message_util.cc ('k') | media/midi/midi_port_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698