On Mar 10, 2008, at 4:44 PM, William Hunt wrote:

Well, I think I've traced the weirdness I was previously having with the model down to the following...

Please don't start a new thread when the existing one will do just fine. Creating a new thread removes context from the conversation that may be needed to understand what's going on.

Thanks!

When I call:

NSLog( @"bundlePath: %@", [[NSBundle mainBundle] bundlePath] );


I get:

2008-03-10 16:41:18.565 otest[3819:80f] bundlePath: /Developer/Tools

This is expected behavior if your unit tests are being run by otest. If you instead inject your tests into your application, then its main bundle will be returned instead (because the tests are actually run inside the application).

  -- Chris

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to