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

Unified Diff: base/metrics/field_trial_unittest.cc

Issue 9296008: Need the unsigned constants marked as unsigned. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 8 years, 11 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: base/metrics/field_trial_unittest.cc
diff --git a/base/metrics/field_trial_unittest.cc b/base/metrics/field_trial_unittest.cc
index 8832f58e5591f461eb5482d7a7212518af147e2c..7dc70ec39482a5b0817099505de09fc880580080 100644
--- a/base/metrics/field_trial_unittest.cc
+++ b/base/metrics/field_trial_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -227,14 +227,14 @@ TEST_F(FieldTrialTest, HashName) {
const char* name;
uint32 hash_value;
} known_hashes[] = {
- {"a", 937752454},
- {"1", 723085877},
- {"Trial Name", 2713117220},
- {"Group Name", 3201815843},
- {"My Favorite Experiment", 3722155194},
- {"My Awesome Group Name", 4109503236},
- {"abcdefghijklmonpqrstuvwxyz", 787728696},
- {"0123456789ABCDEF", 348858318}
+ {"a", 937752454u},
+ {"1", 723085877u},
+ {"Trial Name", 2713117220u},
+ {"Group Name", 3201815843u},
+ {"My Favorite Experiment", 3722155194u},
+ {"My Awesome Group Name", 4109503236u},
+ {"abcdefghijklmonpqrstuvwxyz", 787728696u},
+ {"0123456789ABCDEF", 348858318U}
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(known_hashes); ++i) {
EXPECT_EQ(known_hashes[i].hash_value,
« 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