diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 08:46:28 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 08:46:28 +0000 |
commit | 9c5e417def0fef57d5dc79b0348dab9b0d354d42 (patch) | |
tree | 9ea11b8b75b443724becad0ce34916f2de34eacc /chrome/browser/task_manager_browsertest.cc | |
parent | 5c22958a27f510c5c8f88f77a5769fef971070e3 (diff) | |
download | chromium_src-9c5e417def0fef57d5dc79b0348dab9b0d354d42.zip chromium_src-9c5e417def0fef57d5dc79b0348dab9b0d354d42.tar.gz chromium_src-9c5e417def0fef57d5dc79b0348dab9b0d354d42.tar.bz2 |
Create OpenClose browser test for TaskManager with necessary refactoring.
http://crbug.com/12320
Review URL: http://codereview.chromium.org/113636
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager_browsertest.cc')
-rw-r--r-- | chrome/browser/task_manager_browsertest.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/task_manager_browsertest.cc b/chrome/browser/task_manager_browsertest.cc index 6eccc6b..c66ab2d 100644 --- a/chrome/browser/task_manager_browsertest.cc +++ b/chrome/browser/task_manager_browsertest.cc @@ -11,9 +11,11 @@ class TaskManagerBrowserTest : public InProcessBrowserTest { }; // Regression test for http://crbug.com/11180 -IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, ShutdownWhileOpen) { +IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, OpenClose) { TaskManager::Open(); + TaskManager::Close(); } -// TODO(phajdan.jr): Write another test which explicitly closes TaskManager. -// This requires a small refactoring. +IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, ShutdownWhileOpen) { + TaskManager::Open(); +}
\ No newline at end of file |