Package-level declarations

Types

Link copied to clipboard

Identifies an IVI service mock instance.

Link copied to clipboard
@IviExperimental(reasons = [])
class IviServiceRule(testLifecycleOwner: TestLifecycleOwner, initialIviServiceTestConfiguration: IviServiceTestConfiguration? = null) : ExternalResource

Rule to setup the initialIviServiceTestConfiguration before starting the test.

Link copied to clipboard
@IviExperimental(reasons = [])
abstract class IviServiceTestCase(initialIviServiceTestConfiguration: IviServiceTestConfiguration? = DEFAULT_INITIAL_SERVICE_CONFIG) : IviFunctionalTestCase, IviServiceAwareTestCase

Base class for running tests that require one or more IVI services.

Link copied to clipboard
@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.

Link copied to clipboard

A TestApplication designed to allow tests to control the IVI service configuration by extending it and/or by using the IviServiceRule.

Functions

Link copied to clipboard
@IviExperimental(reasons = [])
fun TraceEventErrorsListener.Companion.expectServiceFunException(iviServiceId: IviServiceId, functionReference: KFunction<*>, exceptionMessage: String)

Whitelists trace event errors as result of throwing an exception in an IVI service function.