INNER CODE UNIT · Kotlin

ExampleInstrumentedTest

LukasLechnerDev/Kotlin-Coroutines-and-Flow-UseCases-on-Android · app/src/androidTest/java/com/lukaslechner/coroutineusecasesonandroid/ExampleInstrumentedTest.kt:15

class ExampleInstrumentedTest {
    @Test
    fun useAppContext() {
        // Context of the app under test.
        val appContext = InstrumentationRegistry.getInstrumentation().targetContext
        assertEquals("com.lukaslechner.coroutineusecasesonandroid", appContext.packageName)
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…