Commit graph

68 commits

Author SHA1 Message Date
Mattt Thompson
ac330c84c8 Revert "Drop Podfile.lock from Git so that we don't have to deal with updating it as revisions change"
This reverts commit 56625c466e.
2013-08-10 18:07:01 -07:00
Blake Watters
56625c466e Drop Podfile.lock from Git so that we don't have to deal with updating it as revisions change 2013-08-10 20:38:23 -04:00
Carson McDonald
0cb8ceea43 Update Podfile.lock to 1.3.2 2013-08-08 21:34:16 -04:00
Carson McDonald
d10421e511 Set async timeout to longer than request timeout 2013-07-25 11:34:50 -04:00
Carson McDonald
88e2740378 Make null check wait. 2013-07-19 15:26:27 -04:00
Carson McDonald
7c538aaa67 Add longer test timeout 2013-07-19 12:27:43 -04:00
Kyle Fuller
355ecd32fa Add tests for some functionality in [AFHTTPClient initWithBaseURL] 2013-07-17 10:08:00 -07:00
Mattt Thompson
ce9f3e44a4 Merge pull request #1100 from dstnbrkr/remove-conditional-compilation
Remove conditional compilation (_AFNETWORKING_PIN_SSL_CERTIFICATES_)
2013-07-17 09:45:59 -07:00
Blake Watters
7fa3f45bf2 Switch Travis build script to leverage xctool 0.1.7, which supports implicit dependencies. Simplify xctool invocation 2013-07-14 13:40:20 -04:00
Blake Watters
ab3c2ef73f Restore execution of tests under Travis 2013-07-14 10:50:01 -04:00
Carson McDonald
76735cb754 Use new httpbin image request to fix image test. 2013-07-14 10:50:01 -04:00
Dustin Barker
33ba5685fb Remove reference to _AFNETWORKING_PIN_SSL_CERTIFICATES_ 2013-06-27 22:47:45 -07:00
Kyle Fuller
d10119ce22 Update the Podfile.lock to reference the new specfile hash (1.3.1) 2013-06-18 17:56:55 +01:00
Mattt Thompson
c3a46b8ac4 [Issue #1065] Remove test for NSParameterAssert raise 2013-06-18 09:04:24 -07:00
Kyle Fuller
babd06c1f8 Don't let AFURLConnectionOperation accept a nil request
Closes #1064
2013-06-14 17:36:01 +01:00
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