blob: b5ea011135f710c10d28a9f9e7fe75e750d1d195 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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())
}
}
|