mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
0f9edb188b
commit
a8c421d485
16 changed files with 227 additions and 8 deletions
|
@ -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]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue