2015-11-19 21:32:37 +00:00
|
|
|
/**
|
|
|
|
* 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';
|
|
|
|
|
2016-04-09 03:36:40 +00:00
|
|
|
var React = require('react');
|
|
|
|
var ReactNative = require('react-native');
|
2015-11-19 21:32:37 +00:00
|
|
|
var {
|
|
|
|
View,
|
2016-04-09 03:36:40 +00:00
|
|
|
} = ReactNative;
|
2015-11-19 21:32:37 +00:00
|
|
|
|
2016-04-09 03:36:40 +00:00
|
|
|
var { TestModule } = ReactNative.NativeModules;
|
2015-11-19 21:32:37 +00:00
|
|
|
|
2016-07-26 08:00:02 +00:00
|
|
|
class PropertiesUpdateTest extends React.Component {
|
2015-11-19 21:32:37 +00:00
|
|
|
render() {
|
|
|
|
if (this.props.markTestPassed) {
|
|
|
|
TestModule.markTestPassed(true);
|
|
|
|
}
|
|
|
|
return (
|
|
|
|
<View/>
|
|
|
|
);
|
|
|
|
}
|
2016-07-26 08:00:02 +00:00
|
|
|
}
|
2015-11-19 21:32:37 +00:00
|
|
|
|
|
|
|
PropertiesUpdateTest.displayName = 'PropertiesUpdateTest';
|
|
|
|
|
|
|
|
module.exports = PropertiesUpdateTest;
|