You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
506 B
24 lines
506 B
package net.pokeranalytics.android
|
|
|
|
import io.realm.Realm
|
|
import org.junit.After
|
|
import org.junit.Before
|
|
|
|
open class RealmUnitTest {
|
|
|
|
lateinit var mockRealm: Realm
|
|
|
|
@Before
|
|
fun setup() {
|
|
// val testConfig = RealmConfiguration.Builder().inMemory().name("test-realm").build()
|
|
// Realm.setDefaultConfiguration(testConfig)
|
|
// mockRealm = Realm.getDefaultInstance()
|
|
}
|
|
|
|
@After
|
|
@Throws(Exception::class)
|
|
public fun tearDown() {
|
|
// mockRealm.close()
|
|
}
|
|
|
|
} |