Add isolated host checks for the real call service and controller
This commit is contained in:
1 parent
bc7063966d
commit
be3a2d2325
3 files changed
+22
-1
No files matched your search
@@ -84,7 +84,7 @@ val testJniLog by tasks.registering(Exec::class) {
|
||||
|
||||
// Зависимость только между задачами: host-модели не входят в classpath приложения/APK.
|
||||
tasks.withType<org.gradle.api.tasks.testing.Test>().configureEach {
|
||||
dependsOn(":router-tests:test", ":capture-tests:test", ":language-tests:test", testJniLog)
|
||||
dependsOn(":router-tests:test", ":capture-tests:test", ":language-tests:test", ":call-service-tests:test", testJniLog)
|
||||
val messageLinkCases = rootProject.file("../chatgui/tests/message_links_cases.tsv")
|
||||
inputs.file(messageLinkCases)
|
||||
systemProperty("utun.messageLinkCases", messageLinkCases.absolutePath)
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
plugins { id("org.jetbrains.kotlin.jvm") }
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
sourceSets.named("main") {
|
||||
kotlin.srcDirs("../router-tests/src/main/kotlin", "../app/src/main/java")
|
||||
// Настоящие service/controller; DSP/camera/Telecom заменены явными границами в CallServiceHost.
|
||||
kotlin.include("android/**", "androidx/**", "com/utun/chat/RouterHostApp.kt",
|
||||
"com/utun/chat/data/RouterHostEnvironment.kt", "com/utun/chat/data/RadioHostEnvironment.kt",
|
||||
"com/utun/chat/data/CallServiceHost.kt", "com/utun/chat/data/CallService.kt", "com/utun/chat/data/CallController.kt",
|
||||
"com/utun/chat/data/CallState.kt", "com/utun/chat/data/CallAudioRouter.kt", "com/utun/chat/data/CoreActivity.kt")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3")
|
||||
}
|
||||
tasks.test { testLogging { showStandardStreams = true } }
|
||||
@@ -20,3 +20,4 @@ include(":audio-probe")
|
||||
include(":router-tests")
|
||||
include(":capture-tests")
|
||||
include(":language-tests")
|
||||
include(":call-service-tests")
|
||||
Reference in new issue
Block a user