Skip to content

Commit 9972f88

Browse files
committed
Add no service versions to the core fetcher cancel tests.
1 parent 7d3ea8f commit 9972f88

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

UnitTests/GTMSessionFetcherFetchingTest.m

+45
Original file line numberDiff line numberDiff line change
@@ -1563,39 +1563,84 @@ - (void)testDelayedCancelFetchWithCallback {
15631563
[self internalCancelFetchWithCallback:1];
15641564
}
15651565

1566+
- (void)testDelayedCancelFetchWithCallback_WithoutFetcherService {
1567+
_fetcherService = nil;
1568+
[self internalCancelFetchWithCallback:1];
1569+
}
1570+
15661571
- (void)testImmediateCancelFetchWithCallback {
15671572
[self internalCancelFetchWithCallback:0];
15681573
}
15691574

1575+
- (void)testImmediateCancelFetchWithCallback_WithoutFetcherService {
1576+
_fetcherService = nil;
1577+
[self internalCancelFetchWithCallback:0];
1578+
}
1579+
15701580
- (void)testDelayedSyncAuthCancelFetchWithCallback {
15711581
[self internalCancelFetchWithCallback:1 authorizer:[TestAuthorizer syncAuthorizer]];
15721582
}
15731583

1584+
- (void)testDelayedSyncAuthCancelFetchWithCallback_WithoutFetcherService {
1585+
_fetcherService = nil;
1586+
[self internalCancelFetchWithCallback:1 authorizer:[TestAuthorizer syncAuthorizer]];
1587+
}
1588+
15741589
- (void)testImmediateSyncAuthCancelFetchWithCallback {
15751590
XCTSkip(@"Has failed on CI, but not locally, needs investigation.");
15761591
[self internalCancelFetchWithCallback:0 authorizer:[TestAuthorizer syncAuthorizer]];
15771592
}
15781593

1594+
- (void)testImmediateSyncAuthCancelFetchWithCallback_WithoutFetcherService {
1595+
_fetcherService = nil;
1596+
XCTSkip(@"Has failed on CI, but not locally, needs investigation.");
1597+
[self internalCancelFetchWithCallback:0 authorizer:[TestAuthorizer syncAuthorizer]];
1598+
}
1599+
15791600
- (void)testDelayedAsyncAuthCancelFetchWithCallback {
15801601
XCTSkip(@"Currently fails, needs fixing.");
15811602
[self internalCancelFetchWithCallback:1 authorizer:[TestAuthorizer asyncAuthorizer]];
15821603
}
15831604

1605+
- (void)testDelayedAsyncAuthCancelFetchWithCallback_WithoutFetcherService {
1606+
_fetcherService = nil;
1607+
XCTSkip(@"Currently fails, needs fixing.");
1608+
[self internalCancelFetchWithCallback:1 authorizer:[TestAuthorizer asyncAuthorizer]];
1609+
}
1610+
15841611
- (void)testImmediateAsyncAuthCancelFetchWithCallback {
15851612
XCTSkip(@"Currently fails, needs fixing.");
15861613
[self internalCancelFetchWithCallback:0 authorizer:[TestAuthorizer asyncAuthorizer]];
15871614
}
15881615

1616+
- (void)testImmediateAsyncAuthCancelFetchWithCallback_WithoutFetcherService {
1617+
_fetcherService = nil;
1618+
XCTSkip(@"Currently fails, needs fixing.");
1619+
[self internalCancelFetchWithCallback:0 authorizer:[TestAuthorizer asyncAuthorizer]];
1620+
}
1621+
15891622
- (void)testDelayedAsyncDelayedAuthCancelFetchWithCallback {
15901623
XCTSkip(@"Currently fails, needs fixing.");
15911624
[self internalCancelFetchWithCallback:1 authorizer:[TestAuthorizer asyncAuthorizerDelayed:2]];
15921625
}
15931626

1627+
- (void)testDelayedAsyncDelayedAuthCancelFetchWithCallback_WithoutFetcherService {
1628+
_fetcherService = nil;
1629+
XCTSkip(@"Currently fails, needs fixing.");
1630+
[self internalCancelFetchWithCallback:1 authorizer:[TestAuthorizer asyncAuthorizerDelayed:2]];
1631+
}
1632+
15941633
- (void)testImmediateAsyncDelayedAuthCancelFetchWithCallback {
15951634
XCTSkip(@"Currently fails, needs fixing.");
15961635
[self internalCancelFetchWithCallback:0 authorizer:[TestAuthorizer asyncAuthorizerDelayed:1]];
15971636
}
15981637

1638+
- (void)testImmediateAsyncDelayedAuthCancelFetchWithCallback_WithoutFetcherService {
1639+
_fetcherService = nil;
1640+
XCTSkip(@"Currently fails, needs fixing.");
1641+
[self internalCancelFetchWithCallback:0 authorizer:[TestAuthorizer asyncAuthorizerDelayed:1]];
1642+
}
1643+
15991644
- (void)internalCancelFetchWithCallback:(unsigned int)sleepTime {
16001645
[self internalCancelFetchWithCallback:sleepTime authorizer:nil];
16011646
}

0 commit comments

Comments
 (0)