-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #390 from joreilly/dependency_upddates
dependency updates + some cleanup
- Loading branch information
Showing
7 changed files
with
38 additions
and
69 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
35 changes: 0 additions & 35 deletions
35
app/src/test/java/com/surrus/peopleinspace/TestKoinGraph.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
27 changes: 27 additions & 0 deletions
27
common/src/androidUnitTest/kotlin/dev/johnoreilly/peopleinspace/TestKoinGraph.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package dev.johnoreilly.peopleinspace | ||
|
||
import com.surrus.common.di.commonModule | ||
import com.surrus.common.repository.platformModule | ||
import com.surrus.peopleinspace.db.PeopleInSpaceDatabase | ||
import io.ktor.client.HttpClientConfig | ||
import io.ktor.client.engine.HttpClientEngine | ||
import org.koin.core.annotation.KoinExperimentalAPI | ||
import org.koin.dsl.module | ||
import org.koin.test.verify.verify | ||
import kotlin.test.Test | ||
|
||
|
||
@OptIn(KoinExperimentalAPI::class) | ||
class TestKoinGraph { | ||
|
||
@Test | ||
fun checkKoinModules() { | ||
val modules = module { | ||
includes(commonModule(false), platformModule()) | ||
} | ||
|
||
modules.verify( | ||
extraTypes = listOf(HttpClientEngine::class, HttpClientConfig::class, PeopleInSpaceDatabase::class) | ||
) | ||
} | ||
} |
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