summaryrefslogtreecommitdiff
path: root/llama.cpp/examples/llama.android/lib/src/androidTest/java/android
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
commitb333b06772c89d96aacb5490d6a219fba7c09cc6 (patch)
tree211df60083a5946baa2ed61d33d8121b7e251b06 /llama.cpp/examples/llama.android/lib/src/androidTest/java/android
downloadllmnpc-b333b06772c89d96aacb5490d6a219fba7c09cc6.tar.gz
Engage!
Diffstat (limited to 'llama.cpp/examples/llama.android/lib/src/androidTest/java/android')
-rw-r--r--llama.cpp/examples/llama.android/lib/src/androidTest/java/android/llama/cpp/ExampleInstrumentedTest.kt24
1 files changed, 24 insertions, 0 deletions
diff --git a/llama.cpp/examples/llama.android/lib/src/androidTest/java/android/llama/cpp/ExampleInstrumentedTest.kt b/llama.cpp/examples/llama.android/lib/src/androidTest/java/android/llama/cpp/ExampleInstrumentedTest.kt
new file mode 100644
index 0000000..05d6ab5
--- /dev/null
+++ b/llama.cpp/examples/llama.android/lib/src/androidTest/java/android/llama/cpp/ExampleInstrumentedTest.kt
@@ -0,0 +1,24 @@
1package android.llama.cpp
2
3import androidx.test.platform.app.InstrumentationRegistry
4import androidx.test.ext.junit.runners.AndroidJUnit4
5
6import org.junit.Test
7import org.junit.runner.RunWith
8
9import org.junit.Assert.*
10
11/**
12 * Instrumented test, which will execute on an Android device.
13 *
14 * See [testing documentation](http://d.android.com/tools/testing).
15 */
16@RunWith(AndroidJUnit4::class)
17class ExampleInstrumentedTest {
18 @Test
19 fun useAppContext() {
20 // Context of the app under test.
21 val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22 assertEquals("android.llama.cpp.test", appContext.packageName)
23 }
24}