Commit graph

1306 commits

Author SHA1 Message Date
Adam Fraser
3ecc2afc23 Test image processing block 2013-06-01 20:50:03 +10:00
Adam Fraser
648b4fb77f Test responseImage on success and failure 2013-06-01 20:49:07 +10:00
Adam Fraser
877a5a46fd Add initial tests for AFImageRequestOperation 2013-06-01 20:47:30 +10:00
Adam Fraser
ad0053c40a Fix typos in AFImageRequest header file 2013-06-01 12:36:03 +10:00
Mattt Thompson
f695ced95a Merge pull request #1043 from noa--/lion_fix_2
Fix build under 10.7 SDK
2013-05-31 14:00:02 -07:00
Paul Melnikow
1eba718001 Fix build under 10.7 SDK
This is the sole use of the [] operator on NSDictionary, introduced in 1.2.0. It doesn't build when Base SDK is set to 10.7.
2013-05-31 16:36:53 -04:00
Mattt Thompson
7ed9b807c9 Minor reformatting 2013-05-31 13:18:58 -07:00
Mattt Thompson
744f2b7098 Merge pull request #1042 from OliverLetterer/will-send-request-for-authentication-challenge
Refactoring AFURLConnectionOperation Number 2
2013-05-31 13:01:19 -07:00
Oliver Letterer
fd7dd13e23 Adding test for connection:willSendRequestForAuthenticationChallenge:. 2013-05-31 21:16:49 +02:00
Oliver Letterer
41d228f3a7 Properly implementing connection:willSendRequestForAuthenticationChallenge:. 2013-05-31 21:06:06 +02:00
Andrew Vyazovoy
4a43277fba [Issue #1025] Removing redundant check for nonzero responseData length
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-31 11:53:09 -07:00
Mattt Thompson
17d267ba07 Merge pull request #957 from hhartz/master
Suppressed GNU expression and Enum assignment warnings from clang
2013-05-31 11:42:47 -07:00
Mattt Thompson
9667b21891 Refactoring conditional in responseJSON to avoid unnecessary nil-ing of responseJSON 2013-05-31 11:19:21 -07:00
Andrew Vyazovoy
f388740276 [Issue #1025] Adding check for nil responseString in responseJSON
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-31 11:16:03 -07:00
Mattt Thompson
0fda12af2a Minor refactoring and reformatting 2013-05-31 10:55:00 -07:00
Mattt Thompson
f8d090f159 Merge branch 'request-decoding-error' of https://github.com/modcloth/AFNetworking into modcloth-request-decoding-error 2013-05-31 10:50:19 -07:00
Mattt Thompson
b26df2e6aa Minor formatting 2013-05-31 09:52:32 -07:00
Mattt Thompson
5c712c13ad Updating Podfile.lock 2013-05-31 09:31:18 -07:00
Mattt Thompson
8b751deae5 Remove use of object subscripting 2013-05-31 09:30:56 -07:00
Mattt Thompson
9589ac3ea5 Merge branch 'feature/test-prepare-task' of https://github.com/blakewatters/AFNetworking into blakewatters-feature/test-prepare-task
Conflicts:
	Rakefile
2013-05-31 09:28:36 -07:00
Mattt Thompson
9383817204 Merge pull request #1039 from carsonmcdonald/testbuildfix
Add build and build-tests steps to fix failing build
2013-05-31 09:19:54 -07:00
Carson McDonald
52e62ebfaf Run build and build-tests before test 2013-05-31 07:08:17 -04:00
Carson McDonald
533120823b Set buildImplicitDependencies to NO like iOS scheme 2013-05-31 07:08:04 -04:00
Blake Watters
6f7816022a Set buildImplicitDependencies="NO" in OS X shared scheme 2013-05-30 21:11:05 -04:00
Blake Watters
8dbd406650 Replace shared scheme copy Travis step with rake test:prepare task for easier out of the box execution of tests 2013-05-30 20:41:07 -04:00
Mattt Thompson
d4f7e62ad6 Merge pull request #1021 from OliverLetterer/invocation-arguments
Using __unsafe_unretained for getting invocation arguments.
2013-05-24 12:35:54 -07:00
Chris Pickslay & Geoff Nix
e343beaf6c Raise error if unable to decode response string 2013-05-22 14:06:07 -07:00
Oliver Letterer
b6769ee794 Using __unsage_unretained for getting invocation arguments. 2013-05-22 21:44:42 +02:00
Oliver Letterer
380f0c16aa [Issue #1002] Adding AFHTTPClient tests
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-22 10:23:51 -07:00
Mattt Thompson
b5d56a5eeb Removing abide.jpg in favor of re-using existing Icon.png to test multipart file upload 2013-05-22 09:42:19 -07:00
Mattt Thompson
632ac765ee Minor reformatting 2013-05-22 09:37:23 -07:00
Mattt Thompson
f63a70fa27 Minor reformatting 2013-05-22 09:18:22 -07:00
Mattt Thompson
6fc8b0a971 Change double delayInSeconds to NSTimeInterval delay 2013-05-22 09:15:09 -07:00
Mattt Thompson
7845bf9b98 Merge branch 'bugfix/948-stream-event-bug' of git://github.com/blakewatters/AFNetworking into blakewatters-bugfix/948-stream-event-bug
Conflicts:
	Tests/AFHTTPClientTests.m
2013-05-22 09:13:19 -07:00
Mattt Thompson
7f0219109d Using id return type for AFHTTPClient -init, instead of instancetype
Minor reformatting
2013-05-22 08:57:11 -07:00
Mattt Thompson
8cefa907d4 Merge pull request #1006 from blakewatters/tests/mocked-test-cases
Add efficient OCMock based test cases for `enqueueBatchOfHTTPRequestOperations`
2013-05-22 08:49:02 -07:00
Mattt Thompson
c3fab0f315 Merge pull request #1014 from 0xced/test-response-string-encoding
Add tests for the responseStringEncoding property
2013-05-22 08:43:32 -07:00
Mattt Thompson
8bd755bf3e Merge pull request #1013 from OliverLetterer/run-tests-in-release
Now running all tests in Release configuration instead of Debug configuration.
2013-05-22 08:43:04 -07:00
Mattt Thompson
c9eb2d380c Merge pull request #1019 from kylef/init
[AFHTTPClient init] should raise an exception
2013-05-22 08:32:44 -07:00
Kyle Fuller
0f608ec1ac [AFHTTPClient init] should raise an exception
As discussed on #971, this will prevent anyone from accidentally calling init
which results in undefined behaviour.

http://developer.apple.com/library/ios/#documentation/general/conceptual/devpedia-cocoacore/MultipleInitializers.html
2013-05-22 16:25:38 +01:00
Cédric Luthi
8d8beb8d01 Add tests for the responseStringEncoding property 2013-05-21 17:58:32 +02:00
Oliver Letterer
61ef1f652b Now running all tests in Release configuration instead of Debug. 2013-05-21 12:25:57 +02:00
Mattt Thompson
efb36aaa99 Fixing potential deadlock in AFURLConnectionOpeation -setOutputStream: /thanks @aburgel 2013-05-20 10:49:44 -07:00
Mattt Thompson
65af19c524 Merge pull request #1011 from mattrubin/implicit-signedness-conversions
Explicit type casting to prevent warnings
2013-05-20 10:22:59 -07:00
Matt Rubin
32bb2bbca3 Explicit type casting to prevent warnings about implicit signedness conversion 2013-05-20 01:26:04 -05:00
fumoboy007
5081868121 [Issue #906] Lazily-initializing outputStream property for AFURLConnectionOperation
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-19 12:52:58 -07:00
Mattt Thompson
a82474877b Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-05-19 12:44:59 -07:00
Mattt Thompson
b1fd32164a [Issue #938] Declaring AFNetworkActivityIndicatorManager properties nonatomic in class extension 2013-05-19 12:44:49 -07:00
Blake Watters
f339198d14 Add test coverage and fix for "Stream XXX is sending an event before being opened" during multi-part file uploads. fixes #948 2013-05-18 14:51:15 -04:00
Blake Watters
d6587027e7 Add support for logging request & responses during test execution via the AFTestsLoggingEnabled environment variable 2013-05-18 14:50:51 -04:00