Skip to content

Commit 113a1ce

Browse files
authored
Fix unit tests for Xcode 8.3 (#608)
* Changed the NSTimer to a dispatch_timer. NSTimers only fire in certain run modes. * Added environment parameters to control the test cases without re-compiling. * Standardized test cases. * All tests pass.
1 parent 8d45a79 commit 113a1ce

32 files changed

+322
-251
lines changed

Branch-SDK/Branch-SDK/BNCServerRequestQueue.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
//
77
//
88

9-
#import "BNCServerRequest.h"
109

10+
#import "BNCServerRequest.h"
1111
@class BranchOpenRequest;
1212

13-
@interface BNCServerRequestQueue : NSObject
1413

15-
@property (nonatomic, readonly) unsigned int size;
14+
@interface BNCServerRequestQueue : NSObject
1615

1716
- (void)enqueue:(BNCServerRequest *)request;
1817
- (BNCServerRequest *)dequeue;
@@ -32,4 +31,6 @@
3231

3332
+ (id)getInstance;
3433

34+
@property (readonly, assign) NSInteger queueDepth;
35+
@property (readonly, assign) BOOL isDirty;
3536
@end

0 commit comments

Comments
 (0)