diff options
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller_unittest.mm')
-rw-r--r-- | chrome/browser/cocoa/toolbar_controller_unittest.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller_unittest.mm b/chrome/browser/cocoa/toolbar_controller_unittest.mm index 39559e0..6f8e618 100644 --- a/chrome/browser/cocoa/toolbar_controller_unittest.mm +++ b/chrome/browser/cocoa/toolbar_controller_unittest.mm @@ -93,6 +93,11 @@ TEST_F(ToolbarControllerTest, FocusLocation) { EXPECT_EQ([window firstResponder], [(id)locationBar currentEditor]); } +// Test drawing, mostly to ensure nothing leaks or crashes. +TEST_F(ToolbarControllerTest, Display) { + [[bar_ view] display]; +} + TEST_F(ToolbarControllerTest, LoadingState) { // TODO(pinkerton): Same problem testing this as the starred state above. } |