Re: Dumb question about unit testing

2012-11-20 Thread William Squires
In other words, you bootstrapped the process, right? You generated a class that had encodeWithCoder:, wrote out the results, then went back and coded initWithCoder:, using the written out stuff to pull it back in? That's what I was thinking, too. I was just wondering if there was some way to

Re: Dumb question about unit testing

2012-11-20 Thread Graham Cox
On 21/11/2012, at 12:55 AM, William Squires wsqui...@satx.rr.com wrote: I was just wondering if there was some way to make an app that could create/edit these saved objects directly at the binary level so I could make sure of the intermediate results from option #1! The Property List

Re: Dumb question about unit testing

2012-11-19 Thread Sean McBride
On Sun, 18 Nov 2012 21:26:09 -0600, William Squires said: What's the recommended procedure for (unit) testing the initWithCoder: and encodeWithCoder: methods of a class that conforms to NSCoding protocol? I do two things: 1) a test that encodes then immediately decodes, then compares the

Dumb question about unit testing

2012-11-18 Thread William Squires
What's the recommended procedure for (unit) testing the initWithCoder: and encodeWithCoder: methods of a class that conforms to NSCoding protocol? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator