Chromium Code Reviews| 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..27502f3ed159452e1ad46588d4b2d9adaf543fe8 |
| --- /dev/null |
| +++ b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc |
| @@ -0,0 +1,28 @@ |
| +// 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() {} |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(AppListControllerBrowserTest); |
| +}; |
| + |
| +// Disabled on Windows. Investigating in http://crbug.com/168955 . |
| +#if defined(OS_WIN) |
| +#define MAYBE_ShowAndShutdown DISABLED_ShowAndShutdown |
| +#else |
| +#define MAYBE_ShowAndShutdown ShowAndShutdown |
| +#endif |
| + |
| +// Test showing the app list, followed by browser close. |
| +IN_PROC_BROWSER_TEST_F(AppListControllerBrowserTest, MAYBE_ShowAndShutdown) { |
| + app_list_controller::ShowAppList(); |
|
sail
2013/01/09 22:09:53
I think this should be a platform specific test. T
benwells
2013/01/09 23:35:46
It would be good to test that the window is visibl
|
| +} |