summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/app_controller_mac_unittest.mm')
-rw-r--r--chrome/browser/app_controller_mac_unittest.mm26
1 files changed, 0 insertions, 26 deletions
diff --git a/chrome/browser/app_controller_mac_unittest.mm b/chrome/browser/app_controller_mac_unittest.mm
deleted file mode 100644
index 49067a0..0000000
--- a/chrome/browser/app_controller_mac_unittest.mm
+++ /dev/null
@@ -1,26 +0,0 @@
-// 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 "chrome/app/chrome_dll_resource.h"
-#import "chrome/browser/app_controller_mac.h"
-#include "testing/platform_test.h"
-
-class AppControllerTest : public PlatformTest {
-};
-
-TEST_F(AppControllerTest, DockMenu) {
- AppController* ac = [[AppController alloc] init];
- NSMenu* menu = [ac applicationDockMenu:NSApp];
- NSMenuItem* item;
-
- EXPECT_TRUE(menu);
- EXPECT_NE(-1, [menu indexOfItemWithTag:IDC_NEW_WINDOW]);
- EXPECT_NE(-1, [menu indexOfItemWithTag:IDC_NEW_INCOGNITO_WINDOW]);
- for (item in [menu itemArray]) {
- EXPECT_EQ(ac, [item target]);
- EXPECT_EQ(@selector(commandDispatch:), [item action]);
- }
-}