Package com.tomtom.ivi.platform.tools.api.testing.testapplication
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
Content copied to clipboard
Rule to setup the initialIviServiceTestConfiguration before starting the test.
Link copied to clipboard
abstract class IviServiceTestCase(initialIviServiceTestConfiguration: IviServiceTestConfiguration? = DEFAULT_INITIAL_SERVICE_CONFIG) : IviFunctionalTestCase, IviServiceAwareTestCase
Content copied to clipboard
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
))
Content copied to clipboard
Represents the IVI service configuration to use during a test.
Link copied to clipboard
abstract class IviWebServiceMockDependentIviServiceTestCase(initialIviServiceTestConfiguration: IviServiceTestConfiguration? = DEFAULT_INITIAL_SERVICE_CONFIG) : IviServiceTestCase
Content copied to clipboard
An integration test case which depends on WebserviceMockRule.
Link copied to clipboard
class MultipleInstanceBinderServiceHostMockAndroidService : IviAndroidService
Content copied to clipboard
Link copied to clipboard
typealias ServiceMocksMap = Map<IviServiceInterfaceRegistrationWrapper, KClass<out AnyIviServiceBase>>
Content copied to clipboard
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)
Content copied to clipboard
Whitelists trace event errors as result of throwing an exception in an IVI service function.