[fenix] Add basic test coverage for Glean metrics in Fenix
commit80188d1c84f62c5b1f1e2b14167c2284b06c6ba1
authorAlessio Placitelli <alessio.placitelli@gmail.com>
Wed, 18 Sep 2019 17:11:49 +0000 (18 19:11 +0200)
committerJeff Boek <jeff@jeffboek.com>
Tue, 24 Sep 2019 19:33:14 +0000 (24 12:33 -0700)
treebd3aea84f4e7742f4c3bd5e1e88b50e70fc27421
parent690c4f4cf97d2070eeae6d3fde5c8dd8125eae23
[fenix] Add basic test coverage for Glean metrics in Fenix

This introduces test coverage, using the Glean SDK
testing API, for the metrics that are set at startup
by Fenix in the GleanMetricsService.

This additional adds a basic test for the translation
of the `app_opened` event.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/components/metrics/GleanMetricsServiceTest.kt [new file with mode: 0644]