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

Unified Diff: google_apis/gcm/engine/gcm_store_impl_unittest.cc

Issue 209183002: Fix compiling errors in gcm_store_impl_unittest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/gcm_store_impl_unittest.cc
diff --git a/google_apis/gcm/engine/gcm_store_impl_unittest.cc b/google_apis/gcm/engine/gcm_store_impl_unittest.cc
index 8cc39cc18393e21aee498f1511b5d7948a6550ad..0656ad2fe6b0daded0c1c2c8915d39b916677594 100644
--- a/google_apis/gcm/engine/gcm_store_impl_unittest.cc
+++ b/google_apis/gcm/engine/gcm_store_impl_unittest.cc
@@ -165,19 +165,19 @@ TEST_F(GCMStoreImplTest, Registrations) {
&GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result));
PumpLoop();
- ASSERT_EQ(2, load_result->registrations.size());
+ ASSERT_EQ(2u, load_result->registrations.size());
ASSERT_TRUE(load_result->registrations.find("app1") !=
load_result->registrations.end());
EXPECT_EQ(registration1->registration_id,
load_result->registrations["app1"]->registration_id);
- ASSERT_EQ(1, load_result->registrations["app1"]->sender_ids.size());
+ ASSERT_EQ(1u, load_result->registrations["app1"]->sender_ids.size());
EXPECT_EQ(registration1->sender_ids[0],
load_result->registrations["app1"]->sender_ids[0]);
ASSERT_TRUE(load_result->registrations.find("app2") !=
load_result->registrations.end());
EXPECT_EQ(registration2->registration_id,
load_result->registrations["app2"]->registration_id);
- ASSERT_EQ(2, load_result->registrations["app2"]->sender_ids.size());
+ ASSERT_EQ(2u, load_result->registrations["app2"]->sender_ids.size());
EXPECT_EQ(registration2->sender_ids[0],
load_result->registrations["app2"]->sender_ids[0]);
EXPECT_EQ(registration2->sender_ids[1],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698