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
Blake Watters
91cf441582
Restore functionality of Rake tasks
2013-05-11 13:24:41 -04:00
Blake Watters
4f04b35378
Reorganize testing setup
...
* Eliminate static library and framework targets
* Migrate all testing infrastructure and code to Tests/
* Nest CocoaPods setup for testing under Tests/
* Remove explicit dependencies from shared schemes
2013-05-11 13:18:43 -04:00
Blake Watters
bc3b94f79d
Add Podfile.lock to the project
2013-05-11 12:53:24 -04:00
Blake Watters
5bfde2ab4d
Restore previous break-out of Pods configuration as the global import links it into the wrong targets
2013-05-10 18:11:40 -04:00
Blake Watters
7d89a1897d
Cleanup Podfile and remove overridden OTHER_LDFLAGS on AFNetworking static library target
2013-05-10 17:32:00 -04:00
Blake Watters
91db618d8e
Remove unnecessary CocoaPods setup during Travis build execution
2013-05-10 17:10:56 -04:00
Blake Watters
85faf3477f
Add Travis CI build status logo to README.md
2013-05-10 16:07:40 -04:00
Blake Watters
1a25414ef5
Implement initial unit testing and continuous integration system for AFNetworking. refs AFNetworking/AFNetworking#941
2013-05-10 15:53:33 -04:00
xjdrew
6f6c888055
[Issue #942 ] [Issue #943 ] Don't attempt to use URL-encoded credentials in connection:didReceiveAuthenticationChallenge:, since any included credentials would have to be invalid to have an authentication challenge be issued
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-10 11:23:25 -07:00
Mattt Thompson
df51831c15
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2013-05-10 11:19:10 -07:00
Josh Vera
3e5426d54b
[Issue #963 ] Perform default handling for NSURLAuthenticationMethodDefault authentication challenges
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-10 11:18:57 -07:00
Mattt Thompson
e6c91f4452
Merge pull request #981 from OliverLetterer/all-header-fields
...
-[NSURLResponse allHeaderFields]
2013-05-08 11:34:57 -07:00
Oliver Letterer
58c890f17e
Adds missing [self.response respondsToSelector:@selector(allHeaderFields)] check.
2013-05-08 20:22:07 +02:00
Mattt Thompson
618765b5a9
Merge pull request #937 from RobotsAndPencils/upstream
...
allHeaderFields invalid for NSURLResponse to file:/// url
2013-05-08 11:12:12 -07:00
Mattt Thompson
a8f8f2c6c3
Merge pull request #944 from davekeck/master
...
Fix for crasher in AFNetworkActivityIndicatorManager
2013-05-08 11:07:40 -07:00
Mattt Thompson
2036b185b1
Merge pull request #958 from StatusReport/master
...
Add __unused to stream delegate parameter
2013-05-08 11:05:58 -07:00
Mattt Thompson
8fd6eefb2a
Replacing (CFStringRef)NSRunLoopCommonModes with kCFRunLoopCommonModes
2013-05-08 10:27:25 -07:00
Mattt Thompson
8916a10dc4
[Issue #969 ] Reordering network reachability calls to provide correct reachability status on initialization (/thanks @djmadcat)
2013-05-08 10:26:49 -07:00
Mattt Thompson
c3db232a5e
[Issue #970 ] Refactoring network reachability to be more conventional (/thanks @djmadcat)
2013-05-08 10:23:40 -07:00
Mattt Thompson
fa0c8b8ddc
Refactoring failure case for connection:needNewBodyStream:
2013-05-08 10:17:03 -07:00
Mattt Thompson
38c49e1532
Merge pull request #972 from aburgel/needNewBodyStream_cancel
...
Register error if new bodyStream cannot be created
2013-05-08 10:10:55 -07:00
Mattt Thompson
c5e51b31c1
Merge pull request #973 from michael-r-may/master
...
Fix for -Werror switch use
2013-05-08 10:08:16 -07:00
Mattt Thompson
174bbb5b3e
Merge pull request #978 from jeffhunter/master
...
Explicitly synthesize properties to eliminate warnings with -Wobjc-missing-property-synthesis
2013-05-08 09:06:37 -07:00
Jeff Hunter
a42953f62e
explicitly synthesize properties to eliminate warnings with -Wobjc-missing-property-synthesis
2013-05-07 13:53:49 -07:00
Alex Burgel
ac9563e373
Register error if new bodyStream cannot be created
2013-05-06 13:18:34 -04:00
michael_r_may
1e27caa977
Switched the #warning messages to #pragma message messages instead, so you can still compile the framework with -Werror switched on
2013-05-05 22:18:53 +01:00
joein3d
370c4754c1
don't escape tildes as per http://tools.ietf.org/html/rfc3986#section-2.3
2013-05-05 10:49:34 -07:00
Mattt Thompson
e54ffdc33e
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2013-05-05 09:42:48 -07:00
Mattt Thompson
9629ff97c3
Minor edits to documentation
2013-05-05 09:42:39 -07:00