Home | History | Annotate | Download | only in streams

Lines Matching refs:ReadBlocking

61   // Omitted: ReadBlocking
280 TEST(Stream, ReadBlocking) {
289 EXPECT_TRUE(stream_mock.ReadBlocking(buf, sizeof(buf), &read, nullptr));
296 EXPECT_TRUE(stream_mock.ReadBlocking(buf, sizeof(buf), &read, nullptr));
318 EXPECT_TRUE(stream_mock.ReadBlocking(buf, sizeof(buf), &read, nullptr));
330 EXPECT_FALSE(stream_mock.ReadBlocking(buf, sizeof(buf), &read, nullptr));
336 MOCK_METHOD4(ReadBlocking, bool(void*, size_t, size_t*, ErrorPtr*));
341 EXPECT_CALL(stream_mock, ReadBlocking(buf, 1024, _, _))
343 EXPECT_CALL(stream_mock, ReadBlocking(buf + 24, 1000, _, _))
348 EXPECT_CALL(stream_mock, ReadBlocking(buf, 1024, _, _))
350 EXPECT_CALL(stream_mock, ReadBlocking(buf + 24, 1000, _, _))