#include "components/variations/variations_associated_data.h"
#include "base/metrics/field_trial.h"
#include "base/test/mock_entropy_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace variations {
namespace {
const VariationID TEST_VALUE_A = …;
const VariationID TEST_VALUE_B = …;
VariationID GetIDForTrial(IDCollectionKey key, base::FieldTrial* trial) { … }
scoped_refptr<base::FieldTrial> CreateFieldTrial(
const std::string& trial_name,
int total_probability,
const std::string& default_group_name) { … }
}
class VariationsAssociatedDataTest : public ::testing::Test { … };
TEST_F(VariationsAssociatedDataTest, DisableImmediately) { … }
TEST_F(VariationsAssociatedDataTest, AssociateGoogleVariationID) { … }
TEST_F(VariationsAssociatedDataTest, NoAssociation) { … }
TEST_F(VariationsAssociatedDataTest, ForceAssociation) { … }
}