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

Side by Side Diff: chrome/browser/extensions/extension_management_apitest.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/extensions/extensions_service.h" 6 #include "chrome/browser/extensions/extensions_service.h"
7 #include "chrome/browser/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 9
10 class ExtensionManagementApiTest : public ExtensionApiTest { 10 class ExtensionManagementApiTest : public ExtensionApiTest {
11 public: 11 public:
12 virtual void InstallExtensions() { 12 virtual void InstallExtensions() {
13 FilePath basedir = test_data_dir_.AppendASCII("management"); 13 FilePath basedir = test_data_dir_.AppendASCII("management");
14 14
15 // Load 4 enabled items. 15 // Load 4 enabled items.
16 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("enabled_extension"))); 16 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("enabled_extension")));
17 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("enabled_app"))); 17 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("enabled_app")));
(...skipping 11 matching lines...) Expand all
29 29
30 IN_PROC_BROWSER_TEST_F(ExtensionManagementApiTest, Basics) { 30 IN_PROC_BROWSER_TEST_F(ExtensionManagementApiTest, Basics) {
31 InstallExtensions(); 31 InstallExtensions();
32 ASSERT_TRUE(RunExtensionSubtest("management/test", "basics.html")); 32 ASSERT_TRUE(RunExtensionSubtest("management/test", "basics.html"));
33 } 33 }
34 34
35 IN_PROC_BROWSER_TEST_F(ExtensionManagementApiTest, Uninstall) { 35 IN_PROC_BROWSER_TEST_F(ExtensionManagementApiTest, Uninstall) {
36 InstallExtensions(); 36 InstallExtensions();
37 ASSERT_TRUE(RunExtensionSubtest("management/test", "uninstall.html")); 37 ASSERT_TRUE(RunExtensionSubtest("management/test", "uninstall.html"));
38 } 38 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_management_api.cc ('k') | chrome/browser/extensions/extension_management_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698