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

OCUnit


  • Subject: OCUnit
  • From: Thomas Davie <email@hidden>
  • Date: Thu, 21 Aug 2003 12:36:14 +0100

Hi,
I was wondering if anyone here had any experience of getting OCUnit working with Cocoa. I am trying to test an NSMutableArray subclass with it, but am getting some strange errors. The error I have at the moment is:

-[TestTaskList testAddAndRetrieveTask] : *** -addObject: only defined for abstract class. Define -[TaskList addObject:]!

I do not call addObject directly in the test, instead I call -(void)addTask:(Task *)newTask, which in turn calls -(void)addObject (along with a couple of other things). Does anyone know where the above error is coming from? It seems extremely odd, seing as NSMutableArray is not an abstract class.

Any help much appreciated

Thanks

Tom Davie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Default button from inside NSMatrix?
  • Next by Date: Synchronous method: How to "wait" for Notification to occur?
  • Previous by thread: Default button from inside NSMatrix?
  • Next by thread: Re: OCUnit
  • Index(es):
    • Date
    • Thread