Blake Watters
59c449c2e2
Cleanups to and test coverage expansion of RKTableController API's. refs #765
2012-05-24 12:53:51 -04:00
Blake Watters
680ca666d6
Update RKTestFactory to silence logging output during setup/tear down operations. closes #764
...
* Introduced new logging helpers for silencing components.
* Check for existence of data store at path before firing deletion to avoid log warning on failure.
* Silence logging for reachability and cache during factory initialization of RKClient and RKObjectManager
* Adjust log levels on cache components from info to debug
2012-05-24 12:53:45 -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
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
5942771e41
Migrated RKTestFactory constants into an external file due to issues with unresolved symbols when
...
building Tests for iOS Devices (worked fine on Simulator). It's unclear exactly what the underlying
issue is.
2012-05-04 11:52:29 -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
595f7ed5e7
Add definition for private methods in extension category on RKTestFactory to ensure compatibility
...
with pre Xcode 4.3 compiler. fixes #687
2012-04-19 09:53: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
7235499d15
Fix invalid spelling of persistent merged inadvertantly
2012-04-17 12:50:21 -04:00
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