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
ee30436ea6
Ensure managed object loader instances are finalized on failure to save managed object store. closes #721
2012-05-17 09:32:01 -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
Blake Watters
2fd239e7ff
Switch invalid URL unit test to connect to localhost on a random port rather than a domain. refs #744
2012-05-16 21:59:12 -04:00
Boris Dušek
e932c31cde
Update RKObjectManager to observe changes to the reachability observer of
...
the underlying RKClient object. refs #717
2012-05-16 15:10:18 -04:00
Blake Watters
2c704e6fdc
Merge branch 'feature/635-accelerate-entity-cache' into development
2012-05-15 19:42:19 -04:00
Blake Watters
9bf89ebec1
Completed documentation and testing for managed object cache overhaul. refs #635
2012-05-15 12:49:42 -04:00
Blake Watters
15f41c6622
Clean tests, added cached predicate usage for fetch request cache strategy. refs #739
2012-05-12 19:18:29 -04:00
Blake Watters
6ca3d1f5ac
Updated RKOAuthClientTest to check for the availability of MongoDB and log a warning message if it is not available. This prevents broken test failures because MongoDB is not installed or running. refs #714
2012-05-10 16:29:16 -04:00
Christopher Swasey
02b4bdf75f
Update tests for new ouath testing environment
2012-05-10 12:57:31 -04:00
Christopher Swasey
e8825f1515
Add actual OAuth implementations to the server, along with some basic test targets and some server-side specs to make sure things are wired up properly.
2012-05-10 12:57:31 -04:00
Blake Watters
6bbc00296d
Add delegate methods to RKObjectMappingOperationDelegate for tracking mappable content that is not
...
set due to an unchanged value. Update RKMapperTest to correctly validate mappings that do not result
in a value change (typically nil => nil). closes #72 , fixes #634
2012-05-09 19:12:09 -04:00
Blake Watters
a01d47316c
Added new logging component for Core Data cacheing subsystem. Fixed performance degradation in entity cache. Enabled RKManagedObjectCacheing callbacks to accelerate mapping, disabled processPendingChanges
2012-05-04 23:19:14 -04:00
Blake Watters
fbcef6abd5
First functional cut at new Core Data cacheing implementation. Tests clean, needs polishing.
2012-05-04 22:15:30 -04:00
Blake Watters
1f98cf432e
Fix crash during queued load of invalid URL. fixes #628
2012-05-03 21:50:37 -04:00
Blake Watters
5a53fdbf1e
Added test coverage for creation of duplicate objects. refs #661
2012-04-30 20:31:28 -04:00
Blake Watters
3ebe809565
Fix typo in env variable when echoing publishing status
2012-04-18 11:33:44 -04:00
Blake Watters
7d612fc214
Add support for building and publishing docs during CI build. refs #685
2012-04-18 11:25:26 -04:00
Blake Watters
f0793b8e19
Enabled support and tests for creation of intermediate directories during RKCache initialization. closes #667
2012-04-17 23:23:41 -04:00
Blake Watters
4ac6a76485
Fix invalid table controller delegate invocation. fixes #683 , closes #659
...
Rename didFinishFinalLoad to didFinalizeLoad for clarity.
2012-04-17 22:54:10 -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
Marcus Brito
ea100b6aac
Add a RKRequest attribute to control redirect handling
...
The default behavior is the same as before, to follow redirects. If RKRequest.followRedirect is set to NO, then a redirect (301, 302, 307) response will not be followed, and the request processing will proceed using the current request only.
2012-04-17 21:16:32 -04:00
Jon Nolen
e0b248da46
fixing RKDotNetDateFormatter not correctly mapping dates in RKObjectMappingOperation.
2012-04-17 21:00:28 -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
Ed McManus
0df8c7ea73
Fix spelling of persistent store.
2012-04-14 11:48:22 -07:00
Blake Watters
27c06946e2
Add basic test coverage for compilation of Objective-C++ sources. refs #649
2012-04-11 21:05:17 -04:00
Blake Watters
d95823d089
Fix incorrect handling of nil values when sectioning an array by keyPath
2012-04-10 19:22:30 -04:00
Blake Watters
b282e3a813
Added support for grouping objects into sections within RKTableController. closes #658
2012-04-10 11:34:22 -04:00
Blake Watters
ac05b6d256
Update RestKit gem and enable autostop/autostart of server in default rake task execution
2012-04-09 18:45:32 -04:00
Blake Watters
570a4d68d9
Fix breakage in Application Tests suite
2012-04-09 17:38:49 -04:00
Blake Watters
95decfaa09
Cleanup test environment header
2012-04-09 17:38:49 -04:00
Blake Watters
b16973666b
Implemented test:application tasks for running RKApplicationTests suite; fixed broken tests
2012-04-09 17:38:24 -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
49bb925fe8
Adding cibuild script for execution under Jenkins
2012-04-05 23:20:11 -04:00
Blake Watters
4b84c1511e
Migrated Test Server execution to the new RestKit gem
2012-04-05 23:18:47 -04:00
Blake Watters
6fd71650e5
Fix broken unit tests related to Core Data cache skipping optimization
2012-04-04 12:19:24 -04:00
Blake Watters
2723a11294
Reorganized categories under RKAdditions naming convention. Expanded documentation.
2012-04-04 09:08:55 -04:00
Blake Watters
457a6126cf
Refresh copyright notices for all source files
2012-04-04 09:08:54 -04:00
Blake Watters
2ce8de2d4b
Add test cases for both In Memory and Fetch Request cache strategies to RKManagedObjectMappingTest
2012-04-04 08:20:08 -04:00
Blake Watters
e6c4d2a24b
OS X specific test fixes
2012-04-03 23:39:55 -04:00
Blake Watters
4c124ab5bf
Fix broken test due to missing resourcePath
2012-04-03 23:39:55 -04:00
Blake Watters
fa3c82c11f
Updated to Sinatra 1.4.0 HEAD to pick up fixes for setting status code when
...
using send_file and logging output.
2012-04-03 23:39:55 -04:00
Blake Watters
59eec38f6e
Updated RKDirectory with method for ensuring existence of directories. RKTestEnvironment
...
now ensures the Caches and Application Data directories exist at test initialization.
Enables test suite to run from command line or with a CI environment. refs #293
2012-04-03 23:39:43 -04:00
Blake Watters
a545c3942b
Integrated primaryKey extension to NSEntityDescription and refactored cache strategy
...
classes to eliminate issues with duplicated objects. closes #611 , #612 , #613 , #618
* NSEntityDescription is now aware of the primaryKeyAttribute. Can be configured via
Interface Builder within Xcode or programatically.
* Added findByPrimaryKey: interface to the Core Data extensions.
* Relaxed dependencies on RKManagedObjectMapping across the system now that primaryKey is
available without a reference to the mapping.
2012-04-03 23:39:42 -04:00
Blake Watters
c210b10299
Add missing resourcePath to fix exception during unit test execution
2012-03-31 16:33:34 -04:00
Blake Watters
73fe4f1237
Added support for object mapping a single object instance onto an NSOrderedSet collection. fixes #616
2012-03-30 09:29:41 -04:00