Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dfield_trial_params_unittest.cc59 const std::string kTrialName = "AssociateFieldTrialParams"; in TEST_F() local
65 ASSERT_TRUE(AssociateFieldTrialParams(kTrialName, "A", params)); in TEST_F()
70 ASSERT_TRUE(AssociateFieldTrialParams(kTrialName, "B", params)); in TEST_F()
73 FieldTrialList::CreateFieldTrial(kTrialName, "B"); in TEST_F()
74 EXPECT_EQ("5", GetFieldTrialParamValue(kTrialName, "a")); in TEST_F()
75 EXPECT_EQ(std::string(), GetFieldTrialParamValue(kTrialName, "b")); in TEST_F()
76 EXPECT_EQ(std::string(), GetFieldTrialParamValue(kTrialName, "x")); in TEST_F()
79 EXPECT_TRUE(GetFieldTrialParams(kTrialName, &params)); in TEST_F()
85 const std::string kTrialName = "AssociateFieldTrialParams_Fail"; in TEST_F() local
90 ASSERT_TRUE(AssociateFieldTrialParams(kTrialName, kGroupName, params)); in TEST_F()
[all …]
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()