Skip to content

Commit

Permalink
swap update
Browse files Browse the repository at this point in the history
  • Loading branch information
Seonghun committed Aug 29, 2023
1 parent 0f93d45 commit 6152265
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 0 deletions.
Binary file added app/src/androidTest/.DS_Store
Binary file not shown.
Binary file added app/src/androidTest/java/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package io.kthulu.sdk

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("io.kthulu.sdk", appContext.packageName)
}
}
Binary file added app/src/main/java/io/kthulu/.DS_Store
Binary file not shown.
Binary file added app/src/test/.DS_Store
Binary file not shown.
Binary file added app/src/test/java/.DS_Store
Binary file not shown.
17 changes: 17 additions & 0 deletions app/src/test/java/com/example/sdk/ExampleUnitTest.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package io.kthulu.sdk

import org.junit.Test

import org.junit.Assert.*

/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}

0 comments on commit 6152265

Please sign in to comment.