Searched refs:SetErrnoAndReturn (Results 1 – 9 of 9) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | file_stream_unittest.cc | 30 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/ |
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_link_test.h | 186 using testing::SetErrnoAndReturn; 316 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
|
D | gmock-actions_test.cc | 85 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/ |
D | gmock-actions.h | 1029 SetErrnoAndReturn(int errval, T result) { in SetErrnoAndReturn() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/ |
D | gmock-actions.h | 1156 SetErrnoAndReturn(int errval, T result) {
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-actions.h | 1131 SetErrnoAndReturn(int errval, T result) {
|
/external/googletest/googlemock/docs/ |
D | CheatSheet.md | 402 |`SetErrnoAndReturn(error, value)`|Set `errno` to `error` and return `value`.|
|