Update the test project to use modular headers instead of massive headers...

This commit is contained in:
DreamPiggy 2018-04-19 16:43:29 +08:00
parent 55e4ce35bd
commit 9c11886dc0
11 changed files with 3 additions and 41 deletions

View File

@ -612,6 +612,7 @@
DA248D4A1954721A00390AB0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
@ -645,6 +646,7 @@
DA248D4B1954721A00390AB0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;

View File

@ -8,12 +8,6 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/SDImageCache.h>
#import <SDWebImage/SDAnimatedImage.h>
#import <SDWebImage/SDAnimatedImageView.h>
#import <SDWebImage/SDWebImageGIFCoder.h>
#import <SDWebImage/UIImage+WebCache.h>
#import <SDWebImage/SDAnimatedImageView+WebCache.h>
#import <KVOController/KVOController.h>
#if SD_MAC

View File

@ -8,13 +8,9 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/NSData+ImageContentType.h>
#if SD_UIKIT
#import <MobileCoreServices/MobileCoreServices.h>
#endif
#import <SDWebImage/UIImage+MultiFormat.h>
#import <SDWebImage/UIImage+GIF.h>
#import <SDWebImage/UIImage+WebP.h>
@interface SDCategoriesTests : SDTestCase

View File

@ -7,9 +7,6 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/SDImageCache.h>
#import <SDWebImage/SDWebImageCodersManager.h>
#import <SDWebImage/SDImageCachesManager.h>
#import "SDWebImageTestDecoder.h"
#import "SDMockFileManager.h"
#import "SDWebImageTestCache.h"

View File

@ -12,6 +12,7 @@
#import <XCTest/XCTest.h>
#import <Expecta/Expecta.h>
#import <SDWebImage/SDWebImage.h>
FOUNDATION_EXPORT const int64_t kAsyncTestTimeout;
FOUNDATION_EXPORT const int64_t kMinDelayNanosecond;

View File

@ -8,14 +8,6 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/UIImageView+WebCache.h>
#import <SDWebImage/UIImageView+HighlightedWebCache.h>
#import <SDWebImage/MKAnnotationView+WebCache.h>
#import <SDWebImage/UIButton+WebCache.h>
#if SD_UIKIT
#import <SDWebImage/FLAnimatedImageView+WebCache.h>
#endif
#import <SDWebImage/UIView+WebCache.h>
#import <KVOController/KVOController.h>
@interface SDWebCacheCategoriesTests : SDTestCase

View File

@ -8,16 +8,6 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/SDWebImageImageIOCoder.h>
#import <SDWebImage/SDWebImageWebPCoder.h>
#import <SDWebImage/SDWebImageAPNGCoder.h>
#import <SDWebImage/UIImage+ForceDecode.h>
#import <SDWebImage/SDWebImageGIFCoder.h>
#import <SDWebImage/NSData+ImageContentType.h>
#if SD_MAC
#import <SDWebImage/NSImage+Compatibility.h>
#endif
#import <SDWebImage/UIImage+WebCache.h>
@interface SDWebImageDecoderTests : SDTestCase

View File

@ -8,10 +8,6 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/SDWebImageDownloader.h>
#import <SDWebImage/SDWebImageDownloaderOperation.h>
#import <SDWebImage/SDWebImageCodersManager.h>
#import <SDWebImage/SDWebImageLoadersManager.h>
#import "SDWebImageTestDownloadOperation.h"
#import "SDWebImageTestDecoder.h"
#import "SDWebImageTestLoader.h"

View File

@ -7,8 +7,6 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/SDWebImageManager.h>
#import <SDWebImage/SDImageCache.h>
#import "SDWebImageTestTransformer.h"
@interface SDWebImageManagerTests : SDTestCase

View File

@ -8,8 +8,6 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/SDImageCache.h>
#import <SDWebImage/SDWebImagePrefetcher.h>
@interface SDWebImagePrefetcherTests : SDTestCase <SDWebImagePrefetcherDelegate>

View File

@ -8,9 +8,7 @@
*/
#import "SDTestCase.h"
#import <SDWebImage/UIImage+Transform.h>
#import <CoreImage/CoreImage.h>
#import <SDWebImage/SDWebImageTransformer.h>
// Internal header
@interface UIColor (HexString)