class OnlineRepositoryTesting
Used for testing purposes to initialize the state of a OnlineRepository subclass instance.
You can use this class directly, or, use the recommended extension functions in the OnlineRepository.Testing object.
Intentions of OnlineRepositoryTesting:
class CacheExistsDsl |
|
data class SetValues
The values set in one of the OnlineRepositoryTesting init functions. |
|
class StateOfOnlineRepositoryDsl<CACHE> |
fun <CACHE, REQ : GetCacheRequirements, FETCH_RESPONSE> initState(repository: OnlineRepository<CACHE, REQ, FETCH_RESPONSE>, requirements: REQ, more: StateOfOnlineRepositoryDsl<FETCH_RESPONSE>.() -> Unit = null): SetValues |
|
fun <CACHE, REQ : GetCacheRequirements, FETCH_RESPONSE> initStateAsync(repository: OnlineRepository<CACHE, REQ, FETCH_RESPONSE>, requirements: REQ, more: StateOfOnlineRepositoryDsl<FETCH_RESPONSE>.() -> Unit = null, complete: (SetValues) -> Unit): Unit |
fun <CACHE, REQ : GetCacheRequirements, FETCH_RESPONSE> initState(repository: OnlineRepository<CACHE, REQ, FETCH_RESPONSE>, requirements: REQ, more: StateOfOnlineRepositoryDsl<FETCH_RESPONSE>.() -> Unit = null): SetValues |
|
fun <CACHE, REQ : GetCacheRequirements, FETCH_RESPONSE> initStateAsync(repository: OnlineRepository<CACHE, REQ, FETCH_RESPONSE>, requirements: REQ, more: StateOfOnlineRepositoryDsl<FETCH_RESPONSE>.() -> Unit = null, complete: (SetValues) -> Unit): Unit |