mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Code review - more tests
This commit is contained in:
+2
@@ -33,6 +33,7 @@ class FakeAnalyticsService(
|
||||
val capturedEvents = mutableListOf<VectorAnalyticsEvent>()
|
||||
val screenEvents = mutableListOf<VectorAnalyticsScreen>()
|
||||
val trackedErrors = mutableListOf<Throwable>()
|
||||
val capturedUserProperties = mutableListOf<UserProperties>()
|
||||
|
||||
override fun getAvailableAnalyticsProviders(): Set<AnalyticsProvider> = emptySet()
|
||||
|
||||
@@ -65,6 +66,7 @@ class FakeAnalyticsService(
|
||||
}
|
||||
|
||||
override fun updateUserProperties(userProperties: UserProperties) {
|
||||
capturedUserProperties += userProperties
|
||||
}
|
||||
|
||||
override fun trackError(throwable: Throwable) {
|
||||
|
||||
Reference in New Issue
Block a user