forked from MarathonLabs/marathon
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using Koin GlobalContext (#60)
- Loading branch information
1 parent
298e2c1
commit 7976ff2
Showing
21 changed files
with
73 additions
and
290 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
10 changes: 0 additions & 10 deletions
10
core/src/main/kotlin/com/malinskiy/marathon/vendor/VendorConfiguration.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,20 +1,10 @@ | ||
package com.malinskiy.marathon.vendor | ||
|
||
import com.malinskiy.marathon.cache.test.key.ComponentCacheKeyProvider | ||
import com.malinskiy.marathon.device.DeviceFeature | ||
import com.malinskiy.marathon.device.DeviceProvider | ||
import com.malinskiy.marathon.execution.ComponentInfoExtractor | ||
import com.malinskiy.marathon.execution.TestParser | ||
import com.malinskiy.marathon.log.MarathonLogConfigurator | ||
import org.koin.core.module.Module | ||
|
||
interface VendorConfiguration { | ||
fun logConfigurator(): MarathonLogConfigurator? | ||
fun testParser(): TestParser? | ||
fun deviceProvider(): DeviceProvider? | ||
fun preferableRecorderType(): DeviceFeature? | ||
fun componentInfoExtractor(): ComponentInfoExtractor? | ||
fun componentCacheKeyProvider(): ComponentCacheKeyProvider? | ||
|
||
fun modules(): List<Module> = emptyList() | ||
} |
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
27 changes: 0 additions & 27 deletions
27
core/src/test/kotlin/com/malinskiy/marathon/spek/DeclareMock.kt
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
core/src/test/kotlin/com/malinskiy/marathon/spek/KoinSpek.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
Oops, something went wrong.