Lines Matching refs:Return
41 using testing::Return;
131 using ::testing::Return;
207 .WillOnce(DoAll(SetArgPointee<1>(method), Return(0))); in ExpectGetManagedObjects()
216 Return(0))); in ExpectGetManagedObjects()
220 .WillOnce(Return(1)); in ExpectGetManagedObjects()
222 EXPECT_CALL(mock, sd_bus_message_at_end(msg, 0)).WillOnce(Return(0)); in ExpectGetManagedObjects()
226 .WillOnce(Return(1)); in ExpectGetManagedObjects()
230 .WillOnce(DoAll(AssignReadVal<const char*>(obj_path), Return(1))); in ExpectGetManagedObjects()
234 .WillOnce(Return(1)); in ExpectGetManagedObjects()
236 EXPECT_CALL(mock, sd_bus_message_at_end(msg, 0)).WillOnce(Return(0)); in ExpectGetManagedObjects()
240 .WillOnce(Return(1)); in ExpectGetManagedObjects()
244 .WillOnce(DoAll(AssignReadVal<const char*>(property_grpc), Return(1))); in ExpectGetManagedObjects()
248 .WillOnce(Return(1)); in ExpectGetManagedObjects()
250 EXPECT_CALL(mock, sd_bus_message_at_end(msg, 0)).WillOnce(Return(0)); in ExpectGetManagedObjects()
254 .WillOnce(Return(1)); in ExpectGetManagedObjects()
258 .WillOnce(DoAll(AssignReadVal<const char*>(value_port), Return(1))); in ExpectGetManagedObjects()
263 .WillRepeatedly(Return(0)); in ExpectGetManagedObjects()
267 .WillOnce(Return(1)); in ExpectGetManagedObjects()
271 .WillOnce(Return(1)); in ExpectGetManagedObjects()
275 .WillOnce(DoAll(AssignReadVal<uint32_t>(port), Return(0))); in ExpectGetManagedObjects()
280 .WillRepeatedly(Return(0)); in ExpectGetManagedObjects()
283 .WillOnce(Return(1)) in ExpectGetManagedObjects()
284 .WillOnce(Return(1)); in ExpectGetManagedObjects()
286 EXPECT_CALL(mock, sd_bus_message_at_end(msg, 0)).WillOnce(Return(1)); in ExpectGetManagedObjects()
289 .WillOnce(Return(1)) in ExpectGetManagedObjects()
290 .WillOnce(Return(1)); in ExpectGetManagedObjects()
292 EXPECT_CALL(mock, sd_bus_message_at_end(msg, 0)).WillOnce(Return(1)); in ExpectGetManagedObjects()
295 .WillOnce(Return(1)) in ExpectGetManagedObjects()
296 .WillOnce(Return(1)); in ExpectGetManagedObjects()
298 EXPECT_CALL(mock, sd_bus_message_at_end(msg, 0)).WillOnce(Return(1)); in ExpectGetManagedObjects()
300 EXPECT_CALL(mock, sd_bus_message_exit_container(msg)).WillOnce(Return(1)); in ExpectGetManagedObjects()
312 .WillOnce(Return(-ENOTCONN)); in ExpectSdBusError()
383 .WillOnce(DoAll(SetArgPointee<1>(method), Return(0))); in ExpectRead()
390 .WillOnce(Return(1)); in ExpectRead()
397 .WillOnce(Return(1)); in ExpectRead()
406 Return(sd_bus_call_return_value))); in ExpectRead()
431 .WillOnce(DoAll(testing::Invoke(read_array_callback), Return(0))); in ExpectRead()
518 SetArgPointee<1>(method), Return(0))); in ExpectWrite()
526 Return(1))); in ExpectWrite()
540 Return(sd_bus_call_return_value))); in ExpectWrite()