0db1a23c4f
* Fix Typo * Update build.gradle * Update Deps * Update Tests * Fixes Tests Without this some tests fail on my PC... + also: "Put this in your gradle.properties: android.enableUnitTestBinaryResources=true" from http://robolectric.org/migrating/#project-configuration * Make everything private * Fix Warning * Update TimelineFragment.java * Update build.gradle * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Fix Compile Errors e.g. Type inference failed. Expected type mismatch: inferred type is Preference? but Preference was expected Type inference failed. Please try to specify type arguments explicitly. * fix crash * Grandle Wrapper 5.3 * Revert "Fix Compile Errors" This reverts commit 4a774a4fe3ce82c84bd7b4d78e1a1c64af97cd0d. * requirePreference * oops * Cleanup * Update gradle-wrapper.properties
26 lines
445 B
Kotlin
26 lines
445 B
Kotlin
package com.keylesspalace.tusky
|
|
|
|
/**
|
|
* Created by charlag on 3/7/18.
|
|
*/
|
|
|
|
class FakeTuskyApplication : TuskyApplication() {
|
|
|
|
private lateinit var locator: ServiceLocator
|
|
|
|
override fun initSecurityProvider() {
|
|
// No-op
|
|
}
|
|
|
|
override fun initAppInjector() {
|
|
// No-op
|
|
}
|
|
|
|
override fun initPicasso() {
|
|
// No-op
|
|
}
|
|
|
|
override fun getServiceLocator(): ServiceLocator {
|
|
return locator
|
|
}
|
|
} |