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

Side by Side Diff: chrome/browser/cocoa/tab_strip_controller_unittest.mm

Issue 115789: Fix issue where cmd-w was hard-coded to closing a browser tab regardless of t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/cocoa/tab_strip_controller.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "chrome/browser/cocoa/browser_test_helper.h" 7 #include "chrome/browser/cocoa/browser_test_helper.h"
8 #import "chrome/browser/cocoa/cocoa_test_helper.h" 8 #import "chrome/browser/cocoa/cocoa_test_helper.h"
9 #import "chrome/browser/cocoa/tab_strip_controller.h" 9 #import "chrome/browser/cocoa/tab_strip_controller.h"
10 #include "chrome/browser/tab_contents/tab_contents.h" 10 #include "chrome/browser/tab_contents/tab_contents.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 TEST_F(TabStripControllerTest, SelectTab) { 120 TEST_F(TabStripControllerTest, SelectTab) {
121 // TODO(pinkerton): Creating a TabContents crashes an unrelated test, even 121 // TODO(pinkerton): Creating a TabContents crashes an unrelated test, even
122 // if you don't do anything with it. http://crbug.com/10899 122 // if you don't do anything with it. http://crbug.com/10899
123 } 123 }
124 124
125 TEST_F(TabStripControllerTest, RearrangeTabs) { 125 TEST_F(TabStripControllerTest, RearrangeTabs) {
126 // TODO(pinkerton): Creating a TabContents crashes an unrelated test, even 126 // TODO(pinkerton): Creating a TabContents crashes an unrelated test, even
127 // if you don't do anything with it. http://crbug.com/10899 127 // if you don't do anything with it. http://crbug.com/10899
128 } 128 }
129 129
130 // Test that changing the number of tabs broadcasts a
131 // kTabStripNumberOfTabsChanged notifiction.
132 TEST_F(TabStripControllerTest, Notifications) {
133 // TODO(pinkerton): Creating a TabContents crashes an unrelated test, even
134 // if you don't do anything with it. http://crbug.com/10899
135 }
136
130 } // namespace 137 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/tab_strip_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698