OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 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 <stdio.h> | |
6 | |
7 #include "base/stl_util.h" | |
mazda
2013/01/16 22:08:52
Several headers seem unnecessary.
Greg Spencer (Chromium)
2013/01/16 22:29:17
Done.
| |
8 #include "chrome/browser/extensions/extension_apitest.h" | |
9 #include "chrome/browser/profiles/profile.h" | |
10 #include "chrome/browser/ui/browser.h" | |
11 #include "chrome/common/chrome_switches.h" | |
12 #include "chrome/test/base/ui_test_utils.h" | |
13 | |
14 namespace chromeos { | |
15 | |
16 class ExtensionNetworkingPrivateApiTest : public ExtensionApiTest { | |
17 public: | |
18 // Whitelist the testing extension. | |
19 virtual void SetUpCommandLine(CommandLine* command_line) { | |
20 ExtensionApiTest::SetUpCommandLine(command_line); | |
21 | |
22 // Whitelist the extension ID of the test extension. | |
23 command_line->AppendSwitchASCII( | |
24 switches::kWhitelistedExtensionID, "epcifkihnkjgphfkloaaleeakhpmgdmn"); | |
25 } | |
26 }; | |
27 | |
28 IN_PROC_BROWSER_TEST_F(ExtensionNetworkingPrivateApiTest, BasicFunctions) { | |
29 ASSERT_TRUE(RunComponentExtensionTest("networking")) << message_; | |
30 } | |
31 | |
32 } // namespace chromeos | |
OLD | NEW |