summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_controller_unittest.mm
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 22:42:01 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 22:42:01 +0000
commit5ef3748a651d073bf12928e880a042bf450e1aa8 (patch)
tree8d9fffc1833dac45307ea621243c3bf4d792f271 /chrome/browser/cocoa/toolbar_controller_unittest.mm
parent9604b6481dc8be92426d43fd665e587038d5cba3 (diff)
downloadchromium_src-5ef3748a651d073bf12928e880a042bf450e1aa8.zip
chromium_src-5ef3748a651d073bf12928e880a042bf450e1aa8.tar.gz
chromium_src-5ef3748a651d073bf12928e880a042bf450e1aa8.tar.bz2
[Mac] Add support for growing or shrinking the window during animations.
BUG=http://crbug.com/14900 TEST=No visible impact, yet. Review URL: http://codereview.chromium.org/391035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller_unittest.mm')
-rw-r--r--chrome/browser/cocoa/toolbar_controller_unittest.mm7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller_unittest.mm b/chrome/browser/cocoa/toolbar_controller_unittest.mm
index a8be5fc..a6869c3 100644
--- a/chrome/browser/cocoa/toolbar_controller_unittest.mm
+++ b/chrome/browser/cocoa/toolbar_controller_unittest.mm
@@ -292,11 +292,4 @@ TEST_F(ToolbarControllerTest, PopulateEncodingMenu) {
EXPECT_NE(0, [encodings numberOfItems]);
}
-TEST_F(ToolbarControllerTest, HeightCompression) {
- for (int i = 0; i <= 10; i++) {
- [bar_ setHeightCompression:static_cast<CGFloat>(i)];
- EXPECT_EQ(static_cast<CGFloat>(36 - i), [resizeDelegate_ height]);
- }
-}
-
} // namespace