From 5ac1ae8525181ba86ac6c17ef2192a5f7b17a86c Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Thu, 11 Jul 2024 23:28:01 +0200 Subject: Initial commit Local (Path based) implementation of Tree, Directory, File and Link. --- .../org/the_jk/cleversync/ExampleInstrumentedTest.kt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt (limited to 'app/src/androidTest/java/org/the_jk/cleversync/ExampleInstrumentedTest.kt') 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) + } +} -- cgit v1.2.3-70-g09d2