Asynchronous Unit testing
Asynchronous Unit testing
- Subject: Asynchronous Unit testing
- From: Ruotger Skupin <email@hidden>
- Date: Wed, 8 Feb 2006 15:09:16 +0100
Hi,
I hope this is the right list to ask...
I'd like to unit test some code that relies heavily on timers and calls like [[NSNotificationQueue defaultQueue] enqueueNotification:[NSNotification notificationWithName:kSomeNotification object:self] postingStyle:NSPostWhenIdle];
i.e. my -(void) testSomething method returns immediately and actual test will run some time later. Is that possible at all with the SenTestingKit?
Roddi
--- "Less code is better code" - Wil Shipley
Ruotger Skupin, Mac OS X Software Engineering
ilink Kommunikationssysteme GmbH Münzstr. 13; 10178 Berlin - Germany
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden