Skip to content

Commit 708ce17

Browse files
committed
Supports animated image decoding/encoding for SDYYImageCoder.
Also add test cases for YYImage plugin
1 parent 3b65bbd commit 708ce17

File tree

15 files changed

+482
-71
lines changed

15 files changed

+482
-71
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,15 @@ script:
3232

3333
- echo Build example
3434
- pod install --project-directory=Example
35-
- xcodebuild build -workspace Example/SDWebImageYYPlugin.xcworkspace -scheme SDWebImageYYPlugin-Example -sdk iphonesimulator -destination 'name=iPhone 6s' -configuration Debug | xcpretty -c
35+
- xcodebuild build -workspace Example/SDWebImageYYPlugin.xcworkspace -scheme SDWebImageYYPlugin-Example -sdk iphonesimulator -destination 'name=iPhone 8' -configuration Debug | xcpretty -c
36+
37+
- echo Clean DerivedData
38+
- mkdir DerivedData
39+
- rm -rf ~/Library/Developer/Xcode/DerivedData
40+
41+
- echo Run the tests
42+
- xcodebuild test -workspace Example/SDWebImageYYPlugin.xcworkspace -scheme 'SDWebImageYYPlugin_Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' -configuration Debug | xcpretty -c
43+
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
44+
45+
after_success:
46+
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImageYYPlugin$' -F 'iOS'

Example/Podfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
platform :ios, '8.0'
22
use_frameworks!
33
inhibit_all_warnings!
4+
install! 'cocoapods', :share_schemes_for_development_pods => ['SDWebImageYYPlugin']
45

56
target 'SDWebImageYYPlugin_Example' do
67
pod 'SDWebImageYYPlugin', :path => '../'
8+
pod 'YYImage/WebP'
79
pod 'SDWebImage/Core', git:'https://github.com/rs/SDWebImage.git', :branch => '5.x'
810

911
target 'SDWebImageYYPlugin_Tests' do
1012
inherit! :search_paths
11-
13+
pod 'Expecta'
1214

1315
end
1416
end

Example/Podfile.lock

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,46 @@
11
PODS:
2+
- Expecta (1.0.6)
23
- SDWebImage/Core (5.0.0-beta3)
3-
- SDWebImageYYPlugin (0.1.0):
4+
- SDWebImageYYPlugin (0.1.1):
45
- SDWebImage/Core (>= 5.0.0-beta)
5-
- SDWebImageYYPlugin/YYCache (= 0.1.0)
6-
- SDWebImageYYPlugin/YYImage (= 0.1.0)
7-
- SDWebImageYYPlugin/YYCache (0.1.0):
6+
- SDWebImageYYPlugin/YYCache (= 0.1.1)
7+
- SDWebImageYYPlugin/YYImage (= 0.1.1)
8+
- SDWebImageYYPlugin/YYCache (0.1.1):
89
- SDWebImage/Core (>= 5.0.0-beta)
910
- YYCache
10-
- SDWebImageYYPlugin/YYImage (0.1.0):
11+
- SDWebImageYYPlugin/YYImage (0.1.1):
1112
- SDWebImage/Core (>= 5.0.0-beta)
1213
- YYImage/Core
1314
- YYCache (1.0.4)
1415
- YYImage/Core (1.0.4)
16+
- YYImage/WebP (1.0.4):
17+
- YYImage/Core
1518

1619
DEPENDENCIES:
20+
- Expecta
1721
- SDWebImage/Core (from `https://github.com/rs/SDWebImage.git`, branch `5.x`)
1822
- SDWebImageYYPlugin (from `../`)
19-
20-
SPEC REPOS:
21-
https://github.com/cocoapods/specs.git:
22-
- YYCache
23-
- YYImage
23+
- YYImage/WebP
2424

2525
EXTERNAL SOURCES:
2626
SDWebImage:
2727
:branch: 5.x
2828
:git: https://github.com/rs/SDWebImage.git
2929
SDWebImageYYPlugin:
30-
:path: "../"
30+
:path: ../
3131

3232
CHECKOUT OPTIONS:
3333
SDWebImage:
3434
:commit: 1ed0b8cfe86066ea28093406fcd859efd40c9d96
3535
:git: https://github.com/rs/SDWebImage.git
3636

3737
SPEC CHECKSUMS:
38+
Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5
3839
SDWebImage: e52654ceef9fdc19f4c612d64a5b6d3f05dd81a4
39-
SDWebImageYYPlugin: 4a756eec055647c989fe9d54f9535780bc0e0465
40+
SDWebImageYYPlugin: cfaeb2f2834c161d9aa9949d3d7c44aa7c80463c
4041
YYCache: 8105b6638f5e849296c71f331ff83891a4942952
4142
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54
4243

43-
PODFILE CHECKSUM: 48b9bc55ce06154a2d7c5b440dd3d07115716ce3
44+
PODFILE CHECKSUM: 5900612c85a696261bc740246922b2914976662c
4445

45-
COCOAPODS: 1.5.3
46+
COCOAPODS: 1.4.0

Example/SDWebImageYYPlugin.xcodeproj/project.pbxproj

Lines changed: 89 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
325E281C213CF8CB00044370 /* SDTestCase.m in Sources */ = {isa = PBXBuildFile; fileRef = 325E281B213CF8CB00044370 /* SDTestCase.m */; };
11+
325E281F213CF94900044370 /* SDYYImageTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 325E281D213CF94900044370 /* SDYYImageTests.m */; };
12+
325E2823213CFA2A00044370 /* SDYYCacheTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 325E2822213CFA2A00044370 /* SDYYCacheTests.m */; };
13+
325E2826213CFB2300044370 /* TestImage.gif in Resources */ = {isa = PBXBuildFile; fileRef = 325E2825213CFB2300044370 /* TestImage.gif */; };
14+
325E282C213D01AD00044370 /* TestImageAnimated.apng in Resources */ = {isa = PBXBuildFile; fileRef = 325E2829213D01AD00044370 /* TestImageAnimated.apng */; };
15+
325E282D213D01AD00044370 /* TestImageStatic.webp in Resources */ = {isa = PBXBuildFile; fileRef = 325E282A213D01AD00044370 /* TestImageStatic.webp */; };
16+
325E282E213D01AD00044370 /* TestImageAnimated.webp in Resources */ = {isa = PBXBuildFile; fileRef = 325E282B213D01AD00044370 /* TestImageAnimated.webp */; };
1017
6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
1118
6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; };
1219
6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
@@ -19,7 +26,6 @@
1926
6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
2027
6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
2128
6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
22-
6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; };
2329
71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; };
2430
7627DE0857600EEE0189B0BF /* Pods_SDWebImageYYPlugin_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D1A4EA0620666F03BDD4C4CA /* Pods_SDWebImageYYPlugin_Tests.framework */; };
2531
873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; };
@@ -40,6 +46,14 @@
4046
0BE40967A35C3E36B42D15F4 /* SDWebImageYYPlugin.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SDWebImageYYPlugin.podspec; path = ../SDWebImageYYPlugin.podspec; sourceTree = "<group>"; };
4147
1F3130FE6E642E621C8F9D2C /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
4248
25660C1921879079816CF53D /* Pods_SDWebImageYYPlugin_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SDWebImageYYPlugin_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
49+
325E281A213CF8CB00044370 /* SDTestCase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDTestCase.h; sourceTree = "<group>"; };
50+
325E281B213CF8CB00044370 /* SDTestCase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDTestCase.m; sourceTree = "<group>"; };
51+
325E281D213CF94900044370 /* SDYYImageTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDYYImageTests.m; sourceTree = "<group>"; };
52+
325E2822213CFA2A00044370 /* SDYYCacheTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDYYCacheTests.m; sourceTree = "<group>"; };
53+
325E2825213CFB2300044370 /* TestImage.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = TestImage.gif; sourceTree = "<group>"; };
54+
325E2829213D01AD00044370 /* TestImageAnimated.apng */ = {isa = PBXFileReference; lastKnownFileType = file; path = TestImageAnimated.apng; sourceTree = "<group>"; };
55+
325E282A213D01AD00044370 /* TestImageStatic.webp */ = {isa = PBXFileReference; lastKnownFileType = file; path = TestImageStatic.webp; sourceTree = "<group>"; };
56+
325E282B213D01AD00044370 /* TestImageAnimated.webp */ = {isa = PBXFileReference; lastKnownFileType = file; path = TestImageAnimated.webp; sourceTree = "<group>"; };
4357
5C9C832718252AAAF79D98FE /* Pods-SDWebImageYYPlugin_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SDWebImageYYPlugin_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SDWebImageYYPlugin_Tests/Pods-SDWebImageYYPlugin_Tests.release.xcconfig"; sourceTree = "<group>"; };
4458
6003F58A195388D20070C39A /* SDWebImageYYPlugin_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SDWebImageYYPlugin_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
4559
6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -58,7 +72,6 @@
5872
6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
5973
6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
6074
6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
61-
6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
6275
606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
6376
71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
6477
81EE1C5A2EC4BF351E15068D /* Pods-SDWebImageYYPlugin_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SDWebImageYYPlugin_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-SDWebImageYYPlugin_Example/Pods-SDWebImageYYPlugin_Example.release.xcconfig"; sourceTree = "<group>"; };
@@ -95,6 +108,17 @@
95108
/* End PBXFrameworksBuildPhase section */
96109

97110
/* Begin PBXGroup section */
111+
325E2824213CFB2300044370 /* Images */ = {
112+
isa = PBXGroup;
113+
children = (
114+
325E2825213CFB2300044370 /* TestImage.gif */,
115+
325E2829213D01AD00044370 /* TestImageAnimated.apng */,
116+
325E282B213D01AD00044370 /* TestImageAnimated.webp */,
117+
325E282A213D01AD00044370 /* TestImageStatic.webp */,
118+
);
119+
path = Images;
120+
sourceTree = "<group>";
121+
};
98122
6003F581195388D10070C39A = {
99123
isa = PBXGroup;
100124
children = (
@@ -159,7 +183,11 @@
159183
6003F5B5195388D20070C39A /* Tests */ = {
160184
isa = PBXGroup;
161185
children = (
162-
6003F5BB195388D20070C39A /* Tests.m */,
186+
325E2824213CFB2300044370 /* Images */,
187+
325E281A213CF8CB00044370 /* SDTestCase.h */,
188+
325E281B213CF8CB00044370 /* SDTestCase.m */,
189+
325E281D213CF94900044370 /* SDYYImageTests.m */,
190+
325E2822213CFA2A00044370 /* SDYYCacheTests.m */,
163191
6003F5B6195388D20070C39A /* Supporting Files */,
164192
);
165193
path = Tests;
@@ -208,6 +236,7 @@
208236
6003F587195388D20070C39A /* Frameworks */,
209237
6003F588195388D20070C39A /* Resources */,
210238
A1C9798AC9A64B3285935ADE /* [CP] Embed Pods Frameworks */,
239+
0731EE8A10D058D3EFB2B75A /* [CP] Copy Pods Resources */,
211240
);
212241
buildRules = (
213242
);
@@ -226,6 +255,8 @@
226255
6003F5AA195388D20070C39A /* Sources */,
227256
6003F5AB195388D20070C39A /* Frameworks */,
228257
6003F5AC195388D20070C39A /* Resources */,
258+
79112E8232AA29A2C856E6D2 /* [CP] Embed Pods Frameworks */,
259+
A1F76FB8CC168A22F62A2894 /* [CP] Copy Pods Resources */,
229260
);
230261
buildRules = (
231262
);
@@ -287,27 +318,42 @@
287318
isa = PBXResourcesBuildPhase;
288319
buildActionMask = 2147483647;
289320
files = (
321+
325E282E213D01AD00044370 /* TestImageAnimated.webp in Resources */,
322+
325E2826213CFB2300044370 /* TestImage.gif in Resources */,
323+
325E282C213D01AD00044370 /* TestImageAnimated.apng in Resources */,
290324
6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
325+
325E282D213D01AD00044370 /* TestImageStatic.webp in Resources */,
291326
);
292327
runOnlyForDeploymentPostprocessing = 0;
293328
};
294329
/* End PBXResourcesBuildPhase section */
295330

296331
/* Begin PBXShellScriptBuildPhase section */
297-
0C5606D06E2CBD1FF0BCA1FB /* [CP] Check Pods Manifest.lock */ = {
332+
0731EE8A10D058D3EFB2B75A /* [CP] Copy Pods Resources */ = {
298333
isa = PBXShellScriptBuildPhase;
299334
buildActionMask = 2147483647;
300335
files = (
301336
);
302-
inputFileListPaths = (
337+
inputPaths = (
338+
);
339+
name = "[CP] Copy Pods Resources";
340+
outputPaths = (
341+
);
342+
runOnlyForDeploymentPostprocessing = 0;
343+
shellPath = /bin/sh;
344+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SDWebImageYYPlugin_Example/Pods-SDWebImageYYPlugin_Example-resources.sh\"\n";
345+
showEnvVarsInLog = 0;
346+
};
347+
0C5606D06E2CBD1FF0BCA1FB /* [CP] Check Pods Manifest.lock */ = {
348+
isa = PBXShellScriptBuildPhase;
349+
buildActionMask = 2147483647;
350+
files = (
303351
);
304352
inputPaths = (
305353
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
306354
"${PODS_ROOT}/Manifest.lock",
307355
);
308356
name = "[CP] Check Pods Manifest.lock";
309-
outputFileListPaths = (
310-
);
311357
outputPaths = (
312358
"$(DERIVED_FILE_DIR)/Pods-SDWebImageYYPlugin_Tests-checkManifestLockResult.txt",
313359
);
@@ -316,20 +362,34 @@
316362
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
317363
showEnvVarsInLog = 0;
318364
};
319-
9AC01101C9614FE1E4B6AD75 /* [CP] Check Pods Manifest.lock */ = {
365+
79112E8232AA29A2C856E6D2 /* [CP] Embed Pods Frameworks */ = {
320366
isa = PBXShellScriptBuildPhase;
321367
buildActionMask = 2147483647;
322368
files = (
323369
);
324-
inputFileListPaths = (
370+
inputPaths = (
371+
"${SRCROOT}/Pods/Target Support Files/Pods-SDWebImageYYPlugin_Tests/Pods-SDWebImageYYPlugin_Tests-frameworks.sh",
372+
"${BUILT_PRODUCTS_DIR}/Expecta/Expecta.framework",
373+
);
374+
name = "[CP] Embed Pods Frameworks";
375+
outputPaths = (
376+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Expecta.framework",
377+
);
378+
runOnlyForDeploymentPostprocessing = 0;
379+
shellPath = /bin/sh;
380+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SDWebImageYYPlugin_Tests/Pods-SDWebImageYYPlugin_Tests-frameworks.sh\"\n";
381+
showEnvVarsInLog = 0;
382+
};
383+
9AC01101C9614FE1E4B6AD75 /* [CP] Check Pods Manifest.lock */ = {
384+
isa = PBXShellScriptBuildPhase;
385+
buildActionMask = 2147483647;
386+
files = (
325387
);
326388
inputPaths = (
327389
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
328390
"${PODS_ROOT}/Manifest.lock",
329391
);
330392
name = "[CP] Check Pods Manifest.lock";
331-
outputFileListPaths = (
332-
);
333393
outputPaths = (
334394
"$(DERIVED_FILE_DIR)/Pods-SDWebImageYYPlugin_Example-checkManifestLockResult.txt",
335395
);
@@ -343,8 +403,6 @@
343403
buildActionMask = 2147483647;
344404
files = (
345405
);
346-
inputFileListPaths = (
347-
);
348406
inputPaths = (
349407
"${SRCROOT}/Pods/Target Support Files/Pods-SDWebImageYYPlugin_Example/Pods-SDWebImageYYPlugin_Example-frameworks.sh",
350408
"${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
@@ -353,8 +411,6 @@
353411
"${BUILT_PRODUCTS_DIR}/YYImage/YYImage.framework",
354412
);
355413
name = "[CP] Embed Pods Frameworks";
356-
outputFileListPaths = (
357-
);
358414
outputPaths = (
359415
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
360416
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImageYYPlugin.framework",
@@ -366,6 +422,21 @@
366422
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SDWebImageYYPlugin_Example/Pods-SDWebImageYYPlugin_Example-frameworks.sh\"\n";
367423
showEnvVarsInLog = 0;
368424
};
425+
A1F76FB8CC168A22F62A2894 /* [CP] Copy Pods Resources */ = {
426+
isa = PBXShellScriptBuildPhase;
427+
buildActionMask = 2147483647;
428+
files = (
429+
);
430+
inputPaths = (
431+
);
432+
name = "[CP] Copy Pods Resources";
433+
outputPaths = (
434+
);
435+
runOnlyForDeploymentPostprocessing = 0;
436+
shellPath = /bin/sh;
437+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SDWebImageYYPlugin_Tests/Pods-SDWebImageYYPlugin_Tests-resources.sh\"\n";
438+
showEnvVarsInLog = 0;
439+
};
369440
/* End PBXShellScriptBuildPhase section */
370441

371442
/* Begin PBXSourcesBuildPhase section */
@@ -383,7 +454,9 @@
383454
isa = PBXSourcesBuildPhase;
384455
buildActionMask = 2147483647;
385456
files = (
386-
6003F5BC195388D20070C39A /* Tests.m in Sources */,
457+
325E281F213CF94900044370 /* SDYYImageTests.m in Sources */,
458+
325E2823213CFA2A00044370 /* SDYYCacheTests.m in Sources */,
459+
325E281C213CF8CB00044370 /* SDTestCase.m in Sources */,
387460
);
388461
runOnlyForDeploymentPostprocessing = 0;
389462
};
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0940"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
</BuildAction>
9+
<TestAction
10+
buildConfiguration = "Debug"
11+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
12+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
13+
shouldUseLaunchSchemeArgsEnv = "YES">
14+
<Testables>
15+
<TestableReference
16+
skipped = "NO">
17+
<BuildableReference
18+
BuildableIdentifier = "primary"
19+
BlueprintIdentifier = "6003F5AD195388D20070C39A"
20+
BuildableName = "SDWebImageYYPlugin_Tests.xctest"
21+
BlueprintName = "SDWebImageYYPlugin_Tests"
22+
ReferencedContainer = "container:SDWebImageYYPlugin.xcodeproj">
23+
</BuildableReference>
24+
</TestableReference>
25+
</Testables>
26+
<AdditionalOptions>
27+
</AdditionalOptions>
28+
</TestAction>
29+
<LaunchAction
30+
buildConfiguration = "Debug"
31+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
32+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
33+
launchStyle = "0"
34+
useCustomWorkingDirectory = "NO"
35+
ignoresPersistentStateOnLaunch = "NO"
36+
debugDocumentVersioning = "YES"
37+
debugServiceExtension = "internal"
38+
allowLocationSimulation = "YES">
39+
<AdditionalOptions>
40+
</AdditionalOptions>
41+
</LaunchAction>
42+
<ProfileAction
43+
buildConfiguration = "Release"
44+
shouldUseLaunchSchemeArgsEnv = "YES"
45+
savedToolIdentifier = ""
46+
useCustomWorkingDirectory = "NO"
47+
debugDocumentVersioning = "YES">
48+
</ProfileAction>
49+
<AnalyzeAction
50+
buildConfiguration = "Debug">
51+
</AnalyzeAction>
52+
<ArchiveAction
53+
buildConfiguration = "Release"
54+
revealArchiveInOrganizer = "YES">
55+
</ArchiveAction>
56+
</Scheme>

Example/Tests/Images/TestImage.gif

3.04 KB
Loading
189 KB
Binary file not shown.
4.65 KB
Binary file not shown.
29.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)