PropertyStoreContractTest

abstract class PropertyStoreContractTest(body: ERROR CLASS: Symbol not found for FunSpec.() -> Unit = {}) : <ERROR CLASS> ERROR CLASS: Symbol not found for FunSpec(source)

Abstract contract test for PropertyStore implementations.

This abstract class defines a comprehensive test suite that all PropertyStore implementations must pass. It implements all specific contract test interfaces:

  • propertyStoreCrudTests

  • propertyStoreConcurrencyTests

To use this contract test, extend this class and implement the createStore method:

class InMemoryPropertyStoreTest : PropertyStoreContractTest() {
override suspend fun createStore(): PropertyStore = InMemoryPropertyStore()
}

Constructors

Link copied to clipboard
constructor(body: ERROR CLASS: Symbol not found for FunSpec.() -> Unit = {})

Functions

Link copied to clipboard
abstract suspend fun createStore(): ERROR CLASS: Symbol not found for PropertyStore