testing a cocoa widget
testing a cocoa widget
- Subject: testing a cocoa widget
- From: "Keith Ray" <email@hidden>
- Date: Fri, 7 Apr 2006 14:26:48 -0700
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.
--
C. Keith Ray
<http://homepage.mac.com/keithray/blog/index.html>
<http://homepage.mac.com/keithray/xpminifaq.html>
<http://homepage.mac.com/keithray/resume2.html>
_______________________________________________
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