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

Unified Diff: components/update_client/request_sender_unittest.cc

Issue 2835803002: Refactor the UpdateEngine and its actions in the component updater. (Closed)
Patch Set: feedback up to #6 Created 3 years, 8 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
Index: components/update_client/request_sender_unittest.cc
diff --git a/components/update_client/request_sender_unittest.cc b/components/update_client/request_sender_unittest.cc
index e0b891461fd90eb6507cf39ac9aa6cee5ed0c580..056fae26d78198138e078e1d9e8c3e7c3419d110 100644
--- a/components/update_client/request_sender_unittest.cc
+++ b/components/update_client/request_sender_unittest.cc
@@ -162,6 +162,11 @@ TEST_F(RequestSenderTest, RequestSendSuccess) {
EXPECT_EQ(1, post_interceptor_1_->GetCount())
<< post_interceptor_1_->GetRequestsAsString();
+ EXPECT_EQ(0, post_interceptor_2_->GetHitCount())
+ << post_interceptor_2_->GetRequestsAsString();
+ EXPECT_EQ(0, post_interceptor_2_->GetCount())
+ << post_interceptor_2_->GetRequestsAsString();
+
// Sanity check the request.
EXPECT_STREQ("test", post_interceptor_1_->GetRequests()[0].c_str());
« no previous file with comments | « components/update_client/ping_manager_unittest.cc ('k') | components/update_client/task_send_uninstall_ping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698