summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager_browsertest.cc
blob: c66ab2d91e1930d3fbb40dbe00a75881120eb52f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2009 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/task_manager.h"

#include "chrome/test/in_process_browser_test.h"
#include "testing/gtest/include/gtest/gtest.h"

class TaskManagerBrowserTest : public InProcessBrowserTest {
};

// Regression test for http://crbug.com/11180
IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, OpenClose) {
  TaskManager::Open();
  TaskManager::Close();
}

IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, ShutdownWhileOpen) {
  TaskManager::Open();
}