File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 10
10
static NSString *kTestImageKeyJPEG = @" TestImageKey.jpg" ;
11
11
static NSString *kTestImageKeyPNG = @" TestImageKey.png" ;
12
12
13
- @interface SDImageCache ()
14
-
15
- @property (nonatomic , strong , nonnull ) id <SDMemoryCache> memCache;
16
- @property (nonatomic , strong , nonnull ) id <SDDiskCache> diskCache;
17
-
18
- @end
19
-
20
13
@interface SDYYCacheTests : SDTestCase
21
14
22
15
@property (nonatomic , class , readonly ) YYCache *sharedCache;
@@ -41,8 +34,8 @@ - (void)testCustomMemoryCache {
41
34
NSString *nameSpace = @" YYMemoryCache" ;
42
35
NSString *cacheDictionary = [self makeDiskCachePath: nameSpace];
43
36
SDImageCache *cache = [[SDImageCache alloc ] initWithNamespace: nameSpace diskCacheDirectory: cacheDictionary config: config];
44
- YYMemoryCache *memCache = cache.memCache ;
45
- expect ([memCache isKindOfClass: [YYMemoryCache class ]]).to .beTruthy ();
37
+ YYMemoryCache *memoryCache = cache.memoryCache ;
38
+ expect ([memoryCache isKindOfClass: [YYMemoryCache class ]]).to .beTruthy ();
46
39
}
47
40
48
41
- (void )testCustomDiskCache {
You can’t perform that action at this time.
0 commit comments