Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6455)

Unified Diff: chrome/browser/ui/intents/web_intent_picker_model_unittest.cc

Issue 10980002: Mac Web Intents Part 1: Show extension download progress (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove downloads code Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_model.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/intents/web_intent_picker_model_unittest.cc
diff --git a/chrome/browser/ui/intents/web_intent_picker_model_unittest.cc b/chrome/browser/ui/intents/web_intent_picker_model_unittest.cc
index ed00783ed7d2bdba0bbcfe83f264ff275c4d47e0..1d6a489c8da7f4011cb451b584e225acf0d0b28d 100644
--- a/chrome/browser/ui/intents/web_intent_picker_model_unittest.cc
+++ b/chrome/browser/ui/intents/web_intent_picker_model_unittest.cc
@@ -111,7 +111,7 @@ TEST_F(WebIntentPickerModelTest, RemoveInstalledServiceAt) {
}
TEST_F(WebIntentPickerModelTest, Clear) {
- EXPECT_CALL(observer_, OnModelChanged(&model_)).Times(3);
+ EXPECT_CALL(observer_, OnModelChanged(&model_)).Times(testing::AtLeast(3));
model_.AddInstalledService(kTitle1, kUrl1, kWindowDisposition);
model_.AddInstalledService(kTitle2, kUrl2, kWindowDisposition);
@@ -203,7 +203,7 @@ TEST_F(WebIntentPickerModelTest, SetSuggestedExtensionIconWithId) {
}
TEST_F(WebIntentPickerModelTest, SetInlineDisposition) {
- EXPECT_CALL(observer_, OnModelChanged(&model_)).Times(3);
+ EXPECT_CALL(observer_, OnModelChanged(&model_)).Times(testing::AtLeast(3));
EXPECT_CALL(observer_, OnInlineDisposition(kTitle2, testing::_)).Times(1);
EXPECT_FALSE(model_.IsInlineDisposition());
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698