Searched refs:SetErrnoAndReturn (Results 1 – 11 of 11) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | file_stream_unittest.cc | 30 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/ |
D | gmock-actions_test.cc | 76 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()
|
D | gmock_link_test.h | 181 using testing::SetErrnoAndReturn; 311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
|
/external/googletest/googlemock/test/ |
D | gmock-actions_test.cc | 78 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()
|
D | gmock_link_test.h | 181 using testing::SetErrnoAndReturn; 311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
|
/external/v8/testing/gmock/test/ |
D | gmock-actions_test.cc | 78 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()
|
D | gmock_link_test.h | 181 using testing::SetErrnoAndReturn; 311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
|
/external/google-breakpad/src/testing/include/gmock/ |
D | gmock-actions.h | 1029 SetErrnoAndReturn(int errval, T result) { in SetErrnoAndReturn() function
|
/external/v8/testing/gmock/include/gmock/ |
D | gmock-actions.h | 1156 SetErrnoAndReturn(int errval, T result) {
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-actions.h | 1156 SetErrnoAndReturn(int errval, T result) {
|
/external/googletest/googlemock/docs/ |
D | CheatSheet.md | 381 |`SetErrnoAndReturn(error, value)`|Set `errno` to `error` and return `value`.|
|