Skip all NSURL* test cases using GSInetServerStream on Windows (#268)

* Mark all test cases using GSSocketStream as hopeful on win32

* Update ChangeLog

* Remove allow-test-failures flag
This commit is contained in:
Hugo Melder 2022-09-27 20:21:50 +02:00 committed by GitHub
parent 0f9edb188b
commit a8c421d485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 227 additions and 8 deletions

View file

@ -32,6 +32,11 @@ int main()
"NSURLConnection +connectionWithRequest: delegate: with nil as delegate returns a instance");
response = nil;
#if defined(_WIN32)
testHopeful = YES;
#endif
data = [NSURLConnection sendSynchronousRequest: mutable
returningResponse: &response
error: &error];
@ -40,6 +45,10 @@ int main()
PASS(response != nil && [(NSHTTPURLResponse*)response statusCode] > 0,
"NSURLConnection synchronous load returns a response");
#if defined(_WIN32)
testHopeful = NO;
#endif
path = [[NSFileManager defaultManager] currentDirectoryPath];
path = [path stringByAppendingPathComponent: @"basic.m"];
[mutable setURL: [NSURL fileURLWithPath: path]];