Re-license and rename UIExplorer integration test app as RNTester

Reviewed By: yungsters

Differential Revision: D4950085

fbshipit-source-id: 44574b5d0ef0d2ad5dfc714309b18dc69cbad9ff
This commit is contained in:
Eric Vicenti
2017-05-08 11:31:19 -07:00
committed by Facebook Github Bot
parent 82c4b9f0b7
commit 4a80dceac7
310 changed files with 1594 additions and 3400 deletions
+3 -3
View File
@@ -17,16 +17,16 @@ var { View } = ReactNative;
const {
TestModule,
UIExplorerTestModule,
RNTesterTestModule,
} = ReactNative.NativeModules;
class SyncMethodTest extends React.Component {
componentDidMount() {
if (UIExplorerTestModule.echoString('test string value') !== 'test string value') {
if (RNTesterTestModule.echoString('test string value') !== 'test string value') {
throw new Error('Something wrong with sync method export');
}
if (UIExplorerTestModule.methodThatReturnsNil() != null) {
if (RNTesterTestModule.methodThatReturnsNil() != null) {
throw new Error('Something wrong with sync method export');
}
TestModule.markTestCompleted();