Ben Copsey

Uncomment tests

... ... @@ -10,7 +10,7 @@
#import "ASIFormDataRequest.h"
@implementation ASIFormDataRequestTests
/*
- (void)testPostWithFileUpload
{
NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/post"];
... ... @@ -49,7 +49,7 @@
success = ([[request responseString] isEqualToString:[NSString stringWithFormat:@"post_var: %@\r\npost_var2: %@\r\npost_var3: %@\r\nfile_name: %@\r\nfile_size: %hu",@"foo",d,v,@"file",size]]);
GHAssertTrue(success,@"Failed to upload the correct data (using NSData)");
}
*/
@end
... ...
... ... @@ -14,7 +14,7 @@
@implementation ASIHTTPRequestTests
/*
- (void)testBasicDownload
{
NSURL *url = [[[NSURL alloc] initWithString:@"http://allseeing-i.com"] autorelease];
... ... @@ -531,5 +531,5 @@
GHAssertTrue(success,@"Failed to correctly display increment progress for a partial download");
}
*/
@end
... ...
... ... @@ -152,7 +152,7 @@
}
/*
- (void)testFailure
{
complete = NO;
... ... @@ -257,7 +257,7 @@
[requestThatShouldFail release];
}
*/
- (void)requestFailedCancellingOthers:(ASIHTTPRequest *)request
{
... ... @@ -276,7 +276,7 @@
}
/*
- (void)testProgressWithAuthentication
{
complete = NO;
... ... @@ -329,7 +329,7 @@
[networkQueue release];
}
*/
- (void)requestFailedExpectedly:(ASIHTTPRequest *)request
... ... @@ -343,7 +343,7 @@
{
request_succeeded = YES;
}
/*
//Connect to a port the server isn't listening on, and the read stream won't be created (Test + Fix contributed by Michael Krause)
- (void)testWithNoListener
{
... ... @@ -476,7 +476,7 @@
[networkQueue release];
}
*/
- (void)stopQueue:(id)sender
{
complete = YES;
... ...