Index: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller_unittest.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller_unittest.mm |
index fa24fb84cce1e9d3fb06ca355d3067596bf0d65a..5e4ad956261c1dc59b4573bb124ce97378a98077 100644 |
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller_unittest.mm |
@@ -15,6 +15,7 @@ |
#import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h" |
#import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.h" |
#include "chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.h" |
+#import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.h" |
#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/gtest_mac.h" |
@@ -89,4 +90,11 @@ TEST_F(ManagePasswordsBubbleControllerTest, |
[[controller() currentController] class]); |
} |
+TEST_F(ManagePasswordsBubbleControllerTest, |
+ BlacklistStateShouldHaveBlacklistView) { |
+ model()->set_state(password_manager::ui::BLACKLIST_STATE); |
+ EXPECT_EQ([ManagePasswordsBubbleBlacklistViewController class], |
+ [[controller() currentController] class]); |
+} |
+ |
} // namespace |