Commit 02372693 authored by Rohit Rao's avatar Rohit Rao Committed by Commit Bot

[ios] Disables two NavigationAndLoadCallbacksTest tests on device.

BUG=812669

Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I4445dc30b8ce2d26265f878287dff4919e780ba3
Reviewed-on: https://chromium-review.googlesource.com/934521
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538776}
parent 9398500f
...@@ -1164,8 +1164,14 @@ TEST_F(NavigationAndLoadCallbacksTest, DownloadNavigation) { ...@@ -1164,8 +1164,14 @@ TEST_F(NavigationAndLoadCallbacksTest, DownloadNavigation) {
})); }));
} }
#if TARGET_IPHONE_SIMULATOR
#define MAYBE_FailedLoad FailedLoad
#else
#define MAYBE_FailedLoad DISABLED_FailedLoad
#endif
// Tests failed load after the navigation is sucessfully finished. // Tests failed load after the navigation is sucessfully finished.
TEST_F(NavigationAndLoadCallbacksTest, FailedLoad) { // TODO(crbug.com/812669): Re-enable this test on devices.
TEST_F(NavigationAndLoadCallbacksTest, MAYBE_FailedLoad) {
GURL url = test_server_->GetURL("/exabyte_response"); GURL url = test_server_->GetURL("/exabyte_response");
NavigationContext* context = nullptr; NavigationContext* context = nullptr;
...@@ -1256,7 +1262,7 @@ TEST_F(NavigationAndLoadCallbacksTest, StopNavigation) { ...@@ -1256,7 +1262,7 @@ TEST_F(NavigationAndLoadCallbacksTest, StopNavigation) {
#endif #endif
// Tests stopping a finished navigation. PageLoaded is never called. // Tests stopping a finished navigation. PageLoaded is never called.
// TODO(crbug.com/812669): Re-enable this test on devices. // TODO(crbug.com/812669): Re-enable this test on devices.
TEST_F(NavigationAndLoadCallbacksTest, StopFinishedNavigation) { TEST_F(NavigationAndLoadCallbacksTest, MAYBE_StopFinishedNavigation) {
GURL url = test_server_->GetURL("/exabyte_response"); GURL url = test_server_->GetURL("/exabyte_response");
NavigationContext* context = nullptr; NavigationContext* context = nullptr;
......
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