Fix the test because one header file not available on iOS. Tests header search path is different from main project
This commit is contained in:
parent
9d78dccac7
commit
57e56d0154
|
@ -46,7 +46,7 @@ script:
|
|||
- pod install --project-directory=Tests
|
||||
- xcodebuild clean -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
|
||||
- xcodebuild clean -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS Demo' -configuration Debug -destination 'name=iPhone 6s' | xcpretty -c
|
||||
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' -configuration Debug | xcpretty -c
|
||||
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6s' -configuration Debug | xcpretty -c
|
||||
- xcodebuild clean -workspace SDWebImage.xcworkspace -scheme 'SDWebImage OSX' -sdk macosx -configuration Debug | xcpretty -c
|
||||
- xcodebuild clean -workspace SDWebImage.xcworkspace -scheme 'SDWebImage OSX Demo' -sdk macosx -configuration Debug | xcpretty -c
|
||||
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests Mac' -sdk macosx -destination 'platform=OS X,arch=x86_64' -configuration Debug | xcpretty -c
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#import <SDWebImage/UIImage+MultiFormat.h>
|
||||
#import <SDWebImage/UIImage+GIF.h>
|
||||
#import <SDWebImage/UIImage+WebP.h>
|
||||
#import <SDWebImage/UIImage+ForceDecode.h>
|
||||
|
||||
@interface SDCategoriesTests : SDTestCase
|
||||
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
#import <SDWebImage/UIImage+ForceDecode.h>
|
||||
#import <SDWebImage/SDWebImageGIFCoder.h>
|
||||
#import <SDWebImage/NSData+ImageContentType.h>
|
||||
#if SD_MAC
|
||||
#import <SDWebImage/NSImage+Additions.h>
|
||||
#endif
|
||||
#import <SDWebImage/UIImage+WebCache.h>
|
||||
|
||||
@interface SDWebImageDecoderTests : SDTestCase
|
||||
|
|
Loading…
Reference in New Issue