Remove unnecessary initializer and syntehsized ivars from RKMappingTest

This commit is contained in:
Blake Watters
2012-09-02 12:22:53 -04:00
parent 285586a5b5
commit f16d995053
2 changed files with 0 additions and 16 deletions

View File

@@ -35,15 +35,6 @@
/// @name Creating Tests
///-----------------------------------------------------------------------------
/**
Creates and returns a new test for a given object mapping and source object.
@param mapping The object mapping being tested.
@param sourceObject The source object being mapped.
@return A new mapping test object for a mapping and sourceObject.
*/
+ (RKMappingTest *)testForMapping:(RKObjectMapping *)mapping object:(id)sourceObject;
/**
Creates and returns a new test for a given object mapping, source object and destination
object.

View File

@@ -47,7 +47,6 @@ BOOL RKObjectIsValueEqualToValue(id sourceValue, id destinationValue);
@implementation RKMappingTestEvent
+ (RKMappingTestEvent *)eventWithMapping:(RKAttributeMapping *)mapping value:(id)value
{
RKMappingTestEvent *event = [RKMappingTestEvent new];
@@ -94,12 +93,6 @@ BOOL RKObjectIsValueEqualToValue(id sourceValue, id destinationValue);
@implementation RKMappingTest
+ (RKMappingTest *)testForMapping:(RKObjectMapping *)mapping object:(id)sourceObject
{
return [[self alloc] initWithMapping:mapping sourceObject:sourceObject destinationObject:nil];
}
+ (RKMappingTest *)testForMapping:(RKObjectMapping *)mapping sourceObject:(id)sourceObject destinationObject:(id)destinationObject
{
return [[self alloc] initWithMapping:mapping sourceObject:sourceObject destinationObject:destinationObject];