#include "components/segmentation_platform/internal/signals/user_action_signal_handler.h"
#include "base/metrics/metrics_hashes.h"
#include "base/test/task_environment.h"
#include "components/segmentation_platform/internal/database/mock_signal_database.h"
#include "components/segmentation_platform/internal/database/mock_ukm_database.h"
#include "components/segmentation_platform/public/proto/types.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Eq;
namespace segmentation_platform {
namespace {
const char kProfileId[] = …;
const char kExpectedUserAction[] = …;
const uint64_t kExpectedHash = …;
MATCHER_P(SampleEq, hash, "") { … }
}
class UserActionSignalHandlerTest : public testing::Test { … };
TEST_F(UserActionSignalHandlerTest, UserActionsAreRecorded) { … }
TEST_F(UserActionSignalHandlerTest, DisableMetrics) { … }
}