Bogdan Poplauschi
cfc182f2e5
Added SDImageCacheConfig to all targets, test images, code coverage setting, tests for SDImageCache, SDWebImageDownloader, SDWebImageDownloaderOperation, SDWebImageDecoder
2016-09-24 00:14:13 +03:00
Bogdan Poplauschi
fbb310b494
Expecta can use the latest version, using the WebP subspec in the Tests Podfile so we can get all the files
2016-09-23 20:37:17 +03:00
Bogdan Poplauschi
179362f55d
Attempt to fix the tests as they were 2 tests trying to get the same image
2016-06-13 09:49:10 +03:00
Bogdan Poplauschi
7684fbd9a7
Merge branch '4.x' into gif
...
# Conflicts:
# SDWebImage.xcodeproj/project.pbxproj
2016-06-07 08:39:17 +03:00
Bogdan Poplauschi
3364a981d5
Merge branch 'master' into 4.x
...
+ SDWebImageDownloader downloadImageWithURL:... properly use the weakself-strongself pattern
# Conflicts:
# .travis.yml
# Examples/SDWebImage Demo.xcodeproj/project.pbxproj
# README.md
# SDWebImage.xcodeproj/project.pbxproj
# SDWebImage/SDWebImageDownloader.m
# SDWebImage/SDWebImageDownloaderOperation.h
# SDWebImage/SDWebImageDownloaderOperation.m
# SDWebImage/SDWebImageManager.m
# Tests/Podfile
# Tests/SDWebImage Tests.xcodeproj/project.pbxproj
2016-06-07 08:36:45 +03:00
Bogdan Poplauschi
6545a3aba1
Bumped the deployment target to iOS 7 (due to NSURLSession) and also incremented the library version to 3.8.0
2016-06-02 19:10:31 +03:00
Bogdan Poplauschi
94c1ec3ed0
Revisited all copyright comments and decided for just one format
2016-06-01 15:53:08 +03:00
Bogdan Poplauschi
7761afca92
Trying to fix the random build failures (probably timeout due to this image url)
2016-06-01 11:58:39 +03:00
Bogdan Poplauschi
b059b04fd2
Updated the tests
2016-06-01 10:32:40 +03:00
Bogdan Poplauschi
b5a504f326
Trying to get around this last build error "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.google.gr†which could put your confidential information at risk." by using a different image
2016-05-29 13:08:29 +03:00
Bogdan Poplauschi
0dc2c41112
Trying to get around this last build error "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.google.gr†which could put your confidential information at risk." by using a different image
2016-05-29 12:49:06 +03:00
Bogdan Poplauschi
afaf306222
This should fix the build (the tests project)
2016-05-29 00:00:33 +03:00
Bogdan Poplauschi
5ac4e308c7
Fixed the Tests/Podfile, the Target ios was not to be found, so took advantage of this change to simplify it
2016-05-28 23:00:16 +03:00
Bogdan Poplauschi
11840d1313
Attempt to fix the latest build (failed because of Invalid `Podfile` file: [!] The specification of `link_with` in the Podfile is now unsupported, please use target blocks instead.)
2016-05-28 22:07:18 +03:00
Bogdan Poplauschi
13cfc5b89a
Merge pull request #883 from mattjgalloway/fix_multiple_downloads
...
Fix multiple requests for same image and then canceling one
2016-05-23 07:13:01 +03:00
Bogdan Poplauschi
7913b45fae
Added the missing Tests scheme
2016-05-08 23:14:48 +03:00
Bogdan Poplauschi
e3ba4110a9
Renamed the schemes for consistency, dynamic frameworks are named SDWebImage instead of WebImage. Updated the Tests Podfile + project. Renamed the WebImage.h to SDWebImage.h to match the framework naming
2016-05-08 22:59:32 +03:00
Bogdan Poplauschi
a32a1775c2
Renamed SDWebImageManager `downloadImageWithURL:options:progress:completed:` to `loadImageWithURL:options:progress:completed:` as it makes more sense, since we check the cache first and download only if needed
...
Conflicts:
SDWebImage/UIImageView+WebCache.m
2016-05-08 21:16:23 +03:00
Martin Oppetit
68ae502797
Adhering to coding style
...
- also added new line at the end of SDImageCacheTests.m file
2016-02-04 10:14:53 +00:00
Martin Oppetit
9c4fcfa844
Added API to save image NSData to disk cache
...
- exposing new `- (void)storeImageDataToDisk:(NSData *)imageData
forKey:(NSString *)key` function on SDImageCache
- added unit tests for this new API
- added file extension to kImageTestKey to ensure cache path is valid
for creating NSData
2016-02-01 15:19:59 +00:00
Matt Galloway
a02aa42256
Switch to Xcode 6 async tests
2016-01-12 21:04:41 +00:00
Matt Galloway
b00b09e706
Move progress / completion handler logic to the operation
2016-01-12 21:04:38 +00:00
Matt Galloway
917c3d479d
Fix multiple requests for same image and then canceling one
2016-01-12 21:02:15 +00:00
Bogdan Poplauschi
0373b97f71
Merge pull request #1125 from pauruiz/CacheTests
...
Cache tests
2015-07-14 16:39:47 +03:00
Konstantinos K.
0e761f4aa7
404 image url was causing the test to fail
2015-06-24 10:37:31 +03:00
Pau Ruiz
79eb6e77c5
Added all methods of the cache module, almost all directly and some of them indirectly used
...
Unable to test sync call to diskImageExistsWithKey, hoped due to problems with the file manager and the test bundle being different from the main bundle
2015-04-19 10:01:35 +01:00
Pau Ruiz
66ddb23593
Added image for testing cache
2015-04-19 09:24:34 +01:00
Takeru Chuganji
f8c7b9014c
Specify Expecta Version
2015-02-25 10:50:08 +09:00
Bogdan Poplauschi
d9d9ceedf4
Updated the Tests project after updating to CocoaPods 0.34.4
2014-11-02 22:53:32 +02:00
Matt Galloway
66a6873b2c
Switch to built in XCTest async
2014-09-15 12:06:11 +01:00
Bogdan Poplauschi
c8df858f75
Added test for the UIImage+MultiFormat crash
2014-07-18 16:56:32 +03:00
Bogdan Poplauschi
e0b3de4357
Added error test
2014-06-20 17:51:40 +03:00
Bogdan Poplauschi
c1fae30d63
Added SDWebImage Tests project. It uses CocoaPods (Expecta + XCTestAsync). Added some demo tests
2014-06-20 17:21:01 +03:00