/
kraiben
/
GabPlayer
Обзор
Документация
Войти
/
kraiben
/
GabPlayer
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
modules-creating
app/src/androidTest/java/gab/exps/gabplayer/ExampleInstrumentedTest.kt
24 строки
663 B
Gab
convention module created
10 июн 2026, 18:36
10 июн 2026, 18:36
089acad
Код
Авторство
О чём код?
package gab.exps.gabplayer import androidx.test.platform.app.InstrumentationRegistry import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.Test import org.junit.runner.RunWith import org.junit.Assert.* /** * Instrumented test, which will execute on an Android device. * * See [testing documentation](http://d.android.com/tools/testing). */ @RunWith(AndroidJUnit4::class) class ExampleInstrumentedTest { @Test fun useAppContext() { // Context of the app under test. val appContext = InstrumentationRegistry.getInstrumentation().targetContext assertEquals("gab.exps.gabplayer", appContext.packageName) } }