Commit Graph

24 Commits

Author SHA1 Message Date
Blake Watters
37c70e4c27 Migrate path utilities to C functions instead of encapsulating into static methods on RKDirectory to reduce API size 2012-08-14 09:57:27 -04:00
Blake Watters
8d8523cd4d Disabled run loop mode tests as they are causing the Test Suite to hang 2012-08-07 17:06:07 -04:00
Jawwad Ahmad
82f4630d36 Whitespace syntax cleanup. Refs #614 2012-07-11 10:41:38 -04:00
Jawwad Ahmad
abb46c382c Ensure the stars for all pointers belong to the variable rather than the type. Refs #614 2012-06-04 22:47:30 -04:00
Jawwad Ahmad
eaa5484b01 Placing opening braces on a new line for methods to match Apple convention. Refs #614
Used uncrustify's "nl_fdef_brace = add" option to detect issues.
2012-06-04 00:36:19 -04:00
Jawwad Ahmad
10433089a4 Strip trailing whitespace. Refs #614 2012-06-03 22:33:31 -04:00
Blake Watters
30f1198bb8 Add tests verifying expected behavior for availability of RKRequest response property. closes #527 2012-05-19 15:59:53 -04:00
Blake Watters
e051c63e55 Rework intermittently failing tests 2012-05-17 18:32:37 -04:00
Blake Watters
016f13dad0 Convert all tabs to four spaces. refs #743 2012-05-17 18:10:59 -04:00
Blake Watters
fcb973056b Cleanup trailing whitespace. refs #743 2012-05-17 18:00:16 -04:00
Blake Watters
938304d542 Fixes to ensure failed requests are not resent. refs #628, fixes #744, closes #720
Additional changes and test coverage to handle the case of loading an invalid URL
or otherwise immediately encountering an error condition:

* Restores use of removeLoadingRequest: within the queue
* Updates fragile tests to ensure better coverage for error cases
* Sets isLoaded to YES during error callbacks to prevent duplicated dispatching
2012-05-16 23:50:43 -04:00
Christopher Swasey
02b4bdf75f Update tests for new ouath testing environment 2012-05-10 12:57:31 -04:00
Blake Watters
4071fa9a32 Integrated support for configuring runLoopMode on a per request basis. closes #560 2012-04-17 21:28:48 -04:00
Blake Watters
24eb4d814e Fix intermittent crash in test suite 2012-04-17 20:57:52 -04:00
Sylvain Guillopé
46f668d7e9 Added support for connection:didReceiveResponse: to be forwarded from RKResponse through RKRequestDelegate 2012-04-17 20:57:52 -04:00
Blake Watters
ef7dc24969 Implemented dynamic factories using blocks. closes #682 2012-04-17 12:41:26 -04:00
Blake Watters
515a8dfcfb Normalized the bundle identifier for Logic and Application Tests to 'org.restkit.tests' 2012-04-09 17:38:21 -04:00
Blake Watters
457a6126cf Refresh copyright notices for all source files 2012-04-04 09:08:54 -04:00
Brian Morton
de4100bfd6 Rearrange SSL validation test so that it isn't stepped on by configureRequest:. 2012-03-20 19:58:51 -07:00
Blake Watters
868372272f Ported RestKit tests over to using the RKTestFactory and completed documentation. fixes #318 2012-03-15 23:06:49 -04:00
Blake Watters
b8d9a0a423 Add test coverage for memory leak due to background policy. refs #548 2012-03-12 19:03:42 -04:00
Blake Watters
0448090504 Disabled invalid caching behavior for PUT & POST responses. fixes #589 2012-03-12 18:33:35 -04:00
Blake Watters
44ff8826f7 Invalidate timeout timer when POST body data is sent. fixes #535 2012-02-16 11:07:16 -05:00
Blake Watters
4142ffdb42 Reorganization and cleanups of Unit Tests
* Reorganized tests to accommodate split into Logic & Application.
* Eliminated 'Spec' naming in favor of 'Test' as the suite is entirely based on SenTest.
* Pulled majority of testing support classes up into the library and documented them.
* Introduced RKApplicationTests app for running the RKTableController UI tests
2012-02-10 17:32:23 -05:00