Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(944)

Unified Diff: chrome/browser/cocoa/task_manager_mac_unittest.mm

Issue 200094: Some scaffolding for the task manager. (Closed)
Patch Set: DAMN YOU GIT Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/task_manager_mac.mm ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/cocoa/task_manager_mac.mm ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698