OLD | NEW |
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 Loading... |
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 |
OLD | NEW |