I'm having a problem with asynchronous tests. Anytime I call -waitForStatus:timeout: I'm getting EXC_BAD_ACCESS. Here's my code with the asynchronous calls stripped (the error is thrown whether I make those calls or not):
#import <GHUnitIOS/GHUnit.h>
@interface ZKZSensorTests : GHAsyncTestCase
@end
@implementation ZKZSensorTests
- (void)testOpenConnectionStartsStreamingVirtualSession {
[self prepare];
[self waitForStatus:kGHUnitWaitStatusSuccess timeout:5.0];
}
@end
I've enabled zombies and get this console output:
Starting ZKZSensorTests/testOpenConnectionStartsStreamingVirtualSession
2012-12-27 14:50:51.293 GHUnitTests[2263:617] *** -[CFString respondsToSelector:]: message sent to deallocated instance 0x8254de0
This comes from within the waitForStatus:timeout: call. Any ideas?
Thanks!
Brennon