Lines Matching refs:kFakeFd

195   constexpr int kFakeFd = 100;  in TEST_F()  local
197 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
202 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
206 constexpr int kFakeFd = 100; in TEST_F() local
210 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
215 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
219 constexpr int kFakeFd = 100; in TEST_F() local
223 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
228 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
232 constexpr int kFakeFd = 100; in TEST_F() local
234 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
239 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
243 constexpr int kFakeFd = 100; in TEST_F() local
246 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
251 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
255 constexpr int kFakeFd = 100; in TEST_F() local
257 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()
261 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
265 constexpr int kFakeFd = 100; in TEST_F() local
268 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()
272 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
276 constexpr int kFakeFd = 100; in TEST_F() local
278 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), 0)).WillOnce(Return(0)); in TEST_F()
281 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
285 constexpr int kFakeFd = 100; in TEST_F() local
288 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()
292 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
296 constexpr int kFakeFd = 100; in TEST_F() local
299 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), 0)) in TEST_F()
303 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
332 constexpr int kFakeFd = 100; in TEST_F() local
335 os_->ReceiveDatagram(kFakeFd, buffer.data(), GetMaxVal<size_t>()), in TEST_F()
340 constexpr int kFakeFd = 100; in TEST_F() local
342 EXPECT_DEATH(os_->Write(kFakeFd, buffer.data(), GetMaxVal<size_t>()), in TEST_F()
347 constexpr int kFakeFd = 100; in TEST_F() local
349 ON_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()
351 EXPECT_DEATH(os_->Write(kFakeFd, buffer.data(), buffer.size()), in TEST_F()