Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: chrome/browser/printing/print_dialog_cloud_interative_uitest.cc

Issue 11664013: GTTF: No more FLAKY_ . (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/printing/print_dialog_cloud.h" 5 #include "chrome/browser/printing/print_dialog_cloud.h"
6 #include "chrome/browser/printing/print_dialog_cloud_internal.h" 6 #include "chrome/browser/printing/print_dialog_cloud_internal.h"
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 return new SimpleTestJob(request, network_delegate); 250 return new SimpleTestJob(request, network_delegate);
251 } 251 }
252 return new net::URLRequestTestJob(request, 252 return new net::URLRequestTestJob(request,
253 network_delegate, 253 network_delegate,
254 net::URLRequestTestJob::test_headers(), 254 net::URLRequestTestJob::test_headers(),
255 "", 255 "",
256 true); 256 true);
257 } 257 }
258 258
259 #if defined(OS_WIN) 259 #if defined(OS_WIN)
260 #define MAYBE_HandlersRegistered FLAKY_HandlersRegistered 260 #define MAYBE_HandlersRegistered DISABLED_HandlersRegistered
261 #else 261 #else
262 #define MAYBE_HandlersRegistered HandlersRegistered 262 #define MAYBE_HandlersRegistered HandlersRegistered
263 #endif 263 #endif
264 IN_PROC_BROWSER_TEST_F(PrintDialogCloudTest, MAYBE_HandlersRegistered) { 264 IN_PROC_BROWSER_TEST_F(PrintDialogCloudTest, MAYBE_HandlersRegistered) {
265 AddTestHandlers(); 265 AddTestHandlers();
266 266
267 TestController::GetInstance()->set_use_delegate(true); 267 TestController::GetInstance()->set_use_delegate(true);
268 268
269 content::RunMessageLoop(); 269 content::RunMessageLoop();
270 270
(...skipping 10 matching lines...) Expand all
281 BrowserWindow* window = browser()->window(); 281 BrowserWindow* window = browser()->window();
282 ASSERT_TRUE(window); 282 ASSERT_TRUE(window);
283 gfx::NativeWindow native_window = window->GetNativeWindow(); 283 gfx::NativeWindow native_window = window->GetNativeWindow();
284 ASSERT_TRUE(native_window); 284 ASSERT_TRUE(native_window);
285 bool key_sent = ui_controls::SendKeyPress(native_window, ui::VKEY_ESCAPE, 285 bool key_sent = ui_controls::SendKeyPress(native_window, ui::VKEY_ESCAPE,
286 false, false, false, false); 286 false, false, false, false);
287 EXPECT_TRUE(key_sent); 287 EXPECT_TRUE(key_sent);
288 if (key_sent) 288 if (key_sent)
289 tab_closed_observer.Wait(); 289 tab_closed_observer.Wait();
290 } 290 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698