summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_controller_unittest.mm
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 19:14:36 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 19:14:36 +0000
commit905d993a879a87175837fcb01451f6450ecf325f (patch)
tree77edb8c7eb081072997d29d1fcb85f231289c09d /chrome/browser/cocoa/tab_controller_unittest.mm
parentc5bdc032b4286a03be4e39fc5ca2895c97fc7f9f (diff)
downloadchromium_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.mm1
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];
}