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

Side by Side Diff: chrome/browser/chromeos/extensions/info_private_apitest.cc

Issue 1874243002: Disable ExtensionApiTest.ChromeOSInfoPrivateTest (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/chromeos/settings/cros_settings.h" 5 #include "chrome/browser/chromeos/settings/cros_settings.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/common/pref_names.h" 7 #include "chrome/common/pref_names.h"
8 #include "chromeos/settings/cros_settings_names.h" 8 #include "chromeos/settings/cros_settings_names.h"
9 #include "components/prefs/pref_service.h" 9 #include "components/prefs/pref_service.h"
10 10
11 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ChromeOSInfoPrivateTest) { 11 // Disabled due to flakiness, see crbug.com/600886 for details.
12 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_ChromeOSInfoPrivateTest) {
12 // Set the initial timezone different from what JS function 13 // Set the initial timezone different from what JS function
13 // timezoneSetTest() will attempt to set. 14 // timezoneSetTest() will attempt to set.
14 base::StringValue initial_timezone("America/Los_Angeles"); 15 base::StringValue initial_timezone("America/Los_Angeles");
15 chromeos::CrosSettings::Get()->Set(chromeos::kSystemTimezone, 16 chromeos::CrosSettings::Get()->Set(chromeos::kSystemTimezone,
16 initial_timezone); 17 initial_timezone);
17 18
18 // Check that accessibility settings are set to default values. 19 // Check that accessibility settings are set to default values.
19 PrefService* prefs = profile()->GetPrefs(); 20 PrefService* prefs = profile()->GetPrefs();
20 ASSERT_FALSE(prefs->GetBoolean(prefs::kAccessibilityLargeCursorEnabled)); 21 ASSERT_FALSE(prefs->GetBoolean(prefs::kAccessibilityLargeCursorEnabled));
21 ASSERT_FALSE(prefs->GetBoolean(prefs::kAccessibilityStickyKeysEnabled)); 22 ASSERT_FALSE(prefs->GetBoolean(prefs::kAccessibilityStickyKeysEnabled));
(...skipping 10 matching lines...) Expand all
32 // Check that all accessibility settings have been flipped by the test. 33 // Check that all accessibility settings have been flipped by the test.
33 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityLargeCursorEnabled)); 34 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityLargeCursorEnabled));
34 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityStickyKeysEnabled)); 35 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityStickyKeysEnabled));
35 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilitySpokenFeedbackEnabled)); 36 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilitySpokenFeedbackEnabled));
36 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityHighContrastEnabled)); 37 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityHighContrastEnabled));
37 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityScreenMagnifierEnabled)); 38 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityScreenMagnifierEnabled));
38 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityAutoclickEnabled)); 39 ASSERT_TRUE(prefs->GetBoolean(prefs::kAccessibilityAutoclickEnabled));
39 40
40 ASSERT_TRUE(prefs->GetBoolean(prefs::kLanguageSendFunctionKeys)); 41 ASSERT_TRUE(prefs->GetBoolean(prefs::kLanguageSendFunctionKeys));
41 } 42 }
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