summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt
blob: 388e3565375d516ebafd4477a575773737d77d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.the_jk.cleversync

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.*

@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
    @Test
    fun useAppContext() {
        // Context of the app under test.
        val appContext =
            InstrumentationRegistry.getInstrumentation().targetContext
        assertEquals("org.the_jk.cleversync", appContext.packageName)
    }
}