2. Loading resources during unit testing doesn't work from mainBundle e.g. use:
NSString* path=[[NSBundle bundleForClass:[self class]] pathForResource:@"fname" ofType:@"plist"];
VS
NSString* path = [[NSBundle mainBundle] pathForResource:@"fname" ofType:@"plist"];
3. CGRectZero causes tests failure, CGRectMake(0, 0, 0, 0) does not.
No comments:
Post a Comment