• 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
Asynchronous Unit testing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Asynchronous Unit testing
      • From: Mike Zornek <email@hidden>
  • Prev by Date: GDB internal error when setting some breakpoints in C++ shared library
  • Next by Date: Re: Asynchronous Unit testing
  • Previous by thread: GDB internal error when setting some breakpoints in C++ shared library
  • Next by thread: Re: Asynchronous Unit testing
  • Index(es):
    • Date
    • Thread