• 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
Any way to test NSEvents within OCTest?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any way to test NSEvents within OCTest?


  • Subject: Any way to test NSEvents within OCTest?
  • From: email@hidden
  • Date: Sat, 22 Jul 2006 19:22:35 -0700

I'm wondering if its possible, from an objective-c test unit, to post NSEvents and have it test a GUI (custom view).
Its not a complicated view (just a simple NSControl subclass), but I want to post NSEvents to make sure I don't trip any NSExceptions...
AFAIKT, OCUnit runs all its test from a single iteration of the event loop, so I'm wondering if its even possible?
Wouldn't the events post, after the tests had finished?


Any pointers would be great.

Andre
email@hidden



_______________________________________________
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


  • Prev by Date: Re: Finding out if an NSArray's contents are all equal
  • Next by Date: Re: Re: Finding out if an NSArray's contents are all equal
  • Previous by thread: Re: Matrix Cell Rollovers
  • Next by thread: Finder-like color label menu item in Cocoa?
  • Index(es):
    • Date
    • Thread