summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_view_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/tab_view_unittest.mm')
-rw-r--r--chrome/browser/cocoa/tab_view_unittest.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/tab_view_unittest.mm b/chrome/browser/cocoa/tab_view_unittest.mm
index 74d5040..44cf629 100644
--- a/chrome/browser/cocoa/tab_view_unittest.mm
+++ b/chrome/browser/cocoa/tab_view_unittest.mm
@@ -33,6 +33,11 @@ TEST_F(TabViewTest, AddRemove) {
// Test drawing, mostly to ensure nothing leaks or crashes.
TEST_F(TabViewTest, Display) {
+ [view_ setHoverAlpha:0.0];
+ [view_ display];
+ [view_ setHoverAlpha:0.5];
+ [view_ display];
+ [view_ setHoverAlpha:1.0];
[view_ display];
}