Skip to content

Commit 5ef342a

Browse files
committed
remove commented out test code
1 parent fd7a12b commit 5ef342a

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

Branch-TestBed/Branch-SDK-Tests/BNCTestCase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#import <XCTest/XCTest.h>
1212
#import "NSString+Branch.h"
13-
//#import "BNCThreads.h"
1413

1514
#define BNCTAssertEqualMaskedString(string, mask) { \
1615
if ((id)string != nil && (id)mask != nil && [string bnc_isEqualToMaskedString:mask]) { \

Branch-TestBed/Branch-SDK-Tests/BNCURLFilterTests.m

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -144,22 +144,6 @@ - (void)testCustomPatternList {
144144
XCTAssertTrue([filter shouldIgnoreURL:[NSURL URLWithString:@"branch123://"]]);
145145
}
146146

147-
// This test relies on the fact the test host saves the pattern list to disk
148-
//- (void)testSavedPatternList {
149-
// BNCURLFilter *filter = [BNCURLFilter new];
150-
//
151-
// // confirm new pattern list is enforced
152-
// [filter useCustomPatternList:@[@"^branch\\d+:"]];
153-
// XCTAssertFalse([filter shouldIgnoreURL:[NSURL URLWithString:@"fb123://"]]);
154-
// XCTAssertTrue([filter shouldIgnoreURL:[NSURL URLWithString:@"branch123://"]]);
155-
//
156-
// [filter useSavedPatternList];
157-
//
158-
// // the saved list should match default pattern list
159-
// XCTAssertTrue([filter shouldIgnoreURL:[NSURL URLWithString:@"fb123://"]]);
160-
// XCTAssertFalse([filter shouldIgnoreURL:[NSURL URLWithString:@"branch123://"]]);
161-
//}
162-
163147
// This is an end to end test and relies on a server call
164148
- (void)testUpdatePatternListFromServer {
165149
BNCURLFilter *filter = [BNCURLFilter new];

0 commit comments

Comments
 (0)