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

Side by Side Diff: chrome/browser/extensions/api/automation/automation_apitest.cc

Issue 308793014: Disabled flaky AutomationApiTest.GetTreeByTabId test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "chrome/browser/extensions/extension_apitest.h" 8 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "chrome/browser/extensions/extension_test_message_listener.h" 9 #include "chrome/browser/extensions/extension_test_message_listener.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 ASSERT_FALSE(rwh->IsFullAccessibilityModeForTesting()); 85 ASSERT_FALSE(rwh->IsFullAccessibilityModeForTesting());
86 ASSERT_TRUE(rwh->IsTreeOnlyAccessibilityModeForTesting()); 86 ASSERT_TRUE(rwh->IsTreeOnlyAccessibilityModeForTesting());
87 } 87 }
88 88
89 IN_PROC_BROWSER_TEST_F(AutomationApiTest, SanityCheck) { 89 IN_PROC_BROWSER_TEST_F(AutomationApiTest, SanityCheck) {
90 StartEmbeddedTestServer(); 90 StartEmbeddedTestServer();
91 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "sanity_check.html")) 91 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "sanity_check.html"))
92 << message_; 92 << message_;
93 } 93 }
94 94
95 IN_PROC_BROWSER_TEST_F(AutomationApiTest, GetTreeByTabId) { 95 // Test is failing on ASAN bots, crbug.com/379927
96 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DISABLED_GetTreeByTabId) {
96 StartEmbeddedTestServer(); 97 StartEmbeddedTestServer();
97 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "tab_id.html")) 98 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "tab_id.html"))
98 << message_; 99 << message_;
99 } 100 }
100 101
101 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Events) { 102 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Events) {
102 StartEmbeddedTestServer(); 103 StartEmbeddedTestServer();
103 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "events.html")) 104 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "events.html"))
104 << message_; 105 << message_;
105 } 106 }
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 << message_; 154 << message_;
154 } 155 }
155 #else 156 #else
156 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopNotSupported) { 157 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopNotSupported) {
157 ASSERT_TRUE(RunExtensionSubtest("automation/tests/desktop", 158 ASSERT_TRUE(RunExtensionSubtest("automation/tests/desktop",
158 "desktop_not_supported.html")) << message_; 159 "desktop_not_supported.html")) << message_;
159 } 160 }
160 #endif 161 #endif
161 162
162 } // namespace extensions 163 } // namespace extensions
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