diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2024-07-11 23:28:01 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2024-07-11 23:28:01 +0200 |
| commit | 5ac1ae8525181ba86ac6c17ef2192a5f7b17a86c (patch) | |
| tree | de8250a7f4a76cbf789f380a8a3a4ca9b2d16f37 /app/src/androidTest/java/org | |
Initial commit
Local (Path based) implementation of Tree, Directory, File and Link.
Diffstat (limited to 'app/src/androidTest/java/org')
| -rw-r--r-- | app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt b/app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..388e356 --- /dev/null +++ b/app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt @@ -0,0 +1,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) + } +} |
