aboutsummaryrefslogtreecommitdiff
path: root/ClientApp/app/src/androidTest/java/com/example
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-10-21 03:32:14 +0200
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-10-21 03:32:14 +0200
commit36f0cc501c433181ddd318e0c0b9e1ad11aa51ae (patch)
tree6e9fffd0e860efe9d0346349b88f172d707b2f62 /ClientApp/app/src/androidTest/java/com/example
parentcd92fea95833303f0e2083f059ca47c0d5e027da (diff)
Commit DemoApp.HEADmaster
Diffstat (limited to 'ClientApp/app/src/androidTest/java/com/example')
-rw-r--r--ClientApp/app/src/androidTest/java/com/example/clientapp/ExampleInstrumentedTest.kt24
1 files changed, 24 insertions, 0 deletions
diff --git a/ClientApp/app/src/androidTest/java/com/example/clientapp/ExampleInstrumentedTest.kt b/ClientApp/app/src/androidTest/java/com/example/clientapp/ExampleInstrumentedTest.kt
new file mode 100644
index 0000000..39c5f8e
--- /dev/null
+++ b/ClientApp/app/src/androidTest/java/com/example/clientapp/ExampleInstrumentedTest.kt
@@ -0,0 +1,24 @@
+package com.example.clientapp
+
+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.*
+
+/**
+ * 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.example.clientapp", appContext.packageName)
+ }
+} \ No newline at end of file