Searched refs:SetErrnoAndReturn (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock_link_test.h49 // SetErrnoAndReturn
181 using testing::SetErrnoAndReturn;
306 // Tests the linkage of the SetErrnoAndReturn action.
311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1));
H A Dgmock-actions_test.cc78 using testing::SetErrnoAndReturn;
1233 Action<int(void)> a = SetErrnoAndReturn(ENOTTY, -5);
1240 Action<int*(void)> a = SetErrnoAndReturn(ENOTTY, &x);
1246 Action<double()> a = SetErrnoAndReturn(EINVAL, 5);
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h776 // Implements the SetErrnoAndReturn action to simulate return from
1156 SetErrnoAndReturn(int errval, T result) { function in namespace:testing

Completed in 18 milliseconds