mozilla-mobile/firefox-ios

[Glean] Migrate TermsOfUseTelemetry to use the GleanWrapper instead

Fermée

#29 805 ouverte le 3 oct. 2025

 (4 commentaires) (0 réaction) (0 personne assignée)Swift (3 203 forks)batch import
Contributor OKGood first issue

Métriques du dépôt

Stars
 (12 950 étoiles)
Métriques de merge PR
 (Merge moyen 3j 2h) (221 PRs mergées en 30 j)

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

Guide contributeur