Home
last modified time | relevance | path

Searched refs:SetErrnoAndReturn (Results 1 – 11 of 11) sorted by relevance

/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc30 using testing::SetErrnoAndReturn;
285 EXPECT_CALL(fd_mock(), Truncate(1235)).WillOnce(SetErrnoAndReturn(EIO, -1)); in TEST_F()
365 .WillOnce(SetErrnoAndReturn(EPIPE, -1)); in TEST_F()
423 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
434 .WillOnce(SetErrnoAndReturn(EACCES, -1)); in TEST_F()
450 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
467 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
469 .WillOnce(SetErrnoAndReturn(EBADF, -1)); in TEST_F()
483 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
489 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc76 using testing::SetErrnoAndReturn;
1203 Action<int(void)> a = SetErrnoAndReturn(ENOTTY, -5); in TEST_F()
1210 Action<int*(void)> a = SetErrnoAndReturn(ENOTTY, &x); in TEST_F()
1216 Action<double()> a = SetErrnoAndReturn(EINVAL, 5); in TEST_F()
Dgmock_link_test.h181 using testing::SetErrnoAndReturn;
311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
/external/googletest/googlemock/test/
Dgmock-actions_test.cc78 using testing::SetErrnoAndReturn;
1233 Action<int(void)> a = SetErrnoAndReturn(ENOTTY, -5); in TEST_F()
1240 Action<int*(void)> a = SetErrnoAndReturn(ENOTTY, &x); in TEST_F()
1246 Action<double()> a = SetErrnoAndReturn(EINVAL, 5); in TEST_F()
Dgmock_link_test.h181 using testing::SetErrnoAndReturn;
311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
/external/v8/testing/gmock/test/
Dgmock-actions_test.cc78 using testing::SetErrnoAndReturn;
1233 Action<int(void)> a = SetErrnoAndReturn(ENOTTY, -5); in TEST_F()
1240 Action<int*(void)> a = SetErrnoAndReturn(ENOTTY, &x); in TEST_F()
1246 Action<double()> a = SetErrnoAndReturn(EINVAL, 5); in TEST_F()
Dgmock_link_test.h181 using testing::SetErrnoAndReturn;
311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h1029 SetErrnoAndReturn(int errval, T result) { in SetErrnoAndReturn() function
/external/v8/testing/gmock/include/gmock/
Dgmock-actions.h1156 SetErrnoAndReturn(int errval, T result) {
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h1156 SetErrnoAndReturn(int errval, T result) {
/external/googletest/googlemock/docs/
DCheatSheet.md381 |`SetErrnoAndReturn(error, value)`|Set `errno` to `error` and return `value`.|