| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/command_line.h" | |
| 6 #include "chrome/browser/extensions/extension_apitest.h" | |
| 7 #include "chrome/common/chrome_switches.h" | |
| 8 | |
| 9 // TODO(beng): Marking disabled... this change causes this test to fail however | |
| 10 // twiz@ notes that this test and the support code for it are going | |
| 11 // away very soon so I don't need to fix it. Yay! >:D | |
| 12 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_Popup) { | |
| 13 CommandLine::ForCurrentProcess()->AppendSwitch( | |
| 14 switches::kEnableExperimentalExtensionApis); | |
| 15 | |
| 16 ASSERT_TRUE(RunExtensionTest("popup/popup_main")) << message_; | |
| 17 } | |
| 18 | |
| 19 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, PopupFromInfobar) { | |
| 20 CommandLine::ForCurrentProcess()->AppendSwitch( | |
| 21 switches::kEnableExperimentalExtensionApis); | |
| 22 | |
| 23 ASSERT_TRUE(RunExtensionTest("popup/popup_from_infobar")) << message_; | |
| 24 } | |
| OLD | NEW |