Disable all of RCTRootViewIntegrationTests

Reviewed By: fkgozali

Differential Revision: D4819589

fbshipit-source-id: d23f1892d750ae4e4efaf85a9ec25094009a7a22
This commit is contained in:
Pieter De Baets 2017-04-03 10:18:27 -07:00 committed by Facebook Github Bot
parent a51e9a0704
commit 10cb0f9325

View File

@ -32,7 +32,7 @@
#import <React/RCTRootViewDelegate.h>
#define RCT_TEST_DATA_CONFIGURATION_BLOCK(appName, testType, input, block) \
- (void)test##appName##_##testType##_##input \
- (void)DISABLED_test##appName##_##testType##_##input \
{ \
[_runner runTest:_cmd \
module:@#appName \
@ -41,7 +41,7 @@ configurationBlock:block]; \
}
#define RCT_TEST_CONFIGURATION_BLOCK(appName, block) \
- (void)test##appName \
- (void)DISABLED_test##appName \
{ \
[_runner runTest:_cmd \
module:@#appName \
@ -155,9 +155,8 @@ RCT_TEST_DATA_CONFIGURATION_BLOCK(SizeFlexibilityUpdateTest, MultipleUpdates, bo
RCT_TEST_CONFIGURATION_BLOCK(ReactContentSizeUpdateTest, reactContentSizeUpdateBlock(RCTBoth))
// Test if setting 'appProperties' property updates the RN app
// Disabled since it's occassionally crashing
// RCT_TEST_CONFIGURATION_BLOCK(PropertiesUpdateTest, ^(RCTRootView *rootView) {
// rootView.appProperties = @{@"markTestPassed":@YES};
// })
RCT_TEST_CONFIGURATION_BLOCK(PropertiesUpdateTest, ^(RCTRootView *rootView) {
rootView.appProperties = @{@"markTestPassed":@YES};
})
@end