kommon
Toggle table of contents
0.0.0-SNAPSHOT
release
Target filter
release
Switch theme
Search in API
Skip to content
kommon
testing
/
io.github.maniramezan.kommon.testing
/
FakeSyncCursorStore
Fake
Sync
Cursor
Store
class
FakeSyncCursorStore
:
SyncCursorStore
In-memory
SyncCursorStore
fake for consumer unit tests, avoiding a Room/mocking round-trip.
Members
Constructors
Fake
Sync
Cursor
Store
Link copied to clipboard
constructor
(
)
Functions
get
Link copied to clipboard
open
suspend override
fun
get
(
resourceName
:
String
)
:
SyncCursorRecord
?
record
For
Link copied to clipboard
fun
recordFor
(
resourceName
:
String
)
:
SyncCursorRecord
?
save
Link copied to clipboard
open
suspend override
fun
save
(
record
:
SyncCursorRecord
)