Home
last modified time | relevance | path

Searched refs:kTrialName (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/metrics/
Dfield_trial_unittest.cc357 const char kTrialName[] = "TestTrial"; in TEST_F() local
362 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
379 EXPECT_EQ(kTrialName, active_group.trial_name); in TEST_F()
387 EXPECT_EQ(kTrialName, active_groups[0].trial_name); in TEST_F()
392 const char kTrialName[] = "TestTrial"; in TEST_F() local
397 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
401 EXPECT_FALSE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
406 EXPECT_FALSE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
410 EXPECT_TRUE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
687 const char kTrialName[] = "CreateFieldTrialIsActiveTrial"; in TEST_F() local
[all …]
/external/libchrome/base/test/
Dscoped_feature_list.cc218 std::string kTrialName = in InitAndEnableFeatureWithParameters() local
223 base::FieldTrialList::CreateFieldTrial(kTrialName, kTrialGroup); in InitAndEnableFeatureWithParameters()
226 kTrialName, kTrialGroup, feature_parameters); in InitAndEnableFeatureWithParameters()
/external/libchrome/base/
Dfeature_list_unittest.cc304 const char kTrialName[] = "ForcingTrial"; in TEST_F() local
324 enable_trial = base::FieldTrialList::CreateFieldTrial(kTrialName, in TEST_F()
334 kTrialName, kForcedOffGroupName); in TEST_F()
344 EXPECT_FALSE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
347 EXPECT_TRUE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
351 EXPECT_TRUE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()