GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update the GitHub action for Demo build · SDWebImage/SDWebImage@b807885

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • CI.yml
  • Tests/Tests
    • SDAnimatedImageTest.m
    • SDTestCase.m
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/CI.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/CI.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ jobs:
4545
DEVELOPER_DIR: /Applications/Xcode_16.0.app
4646
WORKSPACE_NAME: SDWebImage.xcworkspace
4747
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
48-
iosDestination: platform=iOS Simulator,name=iPhone 16 Pro
48+
iosDestination: generic/platform=iOS Simulator
4949
macOSDestination: platform=macOS,arch=x86_64
5050
macCatalystDestination: platform=macOS,arch=x86_64,variant=Mac Catalyst
51-
tvOSDestination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation)
52-
watchOSDestination: platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)
53-
visionOSDestination: platform=visionOS Simulator,name=Apple Vision Pro
51+
tvOSDestination: generic/platform=tvOS Simulator
52+
watchOSDestination: generic/platform=watchOS Simulator
53+
visionOSDestination: generic/platform=visionOS Simulator
5454
steps:
5555
- name: Checkout
5656
uses: actions/checkout@v3
@@ -106,7 +106,7 @@ jobs:
106106
platform: [iOS, macOS, tvOS, visionOS]
107107
include:
108108
- platform: iOS
109-
destination: platform=iOS Simulator,name=iPhone 16 Pro
109+
destination: platform=iOS Simulator,name=iPhone 16 Pro Max
110110
scheme: iOS
111111
flag: ios
112112
- platform: macOS
Collapse file

‎Tests/Tests/SDAnimatedImageTest.m‎

Copy file name to clipboardExpand all lines: Tests/Tests/SDAnimatedImageTest.m
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ - (void)test22AnimatedImageViewCategory {
314314
XCTestExpectation *expectation = [self expectationWithDescription:@"test SDAnimatedImageView view category"];
315315
SDAnimatedImageView *imageView = [SDAnimatedImageView new];
316316
NSURL *testURL = [NSURL URLWithString:kTestGIFURL];
317+
NSString *key = [SDWebImageManager.sharedManager cacheKeyForURL:testURL];
318+
[SDImageCache.sharedImageCache removeImageFromMemoryForKey:key];
319+
[SDImageCache.sharedImageCache removeImageFromDiskForKey:key];
317320
[imageView sd_setImageWithURL:testURL completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
318321
expect(error).to.beNil();
319322
expect(image).notTo.beNil();
Collapse file

‎Tests/Tests/SDTestCase.m‎

Copy file name to clipboardExpand all lines: Tests/Tests/SDTestCase.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
NSString *const kTestJPEGURL = @"https://placehold.co/50x50.jpg";
1515
NSString *const kTestProgressiveJPEGURL = @"https://raw.githubusercontent.com/ibireme/YYImage/master/Demo/YYImageDemo/mew_progressive.jpg";
1616
NSString *const kTestPNGURL = @"https://placehold.co/50x50.png";
17-
NSString *const kTestGIFURL = @"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif";
17+
NSString *const kTestGIFURL = @"https://upload.wikimedia.org/wikipedia/commons/3/31/Eokxd.gif";
1818
NSString *const kTestAPNGPURL = @"https://upload.wikimedia.org/wikipedia/commons/1/14/Animated_PNG_example_bouncing_beach_ball.png";
1919

2020
@implementation SDTestCase

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.