Any way to test NSEvents within OCTest?
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