chore(conductor): Mark track 'Migrate tests to KMP best practices and expand coverage' as complete

This commit is contained in:
James Rich 2026-03-18 16:46:10 -05:00
parent 0e1461b5e4
commit 2395cb91e1
33 changed files with 358 additions and 307 deletions

View file

@ -33,6 +33,7 @@ plugins {
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.secrets)
alias(libs.plugins.aboutlibraries)
id("dev.mokkery")
}
val keystorePropertiesFile = rootProject.file("keystore.properties")

View file

@ -17,7 +17,8 @@
package org.meshtastic.app.service
import android.app.Notification
import io.mockk.mockk
import dev.mokkery.MockMode
import dev.mokkery.mock
import org.meshtastic.core.model.Node
import org.meshtastic.core.repository.MeshServiceNotifications
import org.meshtastic.core.repository.RadioInterfaceService
@ -25,7 +26,7 @@ import org.meshtastic.proto.ClientNotification
import org.meshtastic.proto.Telemetry
class Fakes {
val service: RadioInterfaceService = mockk(relaxed = true)
val service: RadioInterfaceService = mock(MockMode.autofill)
}
class FakeMeshServiceNotifications : MeshServiceNotifications {
@ -34,7 +35,8 @@ class FakeMeshServiceNotifications : MeshServiceNotifications {
override fun initChannels() {}
override fun updateServiceStateNotification(summaryString: String?, telemetry: Telemetry?): Notification =
mockk(relaxed = true)
mock(MockMode.autofill)
override suspend fun updateMessageNotification(
contactKey: String,