#include "content/child/child_process_synthetic_trial_syncer.h"
#include "base/test/task_environment.h"
#include "components/variations/active_field_trials.h"
#include "components/variations/variations_crash_keys.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
std::vector<mojom::SyntheticTrialGroupPtr> Create(
std::vector<std::pair<std::string, std::string>> trial_names) { … }
}
class ChildProcessSyntheticTrialSyncerTest : public ::testing::Test { … };
TEST_F(ChildProcessSyntheticTrialSyncerTest, Basic) { … }
TEST_F(ChildProcessSyntheticTrialSyncerTest, AddSameTrial) { … }
TEST_F(ChildProcessSyntheticTrialSyncerTest, RemoveFromEmpty) { … }
TEST_F(ChildProcessSyntheticTrialSyncerTest, RemoveWrongTrialGroup) { … }
}