Searched refs:trial1 (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/ |
D | feature_list_unittest.cc | 157 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("TrialExample1", "A"); in TEST_F() local 160 test_case.trial1_state, trial1); in TEST_F() 166 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F() 173 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F() 180 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F() 189 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("TrialExample1", "A"); in TEST_F() local 192 kFeatureOnByDefaultName, FeatureList::OVERRIDE_USE_DEFAULT, trial1); in TEST_F() 198 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F() 204 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F() 210 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F() [all …]
|
/external/libchrome/base/metrics/ |
D | field_trial_unittest.cc | 116 scoped_refptr<FieldTrial> trial1 = in TEST_F() local 118 EXPECT_EQ(FieldTrial::kNotFinalized, trial1->group_); in TEST_F() 119 EXPECT_EQ(name1, trial1->trial_name()); in TEST_F() 120 EXPECT_EQ("", trial1->group_name_internal()); in TEST_F() 122 trial1->AppendGroup(std::string(), 7); in TEST_F() 124 EXPECT_EQ(trial1.get(), FieldTrialList::Find(name1)); in TEST_F() 135 EXPECT_EQ(trial1.get(), FieldTrialList::Find(name1)); in TEST_F() 703 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("Some_name", "Winner"); in TEST_F() local 704 EXPECT_TRUE(trial1 != nullptr); in TEST_F() 1484 scoped_refptr<FieldTrial> trial1 = in TEST_F() local [all …]
|