Chromium Code Reviews| Index: chrome/browser/cocoa/task_manager_mac_unittest.mm |
| diff --git a/chrome/browser/cocoa/task_manager_mac_unittest.mm b/chrome/browser/cocoa/task_manager_mac_unittest.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6e70727a459b49980e5932e9e675e5de103f7748 |
| --- /dev/null |
| +++ b/chrome/browser/cocoa/task_manager_mac_unittest.mm |
| @@ -0,0 +1,29 @@ |
| +// 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. |
| + |
| +#import <Cocoa/Cocoa.h> |
| + |
| +#include "base/scoped_nsobject.h" |
| +#import "chrome/browser/cocoa/task_manager_mac.h" |
| +#import "chrome/browser/cocoa/cocoa_test_helper.h" |
| +#include "testing/gtest/include/gtest/gtest.h" |
| +#include "testing/platform_test.h" |
| + |
| +namespace { |
| + |
| +class TaskManagerWindowControllerTest : public PlatformTest { |
| + public: |
| + TaskManagerWindowControllerTest() { |
| + controller_.reset([[TaskManagerWindowController alloc] init]); |
| + } |
| + |
| + scoped_nsobject<TaskManagerWindowController> controller_; |
| + CocoaTestHelper cocoa_helper_; // Inits Cocoa, creates window, etc... |
| +}; |
| + |
| +// Test creation, to ensure nothing leaks or crashes |
| +TEST_F(TaskManagerWindowControllerTest, Init) { |
| +} |
| + |
| +} // namespace |
|
pink (ping after 24hrs)
2009/09/15 19:32:03
add TODOs for things like TaskManager::Show(), etc
|