#include "components/variations/synthetic_trial_registry.h"
#include <string>
#include "base/containers/contains.h"
#include "base/metrics/field_trial.h"
#include "base/scoped_observation.h"
#include "base/strings/stringprintf.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "components/variations/active_field_trials.h"
#include "components/variations/hashing.h"
#include "components/variations/synthetic_trials.h"
#include "components/variations/synthetic_trials_active_group_id_provider.h"
#include "components/variations/variations_crash_keys.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace variations {
namespace {
_;
Contains;
class MockSyntheticTrialObserver : public SyntheticTrialObserver { … };
}
bool operator==(const SyntheticTrialGroup& a, const SyntheticTrialGroup& b) { … }
class SyntheticTrialRegistryTest : public ::testing::Test { … };
TEST_F(SyntheticTrialRegistryTest, RegisterSyntheticTrial) { … }
TEST_F(SyntheticTrialRegistryTest, GetSyntheticFieldTrialsOlderThanSuffix) { … }
TEST_F(SyntheticTrialRegistryTest, RegisterExternalExperiments_NoAllowlist) { … }
TEST_F(SyntheticTrialRegistryTest, RegisterExternalExperiments_WithAllowlist) { … }
TEST_F(SyntheticTrialRegistryTest, GetSyntheticFieldTrialActiveGroups) { … }
TEST_F(SyntheticTrialRegistryTest, NotifyObserver) { … }
TEST_F(SyntheticTrialRegistryTest, NotifyObserverExternalTrials) { … }
}