Home | History | Annotate | Download | only in variations

Lines Matching defs:trials

137   // Number of buckets in the simulated field trials.
186 // Simply asserts that two trials using one-time randomization
194 scoped_refptr<base::FieldTrial> trials[] = {
203 for (size_t i = 0; i < arraysize(trials); ++i) {
205 trials[i]->AppendGroup(std::string(), 1);
208 // The trials are most likely to give different results since they have
210 EXPECT_NE(trials[0]->group(), trials[1]->group());
211 EXPECT_NE(trials[0]->group_name(), trials[1]->group_name());
215 // Simply asserts that two trials using one-time randomization
224 scoped_refptr<base::FieldTrial> trials[] = {
233 for (size_t i = 0; i < arraysize(trials); ++i) {
235 trials[i]->AppendGroup(std::string(), 1);
238 // The trials are most likely to give different results since they have
240 EXPECT_NE(trials[0]->group(), trials[1]->group());
241 EXPECT_NE(trials[0]->group_name(), trials[1]->group_name());
245 // Ensures that two trials with different names but the same custom seed used
251 scoped_refptr<base::FieldTrial> trials[] = {
260 for (size_t i = 0; i < arraysize(trials); ++i) {
262 trials[i]->AppendGroup(std::string(), 1);
265 // Normally, these trials should produce different groups, but if the same
267 EXPECT_EQ(trials[0]->group(), trials[1]->group());
268 EXPECT_EQ(trials[0]->group_name(), trials[1]->group_name());