Lines Matching refs:test_mock
2565 ReferenceHoldingMock test_mock;
2567 // EXPECT_CALL stores a reference to a inside test_mock.
2568 EXPECT_CALL(test_mock, AcceptReference(_))
2572 // only reference to it is stored by test_mock.
2575 // When test_mock goes out of scope, it destroys the last remaining reference
2585 ReferenceHoldingMock test_mock;
2587 // ON_CALL stores a reference to a inside test_mock.
2588 ON_CALL(test_mock, AcceptReference(_))
2592 // only reference to it is stored by test_mock.
2595 // When test_mock goes out of scope, it destroys the last remaining reference