summaryrefslogtreecommitdiff
path: root/library/src/androidTest/kotlin/InstrumentedAkonoTests.kt
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/androidTest/kotlin/InstrumentedAkonoTests.kt')
-rw-r--r--library/src/androidTest/kotlin/InstrumentedAkonoTests.kt21
1 files changed, 21 insertions, 0 deletions
diff --git a/library/src/androidTest/kotlin/InstrumentedAkonoTests.kt b/library/src/androidTest/kotlin/InstrumentedAkonoTests.kt
new file mode 100644
index 00000000..b5ea0111
--- /dev/null
+++ b/library/src/androidTest/kotlin/InstrumentedAkonoTests.kt
@@ -0,0 +1,21 @@
+package akono.test;
+
+import androidx.test.ext.junit.runners.AndroidJUnit4
+import org.junit.runner.RunWith
+import org.junit.Test
+import androidx.test.filters.SmallTest
+import androidx.test.filters.LargeTest
+import org.junit.Assert.assertTrue
+import org.junit.Assert.assertEquals
+import akono.AkonoJni
+
+// @RunWith is required only if you use a mix of JUnit3 and JUnit4.
+@RunWith(AndroidJUnit4::class)
+@LargeTest
+public class InstrumentedAkonoTestOne {
+ @Test
+ fun myAkonoTest() {
+ val ajni: AkonoJni = AkonoJni()
+ assertEquals("foo", ajni.stringFromJNI())
+ }
+}