| 17 | }; |
| 18 | |
| 19 | TEST_F(ref_ptr_test, DeletesItsReferenced) |
| 20 | { |
| 21 | // the ReferencedMock instance should be deleted on function exit |
| 22 | |
| 23 | globjects::ref_ptr<ReferencedMock> ref = new ReferencedMock; |
| 24 | EXPECT_CALL(*ref, Die()).Times(1); |
| 25 | } |
| 26 | |
| 27 | TEST_F(ref_ptr_test, SurvivesWhenReferenced) |
| 28 | { |
nothing calls this directly
no test coverage detected