Home
last modified time | relevance | path

Searched refs:GetFieldTrial (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/test/
Dscoped_feature_list_unittest.cc86 EXPECT_EQ(nullptr, FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
108 EXPECT_EQ(nullptr, FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
133 EXPECT_EQ(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
134 EXPECT_EQ(nullptr, FeatureList::GetFieldTrial(kTestFeature2)); in TEST_F()
147 EXPECT_NE(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
148 EXPECT_NE(nullptr, FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
149 EXPECT_EQ(nullptr, FeatureList::GetFieldTrial(kTestFeature2)); in TEST_F()
156 EXPECT_EQ(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
157 EXPECT_EQ(nullptr, FeatureList::GetFieldTrial(kTestFeature2)); in TEST_F()
170 EXPECT_EQ(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
[all …]
/external/libchrome/base/metrics/
Dfield_trial_params.cc33 base::FieldTrial* trial = base::FeatureList::GetFieldTrial(feature); in GetFieldTrialParamsByFeature()
56 base::FieldTrial* trial = base::FeatureList::GetFieldTrial(feature); in GetFieldTrialParamValueByFeature()
/external/libchrome/base/
Dfeature_list.h174 static FieldTrial* GetFieldTrial(const Feature& feature);
Dfeature_list_unittest.cc403 TEST_F(FeatureListTest, GetFieldTrial) { in TEST_F() argument
412 EXPECT_EQ(trial, FeatureList::GetFieldTrial(kFeatureOnByDefault)); in TEST_F()
413 EXPECT_EQ(nullptr, FeatureList::GetFieldTrial(kFeatureOffByDefault)); in TEST_F()
Dfeature_list.cc208 FieldTrial* FeatureList::GetFieldTrial(const Feature& feature) { in GetFieldTrial() function in base::FeatureList