Lines Matching refs:active_groups
332 FieldTrial::ActiveGroups active_groups; in TEST_F() local
333 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
334 EXPECT_EQ(2U, active_groups.size()); in TEST_F()
335 for (size_t i = 0; i < active_groups.size(); ++i) { in TEST_F()
337 EXPECT_NE(no_group, active_groups[i].trial_name); in TEST_F()
338 EXPECT_TRUE(one_winner != active_groups[i].trial_name || in TEST_F()
339 winner == active_groups[i].group_name); in TEST_F()
340 EXPECT_TRUE(multi_group != active_groups[i].trial_name || in TEST_F()
341 multi_group_trial->group_name() == active_groups[i].group_name); in TEST_F()
346 FieldTrial::ActiveGroups active_groups; in TEST_F() local
348 &active_groups); in TEST_F()
349 ASSERT_EQ(2U, active_groups.size()); in TEST_F()
350 EXPECT_EQ("A", active_groups[0].trial_name); in TEST_F()
351 EXPECT_EQ("X", active_groups[0].group_name); in TEST_F()
352 EXPECT_EQ("C", active_groups[1].trial_name); in TEST_F()
353 EXPECT_EQ("Z", active_groups[1].group_name); in TEST_F()
370 FieldTrial::ActiveGroups active_groups; in TEST_F() local
371 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
372 EXPECT_TRUE(active_groups.empty()); in TEST_F()
385 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
386 ASSERT_EQ(1U, active_groups.size()); in TEST_F()
387 EXPECT_EQ(kTrialName, active_groups[0].trial_name); in TEST_F()
388 EXPECT_EQ(active_group.group_name, active_groups[0].group_name); in TEST_F()
584 FieldTrial::ActiveGroups active_groups; in TEST_F() local
585 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
586 ASSERT_TRUE(active_groups.empty()); in TEST_F()
592 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
593 ASSERT_EQ(2U, active_groups.size()); in TEST_F()
594 EXPECT_EQ("Abc", active_groups[0].trial_name); in TEST_F()
595 EXPECT_EQ("def", active_groups[0].group_name); in TEST_F()
596 EXPECT_EQ("Xyz", active_groups[1].trial_name); in TEST_F()
597 EXPECT_EQ("zyx", active_groups[1].group_name); in TEST_F()
607 FieldTrial::ActiveGroups active_groups; in TEST_F() local
608 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
609 ASSERT_EQ(2U, active_groups.size()); in TEST_F()
610 EXPECT_EQ("Abc", active_groups[0].trial_name); in TEST_F()
611 EXPECT_EQ("cba", active_groups[0].group_name); in TEST_F()
612 EXPECT_EQ("Xyz", active_groups[1].trial_name); in TEST_F()
613 EXPECT_EQ("zyx", active_groups[1].group_name); in TEST_F()
660 FieldTrial::ActiveGroups active_groups; in TEST_F() local
661 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
662 EXPECT_TRUE(active_groups.empty()); in TEST_F()
692 FieldTrial::ActiveGroups active_groups; in TEST_F() local
693 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
694 EXPECT_TRUE(active_groups.empty()); in TEST_F()
1034 FieldTrial::ActiveGroups active_groups; in TEST_F() local
1035 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
1036 EXPECT_TRUE(active_groups.empty()); in TEST_F()
1116 FieldTrial::ActiveGroups active_groups; in TEST_F() local
1117 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
1118 EXPECT_TRUE(active_groups.empty()); in TEST_F()
1153 FieldTrial::ActiveGroups active_groups; in TEST() local
1154 field_trial_list.GetActiveFieldTrialGroups(&active_groups); in TEST()
1155 ASSERT_EQ(2U, active_groups.size()); in TEST()
1156 EXPECT_EQ("Abc", active_groups[0].trial_name); in TEST()
1157 EXPECT_EQ("cba", active_groups[0].group_name); in TEST()
1158 EXPECT_EQ("Xyz", active_groups[1].trial_name); in TEST()
1159 EXPECT_EQ("zyx", active_groups[1].group_name); in TEST()