Lines Matching refs:FieldTrial
5 // Test of FieldTrial class
46 FieldTrial* trial1 =
47 new FieldTrial(name1, 10, "default name 1 test", next_year_, 12, 31);
48 EXPECT_EQ(FieldTrial::kNotFinalized, trial1->group_);
57 FieldTrial* trial2 =
58 new FieldTrial(name2, 10, "default name 2 test", next_year_, 12, 31);
59 EXPECT_EQ(FieldTrial::kNotFinalized, trial2->group_);
82 FieldTrial* trial_true =
83 new FieldTrial(
91 FieldTrial* trial_false =
92 new FieldTrial(
104 scoped_refptr<FieldTrial> trial;
108 trial = new FieldTrial(name, 10, winner, next_year_, 12, 31);
111 } while (trial->group_ != FieldTrial::kNotFinalized);
114 EXPECT_EQ(FieldTrial::kDefaultGroupNumber, trial->group());
132 scoped_refptr<FieldTrial> trial(
133 new FieldTrial(name, 2, default_group_name, next_year_, 12, 31));
136 if (trial->group_ != FieldTrial::kNotFinalized) {
141 EXPECT_NE(FieldTrial::kNotFinalized, trial->group());
156 FieldTrial* trial =
157 new FieldTrial(name, 10, default_group_name, next_year_, 12, 31);
179 FieldTrial* trial =
180 new FieldTrial(
208 scoped_refptr<FieldTrial> trial;
209 trial = new FieldTrial(
214 EXPECT_EQ(FieldTrial::kDefaultGroupNumber, trial->group());
223 FieldTrial* trial =
224 new FieldTrial(
239 FieldTrial* trial2 =
240 new FieldTrial("xxx", 10, "Default xxx", next_year_, 12, 31);
254 FieldTrial* trial = FieldTrialList::Find("Some_name");
255 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial);
260 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial);
275 FieldTrial* trial =
276 new FieldTrial(
291 FieldTrial* trial =
292 new FieldTrial("Field Trial", 10, "Winner", next_year_, 12, 31);
295 FieldTrial::MakeName("Histogram", "Field Trial"));