Issue#90 Update documentation of TestDatabaseInitialization
This commit is contained in:
parent
d87d37a163
commit
24bef1ba3e
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ import org.koin.dsl.module
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reloads the Database Koin module, so it uses the inMemory database with the switched out Executors.
|
* Reloads the Database Koin module, so it uses the inMemory database with the switched out Executors.
|
||||||
|
*
|
||||||
|
* This is needed so in AndroidTests not a real File based device is used.
|
||||||
|
* This speeds tests up, and isolates them better, there will be no junk in the Database file from previous tests.
|
||||||
*/
|
*/
|
||||||
object TestDatabaseInitialization {
|
object TestDatabaseInitialization {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue