zcash-android-wallet-sdk icon indicating copy to clipboard operation
zcash-android-wallet-sdk copied to clipboard

Consider fake SDK sync related components

Open HonzaR opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

In our tests as well as in the Compose Previews we'd appreciate having a way how to mock our key synchronizer components.

Describe the solution you'd like

It requires mocking a few components like networking client (https://github.com/zcash/zcash-android-wallet-sdk/issues/898), Synchornizer, DerivedDataRepository, CompactBlockProcessor (CompactBlockDownloader & CompactBlockRepository), or TransactionManager.

The rust backend is already mocked as FakeRustBacked.

All of these would be just SDK internal components used for internal testing and similar use-cases.

HonzaR avatar Jun 22 '23 15:06 HonzaR