Last active
May 25, 2018 06:56
-
-
Save kikuchy/89240cf5ccfdc5c97334fdbdb0826a19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Robolectric のApplicationContext | |
val context = RuntimeEnvironment.application | |
// Testing Support LibraryのApplicationContext | |
val context = InstrumentationRegistry.getTargetContext() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment