Home | History | Annotate | Download | only in base

Lines Matching refs:has_ref

796   StrictMock<HasRef> has_ref;
799 const HasRef* const_has_ref_ptr = &has_ref;
803 EXPECT_CALL(has_ref, AddRef()).Times(4);
804 EXPECT_CALL(has_ref, Release()).Times(4);
805 EXPECT_CALL(has_ref, VoidMethod0()).Times(2);
806 EXPECT_CALL(has_ref, VoidConstMethod0()).Times(2);
814 ClosureType method_cb = TypeParam::Bind(&HasRef::VoidMethod0, &has_ref);
816 TypeParam::Bind(&HasRef::VoidMethod0, WrapRefCounted(&has_ref));
818 TypeParam::Bind(&HasRef::VoidConstMethod0, &has_ref);
846 StrictMock<HasRef> has_ref;
848 const HasRef* const_has_ref_ptr = &has_ref;
851 EXPECT_CALL(has_ref, AddRef()).Times(4);
852 EXPECT_CALL(has_ref, Release()).Times(4);
853 EXPECT_CALL(has_ref, IntMethod0()).WillOnce(Return(31337));
854 EXPECT_CALL(has_ref, IntConstMethod0())
857 EXPECT_CALL(has_ref, UniquePtrMethod0())
862 TypeParam::Bind(&HasRef::IntMethod0, &has_ref);
864 TypeParam::Bind(&HasRef::IntConstMethod0, &has_ref);
868 TypeParam::Bind(&HasRef::UniquePtrMethod0, &has_ref);
970 StrictMock<HasRef> has_ref;
971 EXPECT_CALL(has_ref, AddRef()).Times(1);
972 EXPECT_CALL(has_ref, Release()).Times(1);
974 const scoped_refptr<HasRef> refptr(&has_ref);