mozilla-mobile/firefox-ios

[Glean] Migrate TermsOfUseTelemetry to use the GleanWrapper instead

Chiusa

#29.805 aperta il 3 ott 2025

 (4 commenti) (0 reazioni) (0 assegnatari)Swift (3203 fork)batch import
Contributor OKGood first issue

Metriche repository

Star
 (12.950 stelle)
Metriche merge PR
 (Merge medio 3g 2h) (221 PR mergiate in 30 g)

Descrizione

: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

Guida contributor