OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 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/task_manager.h" | 5 #include "chrome/browser/task_manager.h" |
6 | 6 |
7 #include "chrome/test/in_process_browser_test.h" | 7 #include "chrome/test/in_process_browser_test.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 class TaskManagerBrowserTest : public InProcessBrowserTest { | 10 class TaskManagerBrowserTest : public InProcessBrowserTest { |
11 }; | 11 }; |
12 | 12 |
13 // Regression test for http://crbug.com/11180 | 13 // Regression test for http://crbug.com/11180 |
14 IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, OpenClose) { | 14 IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, OpenClose) { |
15 TaskManager::Open(); | 15 TaskManager::Open(); |
16 TaskManager::Close(); | 16 TaskManager::Close(); |
17 } | 17 } |
18 | 18 |
19 IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, ShutdownWhileOpen) { | 19 IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, ShutdownWhileOpen) { |
20 TaskManager::Open(); | 20 TaskManager::Open(); |
21 } | 21 } |
OLD | NEW |