RCTRootView integration tests

Reviewed By: javache

Differential Revision: D2631527

fb-gh-sync-id: 377471d9e8546d7c05a045286a6ef7c5277ded16
This commit is contained in:
Pawel Sienkowski
2015-11-19 13:32:37 -08:00
committed by facebook-github-bot-0
parent 2faf8632d3
commit 0d17d6a8c0
6 changed files with 459 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* 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.
*/
'use strict';
var React = require('react-native');
var {
View,
} = React;
var { TestModule } = React.addons;
var PropertiesUpdateTest = React.createClass({
render() {
if (this.props.markTestPassed) {
TestModule.markTestPassed(true);
}
return (
<View/>
);
}
});
PropertiesUpdateTest.displayName = 'PropertiesUpdateTest';
module.exports = PropertiesUpdateTest;