mirror of
https://github.com/wgtunnel/android.git
synced 2026-06-02 08:33:40 +02:00
cc5a2a972b
Co-authored-by: solokot <solokot@gmail.com> Co-authored-by: lateweb <weblate@techkoala.net> Co-authored-by: Matthaiks <kitynska@gmail.com> Co-authored-by: Kachelkaiser <kachelkaiser@outlook.com> Co-authored-by: CyanWolf <hydemr@pm.me> Co-authored-by: Henrik Sozzi <henrik_sozzi@hotmail.com> Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org> Co-authored-by: x86_64-pc-linux-gnu <x86_64-pc-linux-gnu@proton.me> Co-authored-by: mak7im01 <mak7im02@gmail.com> Co-authored-by: heykanspor <meingithub@heykan.de> Co-authored-by: Jan-Pascal van Best <janpascal@vanbest.org> Co-authored-by: Faisal Gull <mail.faisalrehman.345@gmail.com> Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com> Co-authored-by: catelixor <catelixor+weblate@proton.me> Co-authored-by: Deleted User <noreply+48943@weblate.org> Co-authored-by: kometchtech <kometch@gmail.com>
23 lines
707 B
Kotlin
23 lines
707 B
Kotlin
package com.zaneschepke.wireguardautotunnel
|
|
|
|
import androidx.test.ext.junit.runners.AndroidJUnit4
|
|
import androidx.test.platform.app.InstrumentationRegistry
|
|
import org.junit.Assert.assertEquals
|
|
import org.junit.Test
|
|
import org.junit.runner.RunWith
|
|
|
|
/**
|
|
* 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("com.zaneschepke.wireguardautotunnel", appContext.packageName)
|
|
}
|
|
}
|