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

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos_unittest.cc

Issue 2268663003: Disable SystemTrayDelegateChromeOSTest.BluetoothStatus test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/ui/ash/system_tray_delegate_chromeos.h" 5 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h"
6 6
7 #include "ash/test/ash_test_base.h" 7 #include "ash/test/ash_test_base.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 48 }
49 49
50 private: 50 private:
51 media::ScopedAudioManagerPtr audio_manager_; 51 media::ScopedAudioManagerPtr audio_manager_;
52 ScopedUserManagerEnabler user_manager_enabler_; 52 ScopedUserManagerEnabler user_manager_enabler_;
53 ScopedCrosSettingsTestHelper settings_helper_; 53 ScopedCrosSettingsTestHelper settings_helper_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOSTest); 55 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOSTest);
56 }; 56 };
57 57
58 // This test is times out flakily: http://crbug.com/639938
58 // Test that checking bluetooth status early on does not cause a crash. 59 // Test that checking bluetooth status early on does not cause a crash.
59 TEST_F(SystemTrayDelegateChromeOSTest, BluetoothStatus) { 60 TEST_F(SystemTrayDelegateChromeOSTest, DISABLED_BluetoothStatus) {
60 SystemTrayDelegateChromeOS delegate; 61 SystemTrayDelegateChromeOS delegate;
61 EXPECT_FALSE(delegate.GetBluetoothAvailable()); 62 EXPECT_FALSE(delegate.GetBluetoothAvailable());
62 EXPECT_FALSE(delegate.GetBluetoothEnabled()); 63 EXPECT_FALSE(delegate.GetBluetoothEnabled());
63 EXPECT_FALSE(delegate.IsBluetoothDiscovering()); 64 EXPECT_FALSE(delegate.IsBluetoothDiscovering());
64 } 65 }
65 66
66 } // namespace chromeos 67 } // namespace chromeos
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