mozilla-mobile/firefox-ios

[Glean] Migrate TermsOfUseTelemetry to use the GleanWrapper instead

Fechada

#29.805 aberto em 3 de out. de 2025

 (4 comentários) (0 reação) (0 responsável)Swift (3.203 forks)batch import
Contributor OKGood first issue

Métricas do repositório

Stars
 (12.950 estrelas)
Métricas de merge de PR
 (Mesclagem média 3d 2h) (221 fundiu PRs em 30d)

Description

:rocket: Context

TermsOfUseTelemetry is recording telemetry events with the concrete Glean implementation. We don't want this anymore. More on telemetry tests here.

:memo: Description

  • Use the GleanWrapper inside TermsOfUseTelemetry and replace calls to each GleanMetrics. with the corresponding API.
  • TermsOfUseTelemetryTests should be adjusted so we pass a MockGleanWrapper and assert accordingly.

:information_source: Reference Person

lmarceau

┆Issue is synchronized with this Jira Task

Guia do colaborador