mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
Reworking test environment imports when Kiwi has been imported to suppress warning
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user