Package-level declarations
Types
Link copied to clipboard
Hosts all mocked IVI services.
Link copied to clipboard
Identifies an IVI service mock instance.
Link copied to clipboard
class IviServiceRule(testLifecycleOwner: TestLifecycleOwner, initialIviServiceTestConfiguration: IviServiceTestConfiguration? = null) : ExternalResource
Rule to setup the initialIviServiceTestConfiguration before starting the test.
Link copied to clipboard
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
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
Link copied to clipboard
typealias ServiceMocksMap = Map<IviServiceInterfaceRegistrationWrapper, KClass<out AnyIviServiceBase>>
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
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.