mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-27 13:39:33 +00:00
Added Android app source code (#94)
* Added android app * Added Google Play picture * Update rc.md * Update rc.md * Update rc.md * Update rc.md * Update rc.md * Update rc.md * Create android.md * Update SUMMARY.md * Update android.md * Update android.md
This commit is contained in:
committed by
Oleg Kalachev
parent
7e2cea7425
commit
53cc575c23
@@ -0,0 +1,24 @@
|
||||
package express.copter.cleverrc
|
||||
|
||||
import android.support.test.InstrumentationRegistry
|
||||
import android.support.test.runner.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.getTargetContext()
|
||||
assertEquals("express.copter.cleverrc", appContext.packageName)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user