using test engine module

This commit is contained in:
Adam Brown 2022-12-05 22:48:38 +00:00
parent eb896017f3
commit c71f2b8a27
8 changed files with 7 additions and 16 deletions

View File

@ -13,6 +13,7 @@ dependencies {
implementation Dependencies.jitPack.unifiedPush
kotlinTest(it)
testImplementation 'chat-engine:chat-engine-test'
androidImportFixturesWorkaround(project, project(":core"))
androidImportFixturesWorkaround(project, project(":domains:android:stub"))
}

BIN
external/jolm.jar vendored

Binary file not shown.

View File

@ -12,9 +12,7 @@ dependencies {
kotlinTest(it)
testImplementation 'screen-state:state-test'
testImplementation 'chat-engine:chat-engine-test'
androidImportFixturesWorkaround(project, project(":core"))
androidImportFixturesWorkaround(project, project(":domains:android:stub"))
// androidImportFixturesWorkaround(project, project(":domains:store"))
// androidImportFixturesWorkaround(project, project(":chat-engine"))
// androidImportFixturesWorkaround(project, project(":matrix:common"))
}

View File

@ -8,7 +8,6 @@ import fixture.aRoomOverview
import io.mockk.mockk
import kotlinx.coroutines.flow.flowOf
import org.junit.Test
import test.expect
import test.testReducer
private val AN_OVERVIEW = aRoomOverview()

View File

@ -15,7 +15,7 @@ dependencies {
kotlinTest(it)
testImplementation 'screen-state:state-test'
// testImplementation 'chat-engine:chat-engine-test'
testImplementation 'chat-engine:chat-engine-test'
androidImportFixturesWorkaround(project, project(":core"))
androidImportFixturesWorkaround(project, project(":domains:android:viewmodel"))

View File

@ -15,9 +15,7 @@ dependencies {
implementation Dependencies.mavenCentral.kotlinSerializationJson
kotlinTest(it)
testImplementation 'chat-engine:chat-engine-test'
androidImportFixturesWorkaround(project, project(":core"))
androidImportFixturesWorkaround(project, project(":domains:android:stub"))
// androidImportFixturesWorkaround(project, project(":matrix:common"))
// androidImportFixturesWorkaround(project, project(":chat-engine"))
}

View File

@ -3,7 +3,6 @@ applyAndroidComposeLibraryModule(project)
dependencies {
implementation "chat-engine:chat-engine"
implementation project(":features:settings")
// implementation project(':domains:store')
implementation 'screen-state:screen-android'
implementation project(":domains:android:compose-core")
implementation project(":design-library")
@ -12,9 +11,7 @@ dependencies {
kotlinTest(it)
testImplementation 'screen-state:state-test'
testImplementation 'chat-engine:chat-engine-test'
androidImportFixturesWorkaround(project, project(":core"))
androidImportFixturesWorkaround(project, project(":domains:android:stub"))
// androidImportFixturesWorkaround(project, project(":chat-engine"))
// androidImportFixturesWorkaround(project, project(":matrix:common"))
// androidImportFixturesWorkaround(project, project(":domains:store"))
}

View File

@ -14,11 +14,9 @@ dependencies {
kotlinTest(it)
testImplementation 'screen-state:state-test'
// testImplementation 'chat-engine:chat-engine-test'
testImplementation 'chat-engine:chat-engine-test'
androidImportFixturesWorkaround(project, project(":core"))
androidImportFixturesWorkaround(project, project(":domains:android:viewmodel"))
androidImportFixturesWorkaround(project, project(":domains:android:stub"))
// androidImportFixturesWorkaround(project, project(":matrix:common"))
// androidImportFixturesWorkaround(project, project(":domains:store"))
// androidImportFixturesWorkaround(project, project(":chat-engine"))
androidImportFixturesWorkaround(project, project(":domains:store"))
}