]>
jfr.im git - i.jfr.im-android.git/blob - app/src/androidTest/java/im/jfr/i/ExampleInstrumentedTest.kt
3 import androidx
.test
.platform
.app
.InstrumentationRegistry
4 import androidx
.test
.ext
.junit
.runners
.AndroidJUnit4
7 import org
.junit
.runner
.RunWith
9 import org
.junit
.Assert
.*
12 * Instrumented test, which will execute on an Android device.
14 * See [testing documentation](http://d.android.com/tools/testing).
16 @RunWith(AndroidJUnit4
::class)
17 class ExampleInstrumentedTest
{
20 // Context of the app under test.
21 val appContext
= InstrumentationRegistry
.getInstrumentation().targetContext
22 assertEquals("im.jfr.i", appContext
.packageName
)