From 57daad98f01b59fce9cb9bf663fd0b191c56b232 Mon Sep 17 00:00:00 2001 From: Bhuwan Khattar Date: Fri, 3 Feb 2017 15:48:18 -0800 Subject: [PATCH] Rename files to match @providesModule annotations Reviewed By: davidaurelio Differential Revision: D4507911 fbshipit-source-id: b8c9b77d7d9a2d8b2ae80d85d116f456766acba0 --- .../RCTRootViewIntegrationTests.m | 2 +- IntegrationTests/RCTRootViewIntegrationTestApp.js | 6 +++--- .../{StaticContainer.js => StaticContainer.react.js} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename Libraries/Components/{StaticContainer.js => StaticContainer.react.js} (100%) diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/RCTRootViewIntegrationTests.m b/Examples/UIExplorer/UIExplorerIntegrationTests/RCTRootViewIntegrationTests.m index 9f582c626..1ff6f6555 100644 --- a/Examples/UIExplorer/UIExplorerIntegrationTests/RCTRootViewIntegrationTests.m +++ b/Examples/UIExplorer/UIExplorerIntegrationTests/RCTRootViewIntegrationTests.m @@ -144,7 +144,7 @@ static ControlBlock propertiesUpdateBlock() #pragma mark Logic Tests -// This list should be kept in sync with RCTRootViewIntegrationTestApp.js +// This list should be kept in sync with RCTRootViewIntegrationTestsApp.js // Simple size flexibility tests - test if the content is measured properly RCT_TEST_DATA_CONFIGURATION_BLOCK(SizeFlexibilityUpdateTest, SingleUpdate, none, simpleSizeFlexibilityBlock(RCTNone)); diff --git a/IntegrationTests/RCTRootViewIntegrationTestApp.js b/IntegrationTests/RCTRootViewIntegrationTestApp.js index 77b9f5192..3793938d7 100644 --- a/IntegrationTests/RCTRootViewIntegrationTestApp.js +++ b/IntegrationTests/RCTRootViewIntegrationTestApp.js @@ -6,7 +6,7 @@ * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * - * @providesModule RCTRootViewIntegrationTestsApp + * @providesModule RCTRootViewIntegrationTestApp */ 'use strict'; @@ -35,7 +35,7 @@ TESTS.forEach( (test) => AppRegistry.registerComponent(test.displayName, () => test) ); -class RCTRootViewIntegrationTestsApp extends React.Component { +class RCTRootViewIntegrationTestApp extends React.Component { state = { test: null, }; @@ -91,4 +91,4 @@ var styles = StyleSheet.create({ }, }); -AppRegistry.registerComponent('RCTRootViewIntegrationTestsApp', () => RCTRootViewIntegrationTestsApp); +AppRegistry.registerComponent('RCTRootViewIntegrationTestApp', () => RCTRootViewIntegrationTestApp); diff --git a/Libraries/Components/StaticContainer.js b/Libraries/Components/StaticContainer.react.js similarity index 100% rename from Libraries/Components/StaticContainer.js rename to Libraries/Components/StaticContainer.react.js