Home
last modified time | relevance | path

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

/external/chromium_org/components/variations/
Dvariations_associated_data_unittest.cc198 const std::string kTrialName = "AssociateVariationParams"; in TEST_F() local
204 ASSERT_TRUE(AssociateVariationParams(kTrialName, "A", params)); in TEST_F()
209 ASSERT_TRUE(AssociateVariationParams(kTrialName, "B", params)); in TEST_F()
212 base::FieldTrialList::CreateFieldTrial(kTrialName, "B"); in TEST_F()
213 EXPECT_EQ("5", GetVariationParamValue(kTrialName, "a")); in TEST_F()
214 EXPECT_EQ(std::string(), GetVariationParamValue(kTrialName, "b")); in TEST_F()
215 EXPECT_EQ(std::string(), GetVariationParamValue(kTrialName, "x")); in TEST_F()
218 EXPECT_TRUE(GetVariationParams(kTrialName, &params)); in TEST_F()
224 const std::string kTrialName = "AssociateVariationParams_Fail"; in TEST_F() local
229 ASSERT_TRUE(AssociateVariationParams(kTrialName, kGroupName, params)); in TEST_F()
[all …]
Dvariations_seed_processor_unittest.cc575 const std::string kTrialName = "A"; in TEST_F() local
580 study1->set_name(kTrialName); in TEST_F()
594 ASSERT_EQ(std::string(), base::FieldTrialList::FindFullName(kTrialName)); in TEST_F()
601 EXPECT_EQ(kGroup1Name, base::FieldTrialList::FindFullName(kTrialName)); in TEST_F()
605 ASSERT_EQ(std::string(), base::FieldTrialList::FindFullName(kTrialName)); in TEST_F()
613 EXPECT_EQ(kGroup1Name, base::FieldTrialList::FindFullName(kTrialName)); in TEST_F()
/external/chromium_org/base/metrics/
Dfield_trial_unittest.cc309 const char kTrialName[] = "TestTrial"; in TEST_F() local
314 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
331 EXPECT_EQ(kTrialName, active_group.trial_name); in TEST_F()
339 EXPECT_EQ(kTrialName, active_groups[0].trial_name); in TEST_F()
509 const char kTrialName[] = "CreateFieldTrialIsActiveTrial"; in TEST_F() local
511 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
512 FieldTrialList::CreateFieldTrial(kTrialName, kWinnerGroup); in TEST_F()
624 const char kTrialName[] = "SetForcedDefaultOnly"; in TEST_F() local
625 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
629 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/net/
Dhttp_pipelining_compatibility_client.cc464 const char* kTrialName = "HttpPipeliningCompatibility"; in CollectPipeliningCapabilityStatsOnIOThread() local
465 base::FieldTrial* trial = base::FieldTrialList::Find(kTrialName); in CollectPipeliningCapabilityStatsOnIOThread()
471 kTrialName, kDivisor, "disable_test", 2012, 5, 4, in CollectPipeliningCapabilityStatsOnIOThread()