• 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
NSOperation with unit test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOperation with unit test


  • Subject: NSOperation with unit test
  • From: Shane <email@hidden>
  • Date: Tue, 22 Mar 2011 22:35:48 -0500

Hi,

I am trying to write a unit test for a class that inherits from
NSOperation. And I've implemented this class just as I did in my
application (which works) and the test case is running, but when the
'addOperation:myClass' on the NSOperationQueue is called within the
test method, I don't see that my NSOperation class is being executed.

Is there something different about running NSOperations within a unit test?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSOperation with unit test
      • From: Heath Borders <email@hidden>
  • Prev by Date: Re: design question
  • Next by Date: Re: NSOperation with unit test
  • Previous by thread: Changing tooltips in a custom view
  • Next by thread: Re: NSOperation with unit test
  • Index(es):
    • Date
    • Thread