diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-20 19:14:36 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-20 19:14:36 +0000 |
commit | 905d993a879a87175837fcb01451f6450ecf325f (patch) | |
tree | 77edb8c7eb081072997d29d1fcb85f231289c09d /chrome/browser/cocoa/tab_controller_unittest.mm | |
parent | c5bdc032b4286a03be4e39fc5ca2895c97fc7f9f (diff) | |
download | chromium_src-905d993a879a87175837fcb01451f6450ecf325f.zip chromium_src-905d993a879a87175837fcb01451f6450ecf325f.tar.gz chromium_src-905d993a879a87175837fcb01451f6450ecf325f.tar.bz2 |
Test forcing the display of the controller's view.
Review URL: http://codereview.chromium.org/86002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_controller_unittest.mm')
-rw-r--r-- | chrome/browser/cocoa/tab_controller_unittest.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/tab_controller_unittest.mm b/chrome/browser/cocoa/tab_controller_unittest.mm index d568dcb..7d1228a 100644 --- a/chrome/browser/cocoa/tab_controller_unittest.mm +++ b/chrome/browser/cocoa/tab_controller_unittest.mm @@ -71,6 +71,7 @@ TEST_F(TabControllerTest, Creation) { [[window contentView] addSubview:[controller view]]; EXPECT_TRUE([controller tabView]); EXPECT_EQ([[controller view] window], window); + [[controller view] display]; // Test drawing to ensure nothing leaks/crashes. [[controller view] removeFromSuperview]; } |