Ben Copsey

Uncomment tests

@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 #import "ASIFormDataRequest.h" 10 #import "ASIFormDataRequest.h"
11 11
12 @implementation ASIFormDataRequestTests 12 @implementation ASIFormDataRequestTests
13 -/* 13 +
14 - (void)testPostWithFileUpload 14 - (void)testPostWithFileUpload
15 { 15 {
16 NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/post"]; 16 NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/post"];
@@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
49 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]]); 49 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]]);
50 GHAssertTrue(success,@"Failed to upload the correct data (using NSData)"); 50 GHAssertTrue(success,@"Failed to upload the correct data (using NSData)");
51 } 51 }
52 -*/ 52 +
53 53
54 54
55 @end 55 @end
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 14
15 @implementation ASIHTTPRequestTests 15 @implementation ASIHTTPRequestTests
16 16
17 -/* 17 +
18 - (void)testBasicDownload 18 - (void)testBasicDownload
19 { 19 {
20 NSURL *url = [[[NSURL alloc] initWithString:@"http://allseeing-i.com"] autorelease]; 20 NSURL *url = [[[NSURL alloc] initWithString:@"http://allseeing-i.com"] autorelease];
@@ -531,5 +531,5 @@ @@ -531,5 +531,5 @@
531 GHAssertTrue(success,@"Failed to correctly display increment progress for a partial download"); 531 GHAssertTrue(success,@"Failed to correctly display increment progress for a partial download");
532 } 532 }
533 533
534 -*/ 534 +
535 @end 535 @end
@@ -152,7 +152,7 @@ @@ -152,7 +152,7 @@
152 } 152 }
153 153
154 154
155 -/* 155 +
156 - (void)testFailure 156 - (void)testFailure
157 { 157 {
158 complete = NO; 158 complete = NO;
@@ -257,7 +257,7 @@ @@ -257,7 +257,7 @@
257 257
258 [requestThatShouldFail release]; 258 [requestThatShouldFail release];
259 } 259 }
260 -*/ 260 +
261 261
262 - (void)requestFailedCancellingOthers:(ASIHTTPRequest *)request 262 - (void)requestFailedCancellingOthers:(ASIHTTPRequest *)request
263 { 263 {
@@ -276,7 +276,7 @@ @@ -276,7 +276,7 @@
276 } 276 }
277 277
278 278
279 -/* 279 +
280 - (void)testProgressWithAuthentication 280 - (void)testProgressWithAuthentication
281 { 281 {
282 complete = NO; 282 complete = NO;
@@ -329,7 +329,7 @@ @@ -329,7 +329,7 @@
329 [networkQueue release]; 329 [networkQueue release];
330 330
331 } 331 }
332 -*/ 332 +
333 333
334 334
335 - (void)requestFailedExpectedly:(ASIHTTPRequest *)request 335 - (void)requestFailedExpectedly:(ASIHTTPRequest *)request
@@ -343,7 +343,7 @@ @@ -343,7 +343,7 @@
343 { 343 {
344 request_succeeded = YES; 344 request_succeeded = YES;
345 } 345 }
346 -/* 346 +
347 //Connect to a port the server isn't listening on, and the read stream won't be created (Test + Fix contributed by Michael Krause) 347 //Connect to a port the server isn't listening on, and the read stream won't be created (Test + Fix contributed by Michael Krause)
348 - (void)testWithNoListener 348 - (void)testWithNoListener
349 { 349 {
@@ -476,7 +476,7 @@ @@ -476,7 +476,7 @@
476 [networkQueue release]; 476 [networkQueue release];
477 477
478 } 478 }
479 -*/ 479 +
480 - (void)stopQueue:(id)sender 480 - (void)stopQueue:(id)sender
481 { 481 {
482 complete = YES; 482 complete = YES;