Hi,
given the following piece of code in an ARC enabled project code coverage tells me it wasn't tested at all.
- (void)dealloc
{
#if !OS_OBJECT_USE_OBJC
if (_queue) dispatch_release(_queue);
#endif
_queue = NULL;
}
Besides the !OS_OBJECT_USE_OBJC macro the unsetting of _queue is not covered either so I have no clue if my tidying would work in production.
How am I able to do a specific testing on this dealloc?
(Manually calling it violates both MMR guidelines and ARC implementation.)