https://kotlinlang.org logo
Title
u

user

07/21/2022, 1:21 PM
android. kotlin, the coverage test is failing on lateinit var member in android kotlin class it has a lateinit var member. The coverage test is failing on the function referring to it. The simplified class here: open class TestC constructor(context: Context) { private lateinit var mModule: NotificationModule protected fun setModule(module: NotificationModule) { mModule = module } protected fun getModule(): NotificationModule { return mModule } fun doSomething() { if (mModule.pushToken == null) {...