nowinandroid
nowinandroid copied to clipboard
Datastore Unit Test
Since we are using NetworkResourceDaoTest as Instrumented test, why don't we do this with NiaPreferencesDataSourceTest too?
Previous test was also storing the datastore file on Temp Folder(Buggy on some platforms) and now it became a fake class. There was also an old DataStore and testing article for this.
@JackEblan You can check the history and context what happened. https://github.com/android/nowinandroid/pull/1542
It was failed on Windows user.