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

Unified Diff: chrome/browser/ui/app_list/app_list_controller_browsertest.cc

Issue 11784034: Skeleton for app_list on OSX, and refactoring for enable_app_list=1 on OS=="mac". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adds cocoa unittest, controller browser test; address reviewer comments Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/ui/cocoa/app_list/app_list_controller_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_controller_browsertest.cc
diff --git a/chrome/browser/ui/app_list/app_list_controller_browsertest.cc b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f1aceabc54b41ba6aacf910b5bc4abcc7b7b19ae
--- /dev/null
+++ b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
@@ -0,0 +1,23 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/app_list/app_list_controller.h"
+#include "chrome/test/base/in_process_browser_test.h"
+
+// Browser Test for AppListController that runs on all platforms supporting
+// app_list.
+class AppListControllerBrowserTest : public InProcessBrowserTest {
+ public:
+ AppListControllerBrowserTest() {
+ app_list_controller::InitAppList();
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AppListControllerBrowserTest);
+};
+
+// Test showing the app list, followed by browser close.
+IN_PROC_BROWSER_TEST_F(AppListControllerBrowserTest, ShowAndShutdown) {
+ app_list_controller::ShowAppList();
+}
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/ui/cocoa/app_list/app_list_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698