Mattt Thompson
2853215bf3
Merge pull request #1057 from kylef/tests-remove-afn
...
Remove AFNetworking source references from test project, cocoapods is used
2013-06-07 07:05:16 -07:00
Kyle Fuller
111be312d8
Update the Podfile.lock to reference the new specfile hash
...
Otherwise the tests will fail, and you get the error:
[!] Required version (AFNetworking (from `../`)) not found for `AFNetworking`.
Available versions: 1.3.0
2013-06-06 22:56:38 +01:00
Kyle Fuller
00a849e7fe
Remove AFNetworking source references from test project, cocoapods is used
2013-06-06 22:50:03 +01:00
Mattt Thompson
52a8a94b66
Refactoring image request tests
2013-06-01 17:07:13 -07:00
Mattt Thompson
ea23240fbb
Merge branch 'feature-ImageRequestOperationTests' of https://github.com/codepost/AFNetworking into codepost-feature-ImageRequestOperationTests
...
Conflicts:
Tests/AFNetworking Tests.xcodeproj/project.pbxproj
2013-06-01 17:06:56 -07:00
Mattt Thompson
118bfee3a4
Renaming AFTestURLProtocol -> AFMockURLProtocol
...
Refactoring AFMockURLProtocol to use mocks more directly
2013-06-01 16:44:30 -07:00
Oliver Letterer
5dcfe99c93
Adding tests for trusting derived certificates.
2013-06-01 20:38:08 +02:00
Oliver Letterer
3163069cbc
Adds tests for basic SSL pinning.
2013-06-01 19:01:25 +02:00
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
Mattt Thompson
7ed9b807c9
Minor reformatting
2013-05-31 13:18:58 -07:00
Oliver Letterer
fd7dd13e23
Adding test for connection:willSendRequestForAuthenticationChallenge:.
2013-05-31 21:16:49 +02: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
Carson McDonald
533120823b
Set buildImplicitDependencies to NO like iOS scheme
2013-05-31 07:08:04 -04: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
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
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
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
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
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
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
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
Kevin Harwood
5ad40f0c36
Added test cases for pause/resume
2013-05-16 13:04:16 -05: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
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
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