|
47 | 47 | @"https://sample.page.link?link=%@&isi=585027354";
|
48 | 48 | static NSString *const kURLScheme = @"gindeeplinkurl";
|
49 | 49 |
|
50 |
| -static const NSTimeInterval kAsyncTestTimout = 5.0; |
| 50 | +static const NSTimeInterval kAsyncTestTimeout = 5.0; |
51 | 51 |
|
52 | 52 | /**
|
53 | 53 | * This string was generated by percent-encoding the Tactile URL for the Tokyo American Club in
|
@@ -526,7 +526,7 @@ - (void)testDynamicLinkFromUniversalLinkURLCompletionWithCustomDomainLink {
|
526 | 526 | @"ddl url parameter and deep link url should be the same");
|
527 | 527 | [expectation fulfill];
|
528 | 528 | }];
|
529 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 529 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
530 | 530 |
|
531 | 531 | UnswizzleDynamicLinkNetworking();
|
532 | 532 | }
|
@@ -567,7 +567,7 @@ - (void)testDynamicLinkFromUniversalLinkURLCompletionWithSpecialCharacters {
|
567 | 567 | @"ddl url parameter and deep link url should be the same");
|
568 | 568 | [expectation fulfill];
|
569 | 569 | }];
|
570 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 570 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
571 | 571 |
|
572 | 572 | UnswizzleDynamicLinkNetworking();
|
573 | 573 | }
|
@@ -608,7 +608,7 @@ - (void)testDynamicLinkFromUniversalLinkURLCompletionWithEncodedCharacters {
|
608 | 608 | @"ddl url parameter and deep link url should be the same");
|
609 | 609 | [expectation fulfill];
|
610 | 610 | }];
|
611 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 611 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
612 | 612 |
|
613 | 613 | UnswizzleDynamicLinkNetworking();
|
614 | 614 | }
|
@@ -657,7 +657,7 @@ - (void)testUniversalLinkWithCompletion_DeepLink {
|
657 | 657 | XCTAssertEqualObjects(dynamicLink.url.absoluteString, deepLinkString);
|
658 | 658 | [expectation fulfill];
|
659 | 659 | }];
|
660 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 660 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
661 | 661 |
|
662 | 662 | UnswizzleDynamicLinkNetworking();
|
663 | 663 | }
|
@@ -707,7 +707,7 @@ - (void)testUniversalLinkWithCompletion_DeepLinkWithParameters {
|
707 | 707 | parsedDeepLinkString);
|
708 | 708 | [expectation fulfill];
|
709 | 709 | }];
|
710 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 710 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
711 | 711 | UnswizzleDynamicLinkNetworking();
|
712 | 712 | }
|
713 | 713 |
|
@@ -745,7 +745,7 @@ - (void)testResolveLinkReturnsDLWithNilMinAppVersionWhenNotPresent {
|
745 | 745 | [expectation fulfill];
|
746 | 746 | }];
|
747 | 747 |
|
748 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 748 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
749 | 749 | }
|
750 | 750 |
|
751 | 751 | - (void)testResolveLinkReturnsDLWithMinAppVersionWhenPresent {
|
@@ -790,7 +790,7 @@ - (void)testResolveLinkReturnsDLWithMinAppVersionWhenPresent {
|
790 | 790 | [expectation fulfill];
|
791 | 791 | }];
|
792 | 792 |
|
793 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 793 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
794 | 794 | }
|
795 | 795 |
|
796 | 796 | - (void)testUniversalLinkWithSubdomain_NoDeepLink {
|
@@ -871,7 +871,7 @@ - (void)testDynamicLinkFromUniversalLinkURLCompletionReturnsDLWithNilMinimumVers
|
871 | 871 | XCTAssertNil(minVersion, @"Min app version was not nil when not set.");
|
872 | 872 | [expectation fulfill];
|
873 | 873 | }];
|
874 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 874 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
875 | 875 | }
|
876 | 876 |
|
877 | 877 | - (void)testDynamicLinkFromUniversalLinkURLReturnsDLMinimumVersion {
|
@@ -948,7 +948,7 @@ - (void)testDynamicLinkFromUniversalLinkURLReturnsUTMParams {
|
948 | 948 | [expectation fulfill];
|
949 | 949 | }];
|
950 | 950 |
|
951 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 951 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
952 | 952 | }
|
953 | 953 |
|
954 | 954 | - (void)testDynamicLinkFromUniversalLinkURLCompletionReturnsDLMinimumVersion {
|
@@ -976,7 +976,7 @@ - (void)testDynamicLinkFromUniversalLinkURLCompletionReturnsDLMinimumVersion {
|
976 | 976 | @"Min version didn't match imv= parameter");
|
977 | 977 | [expectation fulfill];
|
978 | 978 | }];
|
979 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 979 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
980 | 980 | }
|
981 | 981 |
|
982 | 982 | - (void)testUniversalLinkWithSubdomain_DeepLink {
|
@@ -1022,7 +1022,7 @@ - (void)testUniversalLinkWithCompletionWithSubdomain_DeepLink {
|
1022 | 1022 | XCTAssertEqualObjects(dynamicLink.url.absoluteString, deepLinkString);
|
1023 | 1023 | [expectation fulfill];
|
1024 | 1024 | }];
|
1025 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1025 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1026 | 1026 |
|
1027 | 1027 | UnswizzleDynamicLinkNetworking();
|
1028 | 1028 | }
|
@@ -1067,7 +1067,7 @@ - (void)testUniversalLinkWithCompletionWithSubdomain_DeepLinkWithParameters {
|
1067 | 1067 | parsedDeepLinkString);
|
1068 | 1068 | [expectation fulfill];
|
1069 | 1069 | }];
|
1070 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1070 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1071 | 1071 | }
|
1072 | 1072 |
|
1073 | 1073 | - (void)testResolveLinkRespectsResponseSuccessStatusCode {
|
@@ -1105,7 +1105,7 @@ - (void)testResolveLinkRespectsResponseSuccessStatusCode {
|
1105 | 1105 | [expectation fulfill];
|
1106 | 1106 | }];
|
1107 | 1107 |
|
1108 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1108 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1109 | 1109 | }
|
1110 | 1110 |
|
1111 | 1111 | - (void)testResolveLinkRespectsResponseErrorStatusCode {
|
@@ -1152,7 +1152,7 @@ - (void)testResolveLinkRespectsResponseErrorStatusCode {
|
1152 | 1152 | [expectation fulfill];
|
1153 | 1153 | }];
|
1154 | 1154 |
|
1155 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1155 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1156 | 1156 | }
|
1157 | 1157 |
|
1158 | 1158 | - (void)testPassMatchesShortLinkFormatForDDLDomains {
|
@@ -1354,7 +1354,7 @@ - (void)testHandleUniversalLinkWithShortLink {
|
1354 | 1354 | [handleLinkCompletionExpectation fulfill];
|
1355 | 1355 | }];
|
1356 | 1356 |
|
1357 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1357 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1358 | 1358 | UnswizzleDynamicLinkNetworking();
|
1359 | 1359 | }
|
1360 | 1360 |
|
@@ -1386,7 +1386,7 @@ - (void)testHandleUniversalLinkWithLongLink {
|
1386 | 1386 | [self.service handleUniversalLink:[NSURL URLWithString:longLinkString]
|
1387 | 1387 | completion:handleUniversalLinkBlock];
|
1388 | 1388 |
|
1389 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1389 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1390 | 1390 |
|
1391 | 1391 | // It is expected to call resolveLink once for logging.
|
1392 | 1392 | XCTAssertEqual(resolverInvocationsCount, 1,
|
@@ -1415,7 +1415,7 @@ - (void)testHandleUniversalLinkCallsHandleUniversalLinkResolver {
|
1415 | 1415 | completion:^(FIRDynamicLink *_Nullable dynamicLink, NSError *_Nullable error){
|
1416 | 1416 | }];
|
1417 | 1417 |
|
1418 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1418 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1419 | 1419 |
|
1420 | 1420 | [GULSwizzler unswizzleClass:[FIRDynamicLinks class]
|
1421 | 1421 | selector:selectorToSwizzle
|
@@ -1491,7 +1491,7 @@ - (void)testHandleUniversalLinkCompletionReturnsYesForValidDDL {
|
1491 | 1491 |
|
1492 | 1492 | XCTAssertTrue(handled, @"Valid DDL Universal Link was not handled");
|
1493 | 1493 |
|
1494 |
| - [self waitForExpectationsWithTimeout:kAsyncTestTimout handler:nil]; |
| 1494 | + [self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil]; |
1495 | 1495 | }
|
1496 | 1496 | }
|
1497 | 1497 |
|
|
0 commit comments