Commit 16f337c5 authored by Mark Cogan's avatar Mark Cogan Committed by Commit Bot

Restore MainViewControllerTest.StatusBar for iOS11

This test, disabled because it fails in iOS 11b3 and b4, works correctly
under beta 6. This CL can be landed when beta 6 is on the trybots.

Bug: 748738
Change-Id: I514eaa8dc104bff6f38b13bff2f541e18edbddbf
Reviewed-on: https://chromium-review.googlesource.com/647746Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501611}
parent 7bc12970
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#include "base/ios/ios_util.h"
#include "testing/gtest_mac.h" #include "testing/gtest_mac.h"
#if !defined(__has_feature) || !__has_feature(objc_arc) #if !defined(__has_feature) || !__has_feature(objc_arc)
...@@ -114,9 +113,6 @@ TEST(MainViewControllerTest, SetActiveVC) { ...@@ -114,9 +113,6 @@ TEST(MainViewControllerTest, SetActiveVC) {
} }
TEST(MainViewControllerTest, StatusBar) { TEST(MainViewControllerTest, StatusBar) {
// TODO(crbug.com/748738) This is broken with iOS11/Xcode 9 beta 4.
if (base::ios::IsRunningOnIOS11OrLater())
return;
MainViewController* main_view_controller = [[MainViewController alloc] init]; MainViewController* main_view_controller = [[MainViewController alloc] init];
// MVC needs to be the root view controller for this to work, so save the // MVC needs to be the root view controller for this to work, so save the
// current one and restore it at the end of the test. // current one and restore it at the end of the test.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment