File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
Branch-TestBed/Branch-SDK-Tests Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 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]) { \
Original file line number Diff line number Diff 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 ];
You can’t perform that action at this time.
0 commit comments