Fix test build

This commit is contained in:
Lucas Lima 2020-10-11 20:21:57 -03:00
parent 3e563b1563
commit d41913e932
No known key found for this signature in database
GPG key ID: 049CCC5A365B00D2

View file

@ -31,6 +31,8 @@ class MockPreferencesRepository : IPreferencesRepository {
override fun customLongPressTimeout(): Long = 400L
override fun setCustomLongPressTimeout(value: Long) { }
override fun themeId(): Long = 1L
override fun useTheme(themeId: Long) { }
@ -63,8 +65,12 @@ class MockPreferencesRepository : IPreferencesRepository {
override fun useHelp(): Boolean = false
override fun setHelp(value: Boolean) { }
override fun squareRadius(): Int = 2
override fun setSquareRadius(value: Int) { }
override fun getTips(): Int = 0
override fun setTips(tips: Int) { }
@ -79,15 +85,29 @@ class MockPreferencesRepository : IPreferencesRepository {
override fun useFlagAssistant(): Boolean = false
override fun setFlagAssistant(value: Boolean) { }
override fun useHapticFeedback(): Boolean = true
override fun setHapticFeedback(value: Boolean) { }
override fun squareSizeMultiplier(): Int = 50
override fun setSquareMultiplier(value: Int) { }
override fun useAnimations(): Boolean = false
override fun useQuestionMark(): Boolean = false
override fun setQuestionMark(value: Boolean) { }
override fun isSoundEffectsEnabled(): Boolean = false
override fun setSoundEffectsEnabled(value: Boolean) { }
override fun shouldMigrateFromCloud(): Boolean = false
override fun setMigrateFromCloud(value: Boolean) { }
override fun showWindowsWhenFinishGame(): Boolean = true
}