Searched refs:read_callback1 (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/net/base/ |
D | upload_file_element_reader_unittest.cc | 65 TestCompletionCallback read_callback1; in TEST_F() local 68 wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() 69 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); in TEST_F() 117 TestCompletionCallback read_callback1; in TEST_F() local 120 wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() 121 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); in TEST_F() 147 TestCompletionCallback read_callback1; in TEST_F() local 150 wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() 176 EXPECT_FALSE(read_callback1.have_result()); in TEST_F()
|
D | upload_data_stream_unittest.cc | 510 TestCompletionCallback read_callback1; in TEST_F() local 512 stream.Read(buf.get(), kTestDataSize, read_callback1.callback())); in TEST_F() 514 EXPECT_FALSE(read_callback1.have_result()); in TEST_F() 686 TestCompletionCallback read_callback1; in TEST_F() local 691 stream.Read(wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() 692 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); in TEST_F() 791 TestCompletionCallback read_callback1; in TEST_F() local 796 stream.Read(wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() 817 EXPECT_FALSE(read_callback1.have_result()); in TEST_F()
|
/external/chromium_org/content/browser/fileapi/ |
D | upload_file_system_file_element_reader_unittest.cc | 146 net::TestCompletionCallback read_callback1; in TEST_F() local 148 reader_->Read(buf.get(), buf->size(), read_callback1.callback())); in TEST_F() 149 EXPECT_EQ(buf->size(), read_callback1.WaitForResult()); in TEST_F() 180 net::TestCompletionCallback read_callback1; in TEST_F() local 182 reader_->Read(buf.get(), buf->size(), read_callback1.callback())); in TEST_F() 183 EXPECT_EQ(buf->size(), read_callback1.WaitForResult()); in TEST_F() 208 net::TestCompletionCallback read_callback1; in TEST_F() local 210 reader_->Read(buf.get(), buf->size(), read_callback1.callback())); in TEST_F() 235 EXPECT_FALSE(read_callback1.have_result()); in TEST_F()
|