//tempest-testing/app.cash.tempest.testing/TestDynamoDbClient
TestDynamoDbClient¶
[jvm]\ interface TestDynamoDbClient : Service
Properties¶
Name | Summary |
---|---|
dynamoDb | [jvm] abstract val dynamoDb: AmazonDynamoDB A DynamoDB instance that is usable while this service is running. |
dynamoDbStreams | [jvm] abstract val dynamoDbStreams: AmazonDynamoDBStreams A DynamoDB streams instance that is usable while this service is running. |
tables | [jvm] abstract val tables: List<TestTable> |
Functions¶
Name | Summary |
---|---|
addListener | [jvm] abstract fun addListener(p0: Service.Listener, p1: Executor) |
awaitRunning | [jvm] abstract fun awaitRunning() open fun awaitRunning(p0: Duration) abstract fun awaitRunning(p0: Long, p1: TimeUnit) |
awaitTerminated | [jvm] abstract fun awaitTerminated() open fun awaitTerminated(p0: Duration) abstract fun awaitTerminated(p0: Long, p1: TimeUnit) |
failureCause | [jvm] abstract fun failureCause(): Throwable |
isRunning | [jvm] abstract fun isRunning(): Boolean |
logicalDb | [jvm] open fun <DB : LogicalDb> logicalDb(type: Class<DB>): DB open fun <DB : LogicalDb> logicalDb(type: KClass<DB>): DB open fun <DB : LogicalDb> logicalDb(type: Class<DB>, mapperConfig: DynamoDBMapperConfig): DB open fun <DB : LogicalDb> logicalDb(type: KClass<DB>, mapperConfig: DynamoDBMapperConfig): DB |
logicalDb | [jvm] inline fun <DB : LogicalDb> TestDynamoDbClient.logicalDb(): DB inline fun <DB : LogicalDb> TestDynamoDbClient.logicalDb(mapperConfig: DynamoDBMapperConfig): DB |
reset | [jvm] abstract fun reset() Cleans up tables in between test runs. |
startAsync | [jvm] @CanIgnoreReturnValue abstract fun startAsync(): Service |
state | [jvm] abstract fun state(): Service.State |
stopAsync | [jvm] @CanIgnoreReturnValue abstract fun stopAsync(): Service |