Guest User

Untitled

a guest
Jan 18th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. class AndroidTestRunner : AndroidJUnitRunner() {
  2.  
  3. override fun newApplication(cl: ClassLoader, className: String, context: Context): Application {
  4. // The DexOpener library allows to make Kotlin classes, properties and functions
  5. // open during tests in order to mock then with Mockito.
  6. DexOpener.install(this)
  7. return super.newApplication(cl, AndroidTestApplication::class.java.name, context)
  8. }
  9. }
Add Comment
Please, Sign In to add comment