Re: ZeroLink and dynamic discovered Classes
Re: ZeroLink and dynamic discovered Classes
- Subject: Re: ZeroLink and dynamic discovered Classes
- From: Greg Parker <email@hidden>
- Date: Mon, 24 Nov 2003 15:15:56 -0500
email@hidden wrote:
>
I'd like to do automatic test-case discovery and currently get a list
>
of all classes from the runtime before I filter out those that are no
>
testcases.
>
>
BUT if zero-link is enabled I never get my testclasses listed. Well
>
that is to be expected as those classes are not explicitely
>
specified/instantiated anywhere else in the source.
>
>
Is there a different way to get a list of classes? Or perhaps a list
>
of classes just from my applications? Or even just my Test-Classes
>
whithout specifying them by name?
This is a case where ZeroLink falls down. Objective-C classes are
installed into the runtime when the image binary is loaded. ZeroLink
tries very hard *not* to load image binaries. When you examine the
list of classes known by the runtime, some of them will be missing
becase ZeroLink has not loaded their image binaries yet.
The only solution is to turn off ZeroLink for this project.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.