We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792b027 commit 6e1d53dCopy full SHA for 6e1d53d
Tests/base/NSURLSession/test01.m
@@ -90,6 +90,11 @@ int main()
90
NSString *params;
91
MyDelegate *object;
92
93
+#if defined(_WIN32)
94
+ NSLog(@"Marking nonexistant host test as hopeful on Windows as it seems to be broken");
95
+ testHopeful = YES;
96
+#endif
97
+
98
object = AUTORELEASE([MyDelegate new]);
99
mainQueue = [NSOperationQueue mainQueue];
100
defaultConfigObject = [NSURLSessionConfiguration defaultSessionConfiguration];
@@ -126,6 +131,10 @@ int main()
126
131
PASS([object->taskError code] == NSURLErrorCannotConnectToHost,
127
132
"unable to connect to host")
128
133
134
135
+ testHopeful = NO;
136
137
129
138
#endif
130
139
END_SET("NSURLSession test01")
140
return 0;
0 commit comments