Commit graph

1266 commits

Author SHA1 Message Date
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
Mattt Thompson
8d721afcdd Merge pull request #1003 from blakewatters/feature/copy-shared-schemes-during-ci-build
Copy Shared Schemes During CI Build
2013-05-17 10:54:41 -07:00
Blake Watters
57074f2250 Copy the shared schemes in during a build so that we do not have to deal with modifications to the schemes showing up as changes locally 2013-05-16 18:02:38 -04:00
Mattt Thompson
211cdfc658 Merge pull request #999 from kcharwood/new_test_cases
New test cases
2013-05-16 12:45:59 -07:00
Mattt Thompson
f1049854cf Merge pull request #1000 from OliverLetterer/test
Let the rage testing continue ...
2013-05-16 12:44:19 -07:00
Oliver Letterer
178bf2d58f Adds testReachabilityStatus. 2013-05-16 21:33:34 +02:00
Oliver Letterer
a3472da9b6 Merge branch 'master' into test 2013-05-16 21:28:46 +02:00
Oliver Letterer
5c90fd599a Adds testEnqueueBatchOfHTTPRequestOperations. 2013-05-16 21:28:23 +02:00
Kevin Harwood
9d979991a4 Added method for custom file type 2013-05-16 14:27:41 -05:00
Kevin Harwood
d4fbdfa228 Fixed the names 2013-05-16 14:27:40 -05:00
Mattt Thompson
b6db2df022 Merge pull request #997 from OliverLetterer/test
Adding a few AFHTTPClient tests.
2013-05-16 12:25:33 -07:00
Mattt Thompson
0d79495dec Merge pull request #998 from kcharwood/new_test_cases
Added AFJSONRequestOperationTests
2013-05-16 12:24:19 -07:00
Mattt Thompson
b1a5411599 Merge pull request #996 from blakewatters/bugfix/travis-fix
Install Pods contained within the Tests directory
2013-05-16 12:19:04 -07:00
Oliver Letterer
0fead2b2b9 Adds testEnqueueBatchOfHTTPRequestOperationsWithRequests. 2013-05-16 21:16:39 +02:00
Kevin Harwood
53c6876685 Added AFJSONRequestOperationTests 2013-05-16 14:14:00 -05:00
Oliver Letterer
4e72a84b76 Adds test for unregistering HTTPOperation class. 2013-05-16 21:03:09 +02:00
Oliver Letterer
12ed161510 Adds testImageRequestOperationContruction. 2013-05-16 21:02:06 +02:00
Oliver Letterer
15b7926364 Adds testXMLRequestOperationContruction. 2013-05-16 21:01:02 +02:00
Oliver Letterer
221e7c3abe Adds testJSONRequestOperationContruction. 2013-05-16 21:00:10 +02:00
Oliver Letterer
8748004f19 Adds testDefaultHeaders. 2013-05-16 20:53:23 +02:00
Blake Watters
c33f13a7e4 Install Pods contained within the Tests directory 2013-05-16 14:42:57 -04:00
Mattt Thompson
b93004589a Merge pull request #995 from kcharwood/new_test_cases
Added test cases for pause/resume
2013-05-16 11:37:58 -07:00
apouche
d90aca3ff6 [Issue #992] Adding missing __bridge casts in AFHTTPClient
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-16 11:28:11 -07:00
Mattt Thompson
bc16cf6643 Creating separate group for AFNetworking source files 2013-05-16 11:15:53 -07:00
Kevin Harwood
5ad40f0c36 Added test cases for pause/resume 2013-05-16 13:04:16 -05:00
Mattt Thompson
76950dab03 Update README.md 2013-05-16 09:29:11 -07:00
Mattt Thompson
89ac8bfa67 Changing file headers 2013-05-16 09:22:36 -07:00
Mattt Thompson
deb0776470 Refactoring test cases to put common initialization in -setUp 2013-05-16 09:18:00 -07:00
Mattt Thompson
da78b9fdd7 Merge branch 'feature/941-testing-infrastructure' of git://github.com/blakewatters/AFNetworking into blakewatters-feature/941-testing-infrastructure 2013-05-16 08:53:58 -07:00
Blake Watters
30adc36879 Fix incorrect rake execution in Travis config 2013-05-13 15:39:44 -04:00
Blake Watters
2c01759bda Adjust delays on cancellation test -- unsure why this does not pass when run in the full suite 2013-05-13 09:41:44 -04:00
Blake Watters
c2c3a656e7 Add composite status code reporting during CLI execution 2013-05-13 09:31:45 -04:00
Blake Watters
4d8faf8a23 Pull in a few more basic request/response tests from @kcharwood 2013-05-13 09:25:22 -04:00
Blake Watters
6e57c377f1 Add test coverage around operation cancellation setting the error and invoking the failure block. refs #941 2013-05-13 09:21:36 -04:00
Blake Watters
5c81d90a4c Add test coverage for construction of request body via AFHTTPClient. refs #989 2013-05-13 09:10:39 -04:00
Mattt Thompson
db8a44a9b1 Revert "Fixed a leak in requestWithMethod:path:parameters:"
This reverts commit fad9a6249c.
2013-05-12 19:05:11 -07:00
Mattt Thompson
44d55c4d92 Merge pull request #989 from danyowdee/master
Fix for leaked strings in -[AFHTTPClient requestWithPath:method:params:]
2013-05-12 13:24:31 -07:00
Daniel Demiss
fad9a6249c Fixed a leak in requestWithMethod:path:parameters:
`CFStringConvertEncodingToIANACharSetName` is documented to follow CF’s create-rule, so the cast needed to be transferring ownership to ARC.
2013-05-12 18:26:02 +03:00
Blake Watters
bb4c19eab6 Add section to the README.md detailing how to setup and execute the unit tests 2013-05-11 13:35:36 -04:00