Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-10 | RefCount: Add a unit test for reference counting pointers. | Gabe Black | |
This test exercises each of the functions in the reference counting pointer implementation individually (except get()) and verifies they have some minimially expected behavior. It also checks that reference counted objects are freed when their usage count goes to 0 in some basic situations, specifically a pointer being set to NULL and a pointer being deleted. |