diff --git a/IntegrationTests/ImageCachePolicyTest.js b/IntegrationTests/ImageCachePolicyTest.js index 9732600712a88b..29b5e68d1d2117 100644 --- a/IntegrationTests/ImageCachePolicyTest.js +++ b/IntegrationTests/ImageCachePolicyTest.js @@ -65,7 +65,7 @@ class ImageCachePolicyTest extends React.Component { Hello this.testComplete('only-if-cached', false)} @@ -74,7 +74,7 @@ class ImageCachePolicyTest extends React.Component { /> this.testComplete('default', true)} @@ -83,7 +83,7 @@ class ImageCachePolicyTest extends React.Component { /> this.testComplete('reload', true)} @@ -92,7 +92,7 @@ class ImageCachePolicyTest extends React.Component { /> this.testComplete('force-cache', true)} diff --git a/Libraries/Image/Image.android.js b/Libraries/Image/Image.android.js index bdea83b20b92c8..1105134e45e086 100644 --- a/Libraries/Image/Image.android.js +++ b/Libraries/Image/Image.android.js @@ -55,7 +55,7 @@ function generateRequestId() { * /> * * * ); diff --git a/Libraries/Image/ImageBackground.js b/Libraries/Image/ImageBackground.js index 6c0901e669578a..13f4e2e9f85e1a 100644 --- a/Libraries/Image/ImageBackground.js +++ b/Libraries/Image/ImageBackground.js @@ -33,7 +33,7 @@ import type {NativeMethodsMixinType} from 'ReactNativeTypes'; * return ( * * React * diff --git a/RNTester/RNTesterUnitTests/RCTImageLoaderTests.m b/RNTester/RNTesterUnitTests/RCTImageLoaderTests.m index 59e8b30080c899..2f20a0504b84b0 100644 --- a/RNTester/RNTesterUnitTests/RCTImageLoaderTests.m +++ b/RNTester/RNTesterUnitTests/RCTImageLoaderTests.m @@ -54,7 +54,7 @@ - (void)testImageLoading NS_VALID_UNTIL_END_OF_SCOPE RCTBridge *bridge = [[RCTBridge alloc] initWithBundleURL:_bundleURL moduleProvider:^{ return @[loader]; } launchOptions:nil]; - NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:@"https://facebook.github.io/react/logo-og.png"]]; + NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:@"https://facebook.github.io/react-native/img/opengraph.png"]]; [bridge.imageLoader loadImageWithURLRequest:urlRequest size:CGSizeMake(100, 100) scale:1.0 clipped:YES resizeMode:RCTResizeModeContain progressBlock:^(int64_t progress, int64_t total) { XCTAssertEqual(progress, 1); XCTAssertEqual(total, 1); @@ -85,7 +85,7 @@ - (void)testImageLoaderUsesImageURLLoaderWithHighestPriority NS_VALID_UNTIL_END_OF_SCOPE RCTBridge *bridge = [[RCTBridge alloc] initWithBundleURL:_bundleURL moduleProvider:^{ return @[loader1, loader2]; } launchOptions:nil]; - NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:@"https://facebook.github.io/react/logo-og.png"]]; + NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:@"https://facebook.github.io/react-native/img/opengraph.png"]]; [bridge.imageLoader loadImageWithURLRequest:urlRequest size:CGSizeMake(100, 100) scale:1.0 clipped:YES resizeMode:RCTResizeModeContain progressBlock:^(int64_t progress, int64_t total) { XCTAssertEqual(progress, 1); XCTAssertEqual(total, 1); diff --git a/RNTester/js/ImageExample.js b/RNTester/js/ImageExample.js index 8d858777611f31..bda7ddaa361e92 100644 --- a/RNTester/js/ImageExample.js +++ b/RNTester/js/ImageExample.js @@ -195,9 +195,9 @@ var MultipleSourcesExample = createReactClass({ @@ -237,7 +237,7 @@ exports.examples = [ render: function() { return ( ); @@ -727,8 +727,8 @@ exports.examples = [ }, ]; -var fullImage = {uri: 'https://facebook.github.io/react/logo-og.png'}; -var smallImage = {uri: 'https://facebook.github.io/react/img/logo_small_2x.png'}; +var fullImage = {uri: 'https://facebook.github.io/react-native/img/opengraph.png'}; +var smallImage = {uri: 'https://facebook.github.io/react-native/img/favicon.png'}; var styles = StyleSheet.create({ base: {