Lines Matching refs:kTrialName
357 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
689 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
690 FieldTrialList::CreateFieldTrial(kTrialName, kWinnerGroup); in TEST_F()
804 const char kTrialName[] = "SetForcedDefaultOnly"; in TEST_F() local
805 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
809 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
812 trial = CreateFieldTrial(kTrialName, 100, kDefaultGroupName, nullptr); in TEST_F()
818 const char kTrialName[] = "SetForcedDefaultWithExtraGroup"; in TEST_F() local
819 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
823 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
826 trial = CreateFieldTrial(kTrialName, 100, kDefaultGroupName, nullptr); in TEST_F()
834 const char kTrialName[] = "SetForcedTurnFeatureOn"; in TEST_F() local
836 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
841 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, nullptr); in TEST_F()
847 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
858 const char kTrialName[] = "SetForcedTurnFeatureOff"; in TEST_F() local
860 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
865 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, nullptr); in TEST_F()
871 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
882 const char kTrialName[] = "SetForcedDefaultGroupChange"; in TEST_F() local
885 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
890 CreateFieldTrial(kTrialName, 100, kGroupAName, nullptr); in TEST_F()
896 CreateFieldTrial(kTrialName, 100, kGroupBName, &default_group); in TEST_F()
907 const char kTrialName[] = "SetForcedDefaultGroupChange"; in TEST_F() local
910 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
915 CreateFieldTrial(kTrialName, 100, kGroupAName, nullptr); in TEST_F()
921 CreateFieldTrial(kTrialName, 100, kGroupBName, &default_group); in TEST_F()
932 const char kTrialName[] = "TrialToObserve1"; in TEST_F() local
938 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
948 EXPECT_EQ(kTrialName, observer.trial_name()); in TEST_F()
956 const char kTrialName[] = "TrialToObserve1"; in TEST_F() local
962 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
968 EXPECT_EQ(kTrialName, observer.trial_name()); in TEST_F()
976 const char kTrialName[] = "TrialToObserve2"; in TEST_F() local
981 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
1000 const char kTrialName[] = "TrialToObserve3"; in TEST_F() local
1005 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, &default_group); in TEST_F()
1025 const char kTrialName[] = "DisabledTrial"; in TEST_F() local
1026 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
1029 CreateFieldTrial(kTrialName, 100, kDefaultGroupName, nullptr); in TEST_F()
1045 const char kTrialName[] = "NotExpired"; in TEST_F() local
1048 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
1051 CreateFieldTrial(kTrialName, kProbability, kDefaultGroupName, nullptr); in TEST_F()
1085 const char kTrialName[] = "CreateSimulatedFieldTrial"; in TEST_F() local
1086 ASSERT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
1101 FieldTrial::CreateSimulatedFieldTrial(kTrialName, 100, kDefaultGroupName, in TEST_F()
1108 EXPECT_FALSE(FieldTrialList::TrialExists(kTrialName)); in TEST_F()
1259 constexpr char kTrialName[] = "trial"; in TEST() local
1272 FieldTrial::CreateSimulatedFieldTrial(kTrialName, 100, "Simulated", in TEST()
1278 FieldTrialList::CreateFieldTrial(kTrialName, "Real"); in TEST()