• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
testing a cocoa widget
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: testing a cocoa widget
      • From: j o a r <email@hidden>
  • Prev by Date: Re: XHTML to AttribString conversion has wrong paragraph style
  • Next by Date: Re: precision problem or my error?
  • Previous by thread: Re: XHTML to AttribString conversion has wrong paragraph style
  • Next by thread: Re: testing a cocoa widget
  • Index(es):
    • Date
    • Thread