Home
last modified time | relevance | path

Searched refs:AsVector (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/content/browser/media/
Dmidi_host_unittest.cc31 const std::vector<T> AsVector(const T(&data)[N]) { in AsVector() function
46 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGMOn))); in TEST()
47 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGSOn))); in TEST()
48 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kNoteOn))); in TEST()
49 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kChannelPressure))); in TEST()
50 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kTimingClock))); in TEST()
51 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData1))); in TEST()
52 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData2))); in TEST()
53 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData3))); in TEST()
54 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kDataByte0))); in TEST()
[all …]
/external/chromium_org/net/websockets/
Dwebsocket_channel_test.cc732 std::vector<char> AsVector(const std::string& s) { in AsVector() function
1144 true, WebSocketFrameHeader::kOpCodeText, AsVector("this will fail")); in TEST_F()
1398 true, WebSocketFrameHeader::kOpCodeText, AsVector("HELLO"))); in TEST_F()
1467 true, WebSocketFrameHeader::kOpCodeText, AsVector("HELLO"))); in TEST_F()
1496 true, WebSocketFrameHeader::kOpCodeText, AsVector("HELLO"))); in TEST_F()
1500 true, WebSocketFrameHeader::kOpCodeText, AsVector("WORLD"))); in TEST_F()
1538 false, WebSocketFrameHeader::kOpCodeText, AsVector("THREE"))); in TEST_F()
1542 false, WebSocketFrameHeader::kOpCodeContinuation, AsVector(" "))); in TEST_F()
1546 AsVector("SMALL"))); in TEST_F()
1550 false, WebSocketFrameHeader::kOpCodeContinuation, AsVector(" "))); in TEST_F()
[all …]