Fix snapshottests under iOS10

Reviewed By: dinhviethoa

Differential Revision: D3722988

fbshipit-source-id: 4345b757e28700ac61e1de38b61430e78948e58a
This commit is contained in:
Pieter De Baets
2016-08-17 10:37:01 -07:00
committed by Facebook Github Bot 7
parent 0da5fd21c7
commit a0b3565847
14 changed files with 27 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -33,6 +33,9 @@
- (void)setUp
{
_runner = RCTInitRunnerForApp(@"Examples/UIExplorer/js/UIExplorerApp.ios", nil);
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10) {
_runner.testSuffix = @"-iOS10";
}
_runner.recordMode = NO;
}
@@ -46,8 +49,8 @@ RCT_TEST(ViewExample)
RCT_TEST(LayoutExample)
RCT_TEST(TextExample)
RCT_TEST(SwitchExample)
//RCT_TEST(SliderExample) // Disabled: #8985988
//RCT_TEST(TabBarExample) // Disabled: #8985988
RCT_TEST(SliderExample)
RCT_TEST(TabBarExample)
- (void)testZZZNotInRecordMode
{

View File

@@ -7,3 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/
var __fbBatchedBridge = {
flushedQueue: function() {
return null;
}
};