mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Rename RCTContextExecutor to RCTJSCExecutor
Summary: public Rename the executor to so it actually says something about the implementation. Reviewed By: jspahrsummers, nicklockwood Differential Revision: D2759688 fb-gh-sync-id: 5b1ac447e75109fbbc2ee71c804710d9926785aa
This commit is contained in:
committed by
facebook-github-bot-4
parent
f8c125c64b
commit
809627379b
@@ -17,7 +17,7 @@
|
||||
|
||||
#import "RCTBridge.h"
|
||||
#import "RCTBridge+Private.h"
|
||||
#import "RCTContextExecutor.h"
|
||||
#import "RCTJSCExecutor.h"
|
||||
#import "RCTModuleMethod.h"
|
||||
#import "RCTRootView.h"
|
||||
|
||||
|
||||
@@ -16,24 +16,24 @@
|
||||
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import "RCTContextExecutor.h"
|
||||
#import "RCTJSCExecutor.h"
|
||||
#import "RCTUtils.h"
|
||||
|
||||
#define RUN_PERF_TESTS 0
|
||||
|
||||
@interface RCTContextExecutorTests : XCTestCase
|
||||
@interface RCTJSCExecutorTests : XCTestCase
|
||||
|
||||
@end
|
||||
|
||||
@implementation RCTContextExecutorTests
|
||||
@implementation RCTJSCExecutorTests
|
||||
{
|
||||
RCTContextExecutor *_executor;
|
||||
RCTJSCExecutor *_executor;
|
||||
}
|
||||
|
||||
- (void)setUp
|
||||
{
|
||||
[super setUp];
|
||||
_executor = [RCTContextExecutor new];
|
||||
_executor = [RCTJSCExecutor new];
|
||||
[_executor setUp];
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ static uint64_t _get_time_nanoseconds(void)
|
||||
- (void)testJavaScriptCallSpeed
|
||||
{
|
||||
/**
|
||||
* Since we almost don't change the RCTContextExecutor logic, and this test is
|
||||
* Since we almost don't change the RCTJSCExecutor logic, and this test is
|
||||
* very likely to become flaky (specially across different devices) leave it
|
||||
* to be run manually
|
||||
*
|
||||
Reference in New Issue
Block a user