Searched refs:mock_read (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/net/http/ |
D | http_stream_factory_impl_unittest.cc | 827 MockRead mock_read(ASYNC, OK); in TEST_P() local 828 StaticSocketDataProvider socket_data(&mock_read, 1, NULL, 0); in TEST_P() 974 MockRead mock_read(ASYNC, OK); in TEST_P() local 975 StaticSocketDataProvider socket_data(&mock_read, 1, NULL, 0); in TEST_P() 1081 MockRead mock_read(ASYNC, OK); in TEST_P() local 1082 DeterministicSocketData socket_data(&mock_read, 1, NULL, 0); in TEST_P() 1134 MockRead mock_read(SYNCHRONOUS, ERR_IO_PENDING); in TEST_P() local 1135 StaticSocketDataProvider socket_data(&mock_read, 1, NULL, 0); in TEST_P() 1211 MockRead mock_read(ASYNC, OK); in TEST_P() local 1212 DeterministicSocketData socket_data(&mock_read, 1, NULL, 0); in TEST_P()
|
/external/chromium_org/jingle/glue/ |
D | chrome_async_socket_unittest.cc | 52 net::MockRead mock_read = reads_.front(); in GetNextRead() local 54 return mock_read; in GetNextRead() 80 void AddRead(const net::MockRead& mock_read) { in AddRead() argument 81 DCHECK_NE(mock_read.result, net::ERR_IO_PENDING); in AddRead() 83 socket()->OnReadComplete(mock_read); in AddRead() 87 reads_.push_back(mock_read); in AddRead()
|