Searched refs:SetErrnoAndReturn (Results 1 – 3 of 3) sorted by relevance
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()
181 using testing::SetErrnoAndReturn;311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
1029 SetErrnoAndReturn(int errval, T result) { in SetErrnoAndReturn() function