Lines Matching defs:init_callback
126 TestCompletionCallback init_callback;
127 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(init_callback.callback()));
128 EXPECT_EQ(OK, init_callback.WaitForResult());
189 TestCompletionCallback init_callback;
190 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(init_callback.callback()));
191 EXPECT_EQ(OK, init_callback.WaitForResult());
219 TestCompletionCallback init_callback;
220 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(init_callback.callback()));
221 EXPECT_EQ(ERR_UPLOAD_FILE_CHANGED, init_callback.WaitForResult());
232 TestCompletionCallback init_callback;
233 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(init_callback.callback()));
234 EXPECT_EQ(ERR_FILE_NOT_FOUND, init_callback.WaitForResult());