summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/org/the_jk/cleversync
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-07-11 23:28:01 +0200
committerJoel Klinghed <the_jk@spawned.biz>2024-07-11 23:28:01 +0200
commit5ac1ae8525181ba86ac6c17ef2192a5f7b17a86c (patch)
treede8250a7f4a76cbf789f380a8a3a4ca9b2d16f37 /app/src/androidTest/java/org/the_jk/cleversync
Initial commit
Local (Path based) implementation of Tree, Directory, File and Link.
Diffstat (limited to 'app/src/androidTest/java/org/the_jk/cleversync')
-rw-r--r--app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt20
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)
+ }
+}