OLD | NEW |
---|---|
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/extensions/extension_apitest.h" | 5 #include "chrome/browser/extensions/extension_apitest.h" |
6 | 6 |
7 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 7 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
8 #include "chrome/browser/prefs/pref_service.h" | 8 #include "chrome/browser/prefs/pref_service.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
215 } | 215 } |
216 | 216 |
217 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_GetViewsOfCreatedPopup) { | 217 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_GetViewsOfCreatedPopup) { |
218 ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "get_views_popup.html")) | 218 ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "get_views_popup.html")) |
219 << message_; | 219 << message_; |
220 } | 220 } |
221 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_GetViewsOfCreatedWindow) { | 221 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_GetViewsOfCreatedWindow) { |
222 ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "get_views_window.html")) | 222 ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "get_views_window.html")) |
223 << message_; | 223 << message_; |
224 } | 224 } |
225 | |
226 // Adding a new test? Awesome. But API tests are the old hotness. The | |
227 // new hotness is extension_test_utils. See extension_tabs_test.cc for | |
228 // an example. We are trying to phase out many uses of API tests as | |
229 // they tend to be flakey. | |
pastarmovj
2011/10/27 09:14:31
Isn't it flaky instead of flakey? :)
rustema
2011/10/29 06:43:21
Yeah, that may be confusing. Changed.
| |
OLD | NEW |