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:
Tadeu Zagallo
2015-12-16 02:49:27 -08:00
committed by facebook-github-bot-4
parent f8c125c64b
commit 809627379b
11 changed files with 47 additions and 50 deletions

View File

@@ -17,7 +17,7 @@
#import "RCTBridge.h"
#import "RCTBridge+Private.h"
#import "RCTContextExecutor.h"
#import "RCTJSCExecutor.h"
#import "RCTModuleMethod.h"
#import "RCTRootView.h"

View File

@@ -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
*