Lines Matching refs:IsValidWebMIDIData
44 TEST(MidiHostTest, IsValidWebMIDIData) {
46 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGMOn)));
47 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGSOn)));
48 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kNoteOn)));
49 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kChannelPressure)));
50 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kTimingClock)));
51 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData1)));
52 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData2)));
53 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData3)));
54 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kDataByte0)));
57 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(
59 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(
70 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(buffer));
72 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(buffer));
80 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(
86 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(