mozilla-mobile/firefox-ios

[Glean] Migrate TermsOfUseTelemetry to use the GleanWrapper instead

已关闭

#29,805 创建于 2025年10月3日

 (4 条评论) (0 个反应) (0 位负责人)Swift (3,203 个派生)batch import
Contributor OKGood first issue

仓库指标

星标
 (12,950 个星标)
PR 合并指标
 (平均合并 3天 2小时) (30 天内合并 221 个 PR)

描述

: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

贡献者指南