Re: testing a cocoa widget
Re: testing a cocoa widget
- Subject: Re: testing a cocoa widget
- From: j o a r <email@hidden>
- Date: Fri, 7 Apr 2006 23:54:12 +0200
On 7 apr 2006, at 23.26, Keith Ray wrote:
if I want to unit test a cocoa widget -- either a standard one hooked
up to my code, or a custom one -- how do I simulate key-presses,
etc...?
One thing I know doesn't work is:
calling setStringValue: on an NSTextField does not invoke
controlTextDidChange: on that object's delegate.
I think you can find what you're looking for here:
<http://developer.apple.com/documentation/Carbon/Reference/
QuartzEventServicesRef/index.html>
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden