Home
last modified time | relevance | path

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

/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc30 using testing::SetErrnoAndReturn;
294 EXPECT_CALL(fd_mock(), Truncate(1235)).WillOnce(SetErrnoAndReturn(EIO, -1)); in TEST_F()
374 .WillOnce(SetErrnoAndReturn(EPIPE, -1)); in TEST_F()
424 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
435 .WillOnce(SetErrnoAndReturn(EACCES, -1)); in TEST_F()
451 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
468 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
470 .WillOnce(SetErrnoAndReturn(EBADF, -1)); in TEST_F()
484 .WillOnce(SetErrnoAndReturn(EAGAIN, -1)); in TEST_F()
490 .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_link_test.h186 using testing::SetErrnoAndReturn;
316 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
Dgmock-actions_test.cc85 using testing::SetErrnoAndReturn;
1146 Action<int(void)> a = SetErrnoAndReturn(ENOTTY, -5); in TEST_F()
1153 Action<int*(void)> a = SetErrnoAndReturn(ENOTTY, &x); in TEST_F()
1159 Action<double()> a = SetErrnoAndReturn(EINVAL, 5); in TEST_F()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h1029 SetErrnoAndReturn(int errval, T result) { in SetErrnoAndReturn() function
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-actions.h1156 SetErrnoAndReturn(int errval, T result) {
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h1131 SetErrnoAndReturn(int errval, T result) {
/external/googletest/googlemock/docs/
DCheatSheet.md402 |`SetErrnoAndReturn(error, value)`|Set `errno` to `error` and return `value`.|