Searched refs:ReturnRef (Results 1 - 5 of 5) sorted by relevance

/external/google-breakpad/src/testing/test/
H A Dgmock-generated-function-mockers_test.cc72 using testing::ReturnRef;
380 .WillOnce(ReturnRef(n));
433 .WillOnce(ReturnRef(n));
H A Dgmock_link_test.h45 // ReturnRef
166 using testing::ReturnRef;
266 // Tests the linkage of the ReturnRef action.
271 EXPECT_CALL(mock, IntRefFromString(_)).WillOnce(ReturnRef(n));
H A Dgmock-actions_test.cc70 using testing::ReturnRef;
570 // Tests that ReturnRef(v) works for reference types.
573 const Action<const int&(bool)> ret = ReturnRef(n); // NOLINT
578 // Tests that ReturnRef(v) is covariant.
582 Action<Base&()> a = ReturnRef(base);
585 a = ReturnRef(derived);
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
H A Dpairingsessiontest.cc26 using ::testing::ReturnRef;
/external/google-breakpad/src/testing/include/gmock/
H A Dgmock-actions.h532 // Implements the polymorphic ReturnRef(x) action, which can be used
541 // This template type conversion operator allows ReturnRef(x) to be
547 // catches the user error of using ReturnRef(x) when Return(x)
555 // Implements the ReturnRef(x) action for a particular function type F.
959 inline internal::ReturnRefAction<R> ReturnRef(R& x) { // NOLINT function in namespace:testing

Completed in 1172 milliseconds