Commit Graph

25 Commits

Author SHA1 Message Date
Blake Watters
ef7dc24969 Implemented dynamic factories using blocks. closes #682 2012-04-17 12:41:26 -04:00
Blake Watters
a02b0f0d02 Merge pull request #674 from emcmanus/development
Fix spelling of "persistent store"
2012-04-16 18:55:55 -07:00
Blake Watters
75e59813e6 Migrate RKTestFactory didInitialize callback out of init 2012-04-16 14:45:04 -04:00
Ed McManus
0df8c7ea73 Fix spelling of persistent store. 2012-04-14 11:48:22 -07: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
423df93a59 Add Apache license notice to RKMappingTest 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
0771b3e9b3 Added macro for ignoring delegate messages sent after an RKRequest has been cancelled.
Fixes intermittent crash in the test suite due to authentication challenge callbacks being
processed after the request is through. fixes #639
2012-04-03 23:39:55 -04:00
Blake Watters
1f53d45bf9 Raise an assertion in the event a mapping test is invoked with a mapping containing a nil
target object class.
2012-04-03 23:39:43 -04:00
Blake Watters
54a441783c Delete the store file on every instantiation of the managedObjectStore via the test factory 2012-04-03 23:39:42 -04:00
Blake Watters
d633cf4c2d Updated RKMappingTest to make performMapping public and assign instantiated destinationObject to
the property to support testing portions of the mapping not expressed via key path transformations
(the connection of Core Data relationships, for example).
2012-04-03 23:39:42 -04:00
Blake Watters
212c243203 Added rootKeyPath option to RKMappingTest 2012-04-03 23:39:42 -04:00
Blake Watters
ee3a5b7470 Update comments to remove reference to sharedFactory 2012-03-21 22:30:57 -04:00
Blake Watters
a6b3d46c4b Instantiate the sharedFactory via the static initialize method 2012-03-21 12:49:09 -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
Jawwad Ahmad
612f74e6c0 Made NSAssert statements in RKTestFixture more specific.
- Also updated fixtureBundle to be accessed through the getter
2012-03-09 18:49:31 -05:00
Jawwad Ahmad
d5690e4b20 Added nil check for sourceObject and mapping in RKMappingTest. refs #318 2012-03-09 13:21:53 -05:00
Jawwad Ahmad
89fef19b94 Add nil check for fixture bundle in RKTestFixture 2012-03-09 12:10:44 -05:00
Blake Watters
39d2311860 Added support for immediate verification of expectations. Expanded header documentation. refs #318 2012-03-09 09:04:24 -05:00
Blake Watters
9b6992a166 Added the designated initializer to the header file. fixes #575 2012-02-29 19:47:42 -05: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
Blake Watters
4d48ef4729 Fixed breakage in OS X support 2012-02-15 17:48:59 -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