Lines Matching full:byref
995 using ::testing::ByRef;
999 EXPECT_CALL(mock_obj, Foo(Eq(ByRef(bar))));
1002 EXPECT_CALL(mock_obj, Foo(Lt(ByRef(bar))));
1532 You may be tempted to try `ByRef()`:
1535 using testing::ByRef;
1546 .WillRepeatedly(Return(ByRef(x)));
1563 some temporary objects.) As a result, `ByRef(x)` is converted to an
1565 and `Return(ByRef(x))` will always return 0.
1951 wrap it inside `ByRef()`:
1958 using ::testing::ByRef;
1966 .WillOnce(InvokeArgument<0>(5, ByRef(helper)));
1967 // ByRef(helper) guarantees that a reference to helper, not a copy of it,
1972 wrap the argument in `ByRef()`? Then `InvokeArgument()` will _make a