Commit graph

17 commits

Author SHA1 Message Date
Mattt Thompson
632ac765ee Minor reformatting 2013-05-22 09:37:23 -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
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
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
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
318b1545a6 Add efficient OCMock based test cases for enqueueBatchOfHTTPRequestOperations suggested in commentary on #1002 2013-05-17 17:52:18 -04:00
Oliver Letterer
178bf2d58f Adds testReachabilityStatus. 2013-05-16 21:33:34 +02:00
Oliver Letterer
5c90fd599a Adds testEnqueueBatchOfHTTPRequestOperations. 2013-05-16 21:28:23 +02:00
Oliver Letterer
0fead2b2b9 Adds testEnqueueBatchOfHTTPRequestOperationsWithRequests. 2013-05-16 21:16:39 +02: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
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
Blake Watters
5c81d90a4c Add test coverage for construction of request body via AFHTTPClient. refs #989 2013-05-13 09:10:39 -04:00