Blake Watters
56aaf30a73
Switch the test factory to using blocks instead a famously named category. Add basic example to the header docs.
2012-11-08 19:31:38 -05:00
Blake Watters
a87eeb0224
Drop test factory managed object store filename properties. Unimplemented and unnecessary. You can override the store factory to perform any cutomization.
2012-11-08 19:29:05 -05:00
Blake Watters
7f7bef3e9f
Remove superfluous baseURLString methods from RKTestFactory
2012-11-05 18:38:24 -05:00
Blake Watters
a10df02bf9
Add RKTestHelpers class containing helpful methods when working with object managers in unit and integration tests
2012-10-02 22:55:17 -04:00
Blake Watters
4230c63f80
Add support for shared factory object instances
2012-09-29 17:54:52 -04:00
Blake Watters
6815ba6444
API refresh for mapping layer. Converted RKObjectMapper to RKMapperOperation. Expanded documentation.
2012-09-21 17:55:32 -04:00
Blake Watters
bd4130a546
Eliminate aggregate import of RestKit.h from .NET date formatter and test factory
2012-09-20 11:59:02 -04:00
Blake Watters
ce0badad4c
Docs formatting refresh on the test factory
2012-09-19 12:15:16 -04:00
Blake Watters
3afc7c3501
Misc updates to RKTestFactory
...
* Add `objectFromFactory:properties:` this may deprecate `objectFromFactory:` in the future.
* Add `insertManagedObjectForEntityForName:inManagedObjectContext:withProperties:`. This helper method creates managed object instances in a given context (defaulting to the main queue context), sets its properties using an optional dictionary, and obtains a permanent `NSManagedObjectID` before returning. This is intended to reduce the boilerplate required to construct managed object factories.
2012-09-12 16:29:46 -04:00
Blake Watters
a74b8717dc
Pulling out RKURL in favor of vanilla NSURL
2012-09-03 17:07:09 -04:00
Blake Watters
114ac214b1
Remove mapping provider test factory definition
2012-08-29 19:00:11 -04:00
Blake Watters
fe3b710e9a
Add RK prefix to module header files to disambiguate on import from CocoaPods
2012-08-28 21:01:07 -04:00
Blake Watters
d08046fc5d
Remove the mapping provider in favor of response descriptors
2012-08-28 16:31:31 -04:00
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
07aadeebdf
Reimplemented the managed object store, converted managed object seeder to importer, cleaned up test breakage.
2012-07-26 17:33:35 -04:00
Blake Watters
fcb973056b
Cleanup trailing whitespace. refs #743
2012-05-17 18:00:16 -04:00
Blake Watters
79adb0ef75
Extern RKTestFactoryDefaultStoreFilename symbol
2012-04-30 14:13:08 -04:00
Blake Watters
3921337209
Added support for configuring the store filename used by the test factory.
2012-04-27 12:57:19 -04:00
Blake Watters
ef7dc24969
Implemented dynamic factories using blocks. closes #682
2012-04-17 12:41:26 -04:00
Blake Watters
457a6126cf
Refresh copyright notices for all source files
2012-04-04 09:08:54 -04:00
Blake Watters
ee3a5b7470
Update comments to remove reference to sharedFactory
2012-03-21 22:30:57 -04: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
f8df25edd8
Documentation tweaks
2012-03-15 15:46:35 -04:00
Blake Watters
62c9dc4b9c
Improved error output for failed expectations
2012-02-23 15:24:50 -05:00
Blake Watters
9e50b8cd4f
Introduce RestKit unit testing classes
2012-02-17 20:16:31 -05:00