Search in sources :

Example 1 with SessionData

use of com.google.firebase.crashlytics.internal.settings.Settings.SessionData in project firebase-android-sdk by firebase.

the class CrashlyticsControllerRobolectricTest method mockSettingsProvider.

private void mockSettingsProvider(boolean collectAnrs) {
    Settings settings = new Settings(0, new SessionData(4, 4), new FeatureFlagData(true, collectAnrs), 3, 0, 1.0, 1.0, 1);
    when(mockSettingsProvider.getSettingsSync()).thenReturn(settings);
}
Also used : SessionData(com.google.firebase.crashlytics.internal.settings.Settings.SessionData) Settings(com.google.firebase.crashlytics.internal.settings.Settings) FeatureFlagData(com.google.firebase.crashlytics.internal.settings.Settings.FeatureFlagData)

Aggregations

Settings (com.google.firebase.crashlytics.internal.settings.Settings)1 FeatureFlagData (com.google.firebase.crashlytics.internal.settings.Settings.FeatureFlagData)1 SessionData (com.google.firebase.crashlytics.internal.settings.Settings.SessionData)1