First Commit

This commit is contained in:
Tommaso Berlose
2017-10-06 18:13:30 +02:00
commit 13ba1e3281
116 changed files with 1973 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package com.tommasoberlose.anotherwidget
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("com.tommasoberlose.anotherwidget", appContext.packageName)
}
}