Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ben Copsey
2009-04-04 11:16:17 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de33da0640123e2830b58f5845514d5267116cc7
de33da06
1 parent
73e6a370
Uncomment tests
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
Classes/Tests/ASIFormDataRequestTests.m
Classes/Tests/ASIHTTPRequestTests.m
Classes/Tests/ASINetworkQueueTests.m
Classes/Tests/ASIFormDataRequestTests.m
View file @
de33da0
...
...
@@ -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\n
post_var2: %@
\r\n
post_var3: %@
\r\n
file_name: %@
\r\n
file_size: %hu"
,
@"foo"
,
d
,
v
,
@"file"
,
size
]]);
GHAssertTrue
(
success
,
@"Failed to upload the correct data (using NSData)"
);
}
*/
@end
...
...
Classes/Tests/ASIHTTPRequestTests.m
View file @
de33da0
...
...
@@ -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
...
...
Classes/Tests/ASINetworkQueueTests.m
View file @
de33da0
...
...
@@ -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
;
...
...
Please
register
or
login
to post a comment