Reworking test environment imports when Kiwi has been imported to suppress warning

This commit is contained in:
Blake Watters
2012-10-05 21:49:45 -04:00
parent 1f8c47e2e8
commit 2f0f5279c2
2 changed files with 8 additions and 6 deletions

View File

@@ -6,9 +6,9 @@
// Copyright (c) 2012 RestKit. All rights reserved.
//
#import "Kiwi.h"
#import "RKTestEnvironment.h"
#import "RKTestUser.h"
#import "Kiwi.h"
SPEC_BEGIN(RKResponseDescriptorSpec)

View File

@@ -18,19 +18,21 @@
// limitations under the License.
//
#import <SenTestingKit/SenTestingKit.h>
#import <OCMock/OCMock.h>
#import <OCMock/NSNotificationCenter+OCMAdditions.h>
#define HC_SHORTHAND
#import "OCHamcrest.h"
#import <SenTestingKit/SenTestingKit.h>
// If Kiwi has been imported, skip Hamcrest
#ifndef KW_VERSION
#define HC_SHORTHAND
#import "OCHamcrest.h"
#endif
#define EXP_SHORTHAND
#import "Expecta.h"
#import "RestKit.h"
#import <RestKit/RestKit.h>
#import <RestKit/Testing.h>
#import <RestKit/RKManagedObjectStore.h>
/*
Base class for RestKit test cases. Provides initialization of testing