nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

Datastore Unit Test

Open JackEblan opened this issue 1 year ago • 1 comments

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 avatar Jan 05 '25 00:01 JackEblan

@JackEblan You can check the history and context what happened. https://github.com/android/nowinandroid/pull/1542

It was failed on Windows user.

Jaehwa-Noh avatar Jan 05 '25 02:01 Jaehwa-Noh