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

Side by Side Diff: chrome/browser/chromeos/login/login_browsertest.cc

Issue 1142963002: Disable GaiaAuthOffline test under MSan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ash/shell.h" 5 #include "ash/shell.h"
6 #include "ash/system/tray/system_tray.h" 6 #include "ash/system/tray/system_tray.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/json/json_file_value_serializer.h" 8 #include "base/json/json_file_value_serializer.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 TestSystemTrayIsVisible(); 327 TestSystemTrayIsVisible();
328 } 328 }
329 329
330 IN_PROC_BROWSER_TEST_F(LoginTest, PRE_GaiaAuthOffline) { 330 IN_PROC_BROWSER_TEST_F(LoginTest, PRE_GaiaAuthOffline) {
331 RegisterUser(kTestUser); 331 RegisterUser(kTestUser);
332 chromeos::StartupUtils::MarkOobeCompleted(); 332 chromeos::StartupUtils::MarkOobeCompleted();
333 chromeos::CrosSettings::Get()->SetBoolean( 333 chromeos::CrosSettings::Get()->SetBoolean(
334 chromeos::kAccountsPrefShowUserNamesOnSignIn, false); 334 chromeos::kAccountsPrefShowUserNamesOnSignIn, false);
335 } 335 }
336 336
337 IN_PROC_BROWSER_TEST_F(LoginTest, GaiaAuthOffline) { 337 #if defined(MEMORY_SANITIZER)
338 #define MAYBE_GaiaAuthOffline DISABLED_GaiaAuthOffline
339 #else
340 #define MAYBE_GaiaAuthOffline GaiaAuthOffline
341 #endif
342 IN_PROC_BROWSER_TEST_F(LoginTest, MAYBE_GaiaAuthOffline) {
338 PrepareOfflineLogin(); 343 PrepareOfflineLogin();
339 content::WindowedNotificationObserver session_start_waiter( 344 content::WindowedNotificationObserver session_start_waiter(
340 chrome::NOTIFICATION_SESSION_STARTED, 345 chrome::NOTIFICATION_SESSION_STARTED,
341 content::NotificationService::AllSources()); 346 content::NotificationService::AllSources());
342 SubmitGaiaAuthOfflineForm(kTestUser, kPassword); 347 SubmitGaiaAuthOfflineForm(kTestUser, kPassword);
343 session_start_waiter.Wait(); 348 session_start_waiter.Wait();
344 349
345 TestSystemTrayIsVisible(); 350 TestSystemTrayIsVisible();
346 } 351 }
347 352
348 } // namespace 353 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698