#include "components/segmentation_platform/internal/database/uma_metrics_table.h"
#include <memory>
#include "base/rand_util.h"
#include "components/segmentation_platform/internal/database/ukm_database_test_utils.h"
#include "components/segmentation_platform/internal/database/ukm_types.h"
#include "sql/database.h"
#include "sql/statement.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace segmentation_platform {
namespace {
constexpr char kProfileId[] = …;
constexpr char kProfileIdOther[] = …;
constexpr char kInvalidProfileId[] = …;
UmaMetricEntry GetSampleMetricsRow() { … }
}
class UmaMetricsTableTest : public testing::Test { … };
TEST_F(UmaMetricsTableTest, CreateTable) { … }
TEST_F(UmaMetricsTableTest, InsertRow) { … }
TEST_F(UmaMetricsTableTest, DeleteBeforeTimestamp) { … }
TEST_F(UmaMetricsTableTest, MatchHashesTest) { … }
}