IviServiceTestConfiguration

@IviExperimental(reasons = [])
data class IviServiceTestConfiguration(val additionalRuntimeDeploymentIds: List<RuntimeDeploymentId> = emptyList(), val iviServiceMocks: ServiceMocksMap = emptyMap(), val iviInstanceIds: List<IviInstanceId> = listOf( IviFunctionalTestCase.defaultIviInstanceId ))

Represents the IVI service configuration to use during a test.

Constructors

Link copied to clipboard
fun IviServiceTestConfiguration(additionalRuntimeDeploymentId: RuntimeDeploymentId)
Link copied to clipboard
fun IviServiceTestConfiguration(additionalRuntimeDeploymentIds: List<RuntimeDeploymentId> = emptyList(), iviServiceMocks: ServiceMocksMap = emptyMap(), iviInstanceIds: List<IviInstanceId> = listOf( IviFunctionalTestCase.defaultIviInstanceId ))

Properties

Link copied to clipboard

Additional runtime deployment configuration to enable. This allows the test to modify the available services hosts. The available services hosts in a runtime deployment configuration is configured in the build.gradle.kts file of the test through the IVI gradle plugin.

Link copied to clipboard
Link copied to clipboard

Defines which IVI service to mock.

Functions

Link copied to clipboard
fun copyAndAdd(additionalRuntimeDeploymentIds: List<RuntimeDeploymentId> = emptyList(), iviServiceMocks: ServiceMocksMap = emptyMap(), iviInstanceIds: List<IviInstanceId> = emptyList()): IviServiceTestConfiguration

Returns a copy of this and adds the additionalRuntimeDeploymentIds, iviServiceMocks and iviInstanceIds to the copy.

Link copied to clipboard