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

Unified Diff: chrome/common/variations/experiment_labels_unittest.cc

Issue 421663003: Move variations component code to variations namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix Created 6 years, 5 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/common/variations/experiment_labels.cc ('k') | chrome/common/variations/uniformity_field_trials.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/variations/experiment_labels_unittest.cc
===================================================================
--- chrome/common/variations/experiment_labels_unittest.cc (revision 285608)
+++ chrome/common/variations/experiment_labels_unittest.cc (working copy)
@@ -18,10 +18,10 @@
namespace chrome_variations {
TEST(ExperimentLabelsTest, BuildGoogleUpdateExperimentLabel) {
- const VariationID TEST_VALUE_A = 3300200;
- const VariationID TEST_VALUE_B = 3300201;
- const VariationID TEST_VALUE_C = 3300202;
- const VariationID TEST_VALUE_D = 3300203;
+ const variations::VariationID TEST_VALUE_A = 3300200;
+ const variations::VariationID TEST_VALUE_B = 3300201;
+ const variations::VariationID TEST_VALUE_C = 3300202;
+ const variations::VariationID TEST_VALUE_D = 3300203;
struct {
const char* active_group_pairs;
@@ -45,14 +45,14 @@
};
// Register a few VariationIDs.
- AssociateGoogleVariationID(GOOGLE_UPDATE_SERVICE, "FieldTrialA", "Default",
- TEST_VALUE_A);
- AssociateGoogleVariationID(GOOGLE_UPDATE_SERVICE, "FieldTrialB", "Group1",
- TEST_VALUE_B);
- AssociateGoogleVariationID(GOOGLE_UPDATE_SERVICE, "FieldTrialC", "Default",
- TEST_VALUE_C);
- AssociateGoogleVariationID(GOOGLE_UPDATE_SERVICE, "FieldTrialD", "Default",
- TEST_VALUE_D); // Not actually used.
+ AssociateGoogleVariationID(variations::GOOGLE_UPDATE_SERVICE, "FieldTrialA",
+ "Default", TEST_VALUE_A);
+ AssociateGoogleVariationID(variations::GOOGLE_UPDATE_SERVICE, "FieldTrialB",
+ "Group1", TEST_VALUE_B);
+ AssociateGoogleVariationID(variations::GOOGLE_UPDATE_SERVICE, "FieldTrialC",
+ "Default", TEST_VALUE_C);
+ AssociateGoogleVariationID(variations::GOOGLE_UPDATE_SERVICE, "FieldTrialD",
+ "Default", TEST_VALUE_D); // Not actually used.
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) {
// Parse the input groups.
« no previous file with comments | « chrome/common/variations/experiment_labels.cc ('k') | chrome/common/variations/uniformity_field_trials.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698