Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
94 changed files
with
519 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
16 changes: 11 additions & 5 deletions
16
app/src/androidTest/java/io/github/droidkaigi/confsched2018/test/TestApp.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
package io.github.droidkaigi.confsched2018.test | ||
|
||
import dagger.android.AndroidInjector | ||
import dagger.android.support.DaggerApplication | ||
import io.github.droidkaigi.confsched2018.di.DaggerAppComponent | ||
import io.github.droidkaigi.confsched2018.presentation.App | ||
import io.github.droidkaigi.confsched2018.test.di.TestAppInjector | ||
import io.github.droidkaigi.confsched2018.test.di.StubDatabaseModule | ||
import io.github.droidkaigi.confsched2018.test.di.StubNetworkModule | ||
|
||
class TestApp : App() { | ||
|
||
override fun setupDagger() { | ||
TestAppInjector.init(this) | ||
override fun applicationInjector(): AndroidInjector<out DaggerApplication> { | ||
return DaggerAppComponent.builder() | ||
.application(this) | ||
.networkModule(StubNetworkModule()) | ||
.databaseModule(StubDatabaseModule()) | ||
.build() | ||
} | ||
|
||
} |
61 changes: 0 additions & 61 deletions
61
app/src/androidTest/java/io/github/droidkaigi/confsched2018/test/di/TestAppInjector.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.