mozilla-mobile/firefox-ios

[Glean] Migrate TermsOfUseTelemetry to use the GleanWrapper instead

クローズ

#29,805 opened on 2025/10/03

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Swift (3,203 件のフォーク)batch import
Contributor OKGood first issue

Repository metrics

Stars
 (12,950 個のスター)
PR merge metrics
 (平均マージ 3d 2h) (30d で 221 merged PRs)

説明

: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

コントリビューターガイド