This commit is contained in:
parent
67ac861a9d
commit
c18cd0816d
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
package codes.swee.DiceAppM3
|
package codes.swee.diceapp
|
||||||
|
|
||||||
import androidx.test.platform.app.InstrumentationRegistry
|
import androidx.test.platform.app.InstrumentationRegistry
|
||||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||||
|
@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
|
||||||
fun useAppContext() {
|
fun useAppContext() {
|
||||||
// Context of the app under test.
|
// Context of the app under test.
|
||||||
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
|
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
|
||||||
assertEquals("codes.swee.DiceAppM3", appContext.packageName)
|
assertEquals("codes.swee.diceapp", appContext.packageName)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue