Skip to content

Commit 4390927

Browse files
javacheFacebook Github Bot
authored andcommitted
Fix imports in UIExplorerUnitTests
Reviewed By: bestander Differential Revision: D4231271 fbshipit-source-id: 84f903f6b14256ed1958ad1800f128133590a3dc
1 parent bd524bd commit 4390927

31 files changed

+186
-121
lines changed

Examples/UIExplorer/UIExplorerIntegrationTests/RCTLoggingTests.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
#import <XCTest/XCTest.h>
1616

17-
#import "RCTAssert.h"
18-
#import "RCTLog.h"
19-
#import "RCTBridge.h"
17+
#import <React/RCTAssert.h>
18+
#import <React/RCTBridge.h>
19+
#import <React/RCTLog.h>
2020

2121
@interface RCTLoggingTests : XCTestCase
2222

Examples/UIExplorer/UIExplorerIntegrationTests/RCTRootViewIntegrationTests.m

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@
2626
#import <UIKit/UIKit.h>
2727
#import <XCTest/XCTest.h>
2828

29-
#import "RCTAssert.h"
30-
31-
#import "RCTEventDispatcher.h"
32-
#import "RCTRootView.h"
33-
#import "RCTRootViewDelegate.h"
34-
3529
#import <RCTTest/RCTTestRunner.h>
30+
#import <React/RCTEventDispatcher.h>
31+
#import <React/RCTRootView.h>
32+
#import <React/RCTRootViewDelegate.h>
3633

3734
#define RCT_TEST_DATA_CONFIGURATION_BLOCK(appName, testType, input, block) \
3835
- (void)test##appName##_##testType##_##input \

Examples/UIExplorer/UIExplorerIntegrationTests/RCTUIManagerScenarioTests.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414

1515
#import <UIKit/UIKit.h>
1616
#import <XCTest/XCTest.h>
17-
#import "RCTUIManager.h"
18-
#import "UIView+React.h"
17+
18+
#import <React/RCTUIManager.h>
19+
#import <React/UIView+React.h>
1920

2021
@interface RCTUIManager (Testing)
2122

Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
#import <RCTTest/RCTTestRunner.h>
1414

15-
#import "RCTAssert.h"
16-
1715
#define RCT_TEST(name) \
1816
- (void)test##name \
1917
{ \

Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerSnapshotTests.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717

1818
#import <RCTTest/RCTTestRunner.h>
1919

20-
#import "RCTAssert.h"
21-
#import "RCTRedBox.h"
22-
#import "RCTRootView.h"
23-
2420
@interface UIExplorerSnapshotTests : XCTestCase
2521
{
2622
RCTTestRunner *_runner;

Examples/UIExplorer/UIExplorerUnitTests/OCMock/OCMStubRecorder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* under the License.
1515
*/
1616

17-
#import <React/OCMRecorder.h>
17+
#import <OCMock/OCMRecorder.h>
1818

1919

2020
@interface OCMStubRecorder : OCMRecorder

Examples/UIExplorer/UIExplorerUnitTests/RCTAllocationTests.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#import <Foundation/Foundation.h>
1616
#import <XCTest/XCTest.h>
1717

18-
#import "RCTBridge.h"
19-
#import "RCTBridge+Private.h"
20-
#import "RCTJSCExecutor.h"
21-
#import "RCTModuleMethod.h"
22-
#import "RCTRootView.h"
18+
#import <React/RCTBridge+Private.h>
19+
#import <React/RCTBridge.h>
20+
#import <React/RCTJSCExecutor.h>
21+
#import <React/RCTModuleMethod.h>
22+
#import <React/RCTRootView.h>
2323

2424
#define RUN_RUNLOOP_WHILE(CONDITION) \
2525
{ \

Examples/UIExplorer/UIExplorerUnitTests/RCTBridgeTests.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#import <Foundation/Foundation.h>
1616
#import <XCTest/XCTest.h>
1717

18-
#import "RCTBridge.h"
19-
#import "RCTBridge+Private.h"
20-
#import "RCTBridgeModule.h"
21-
#import "RCTJavaScriptExecutor.h"
22-
#import "RCTUtils.h"
18+
#import <React/RCTBridge+Private.h>
19+
#import <React/RCTBridge.h>
20+
#import <React/RCTBridgeModule.h>
21+
#import <React/RCTJavaScriptExecutor.h>
22+
#import <React/RCTUtils.h>
2323

2424
#define RUN_RUNLOOP_WHILE(CONDITION) \
2525
{ \

Examples/UIExplorer/UIExplorerUnitTests/RCTBundleURLProviderTests.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
*/
1414
#import <XCTest/XCTest.h>
1515

16-
#import "RCTBundleURLProvider.h"
17-
#import "RCTUtils.h"
18-
16+
#import <React/RCTBundleURLProvider.h>
17+
#import <React/RCTUtils.h>
1918

2019
static NSString *const testFile = @"test.jsbundle";
2120
static NSString *const mainBundle = @"main.jsbundle";

Examples/UIExplorer/UIExplorerUnitTests/RCTComponentPropsTests.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
#import <XCTest/XCTest.h>
1616

17-
#import "RCTUIManager.h"
18-
#import "RCTViewManager.h"
19-
#import "RCTView.h"
17+
#import <React/RCTUIManager.h>
18+
#import <React/RCTView.h>
19+
#import <React/RCTViewManager.h>
2020

2121
#define RUN_RUNLOOP_WHILE(CONDITION) \
2222
{ \

0 commit comments

Comments
 (0)