Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import <Cocoa/Cocoa.h> | |
| 6 | |
| 7 #include "base/scoped_nsobject.h" | |
| 8 #import "chrome/browser/cocoa/task_manager_mac.h" | |
| 9 #import "chrome/browser/cocoa/cocoa_test_helper.h" | |
| 10 #include "testing/gtest/include/gtest/gtest.h" | |
| 11 #include "testing/platform_test.h" | |
| 12 | |
| 13 namespace { | |
| 14 | |
| 15 class TaskManagerWindowControllerTest : public PlatformTest { | |
| 16 public: | |
| 17 TaskManagerWindowControllerTest() { | |
| 18 controller_.reset([[TaskManagerWindowController alloc] init]); | |
| 19 } | |
| 20 | |
| 21 scoped_nsobject<TaskManagerWindowController> controller_; | |
| 22 CocoaTestHelper cocoa_helper_; // Inits Cocoa, creates window, etc... | |
| 23 }; | |
| 24 | |
| 25 // Test creation, to ensure nothing leaks or crashes | |
| 26 TEST_F(TaskManagerWindowControllerTest, Init) { | |
| 27 } | |
| 28 | |
| 29 } // namespace | |
|
pink (ping after 24hrs)
2009/09/15 19:32:03
add TODOs for things like TaskManager::Show(), etc
| |
| OLD | NEW |