Commit graph

1281 commits

Author SHA1 Message Date
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
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
Blake Watters
318b1545a6 Add efficient OCMock based test cases for enqueueBatchOfHTTPRequestOperations suggested in commentary on #1002 2013-05-17 17:52:18 -04: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