Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/before.kt Secret
Created Oct 18, 2017

Embed
What would you like to do?
private lateinit var bufferoosDatabase: BufferoosDatabase
@Before
fun initDb() {
bufferoosDatabase = Room.inMemoryDatabaseBuilder(InstrumentationRegistry.getContext(),
BufferoosDatabase::class.java).build()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.