IviWebServiceMockDependentIviServiceTestCase
abstract class IviWebServiceMockDependentIviServiceTestCase(initialIviServiceTestConfiguration: IviServiceTestConfiguration? = DEFAULT_INITIAL_SERVICE_CONFIG) : IviServiceTestCase
Content copied to clipboard
An integration test case which depends on WebserviceMockRule.
Parameters
initialIviServiceTestConfiguration
The initial configuration of IVI services.
Constructors
Link copied to clipboard
fun IviWebServiceMockDependentIviServiceTestCase(initialIviServiceTestConfiguration: IviServiceTestConfiguration? = DEFAULT_INITIAL_SERVICE_CONFIG)
Content copied to clipboard
Types
Properties
Inherited properties
Functions
Link copied to clipboard
fun webserviceMockCaptureYield(description: String, durationMs: Long = WebserviceMockRule.DEFAULT_CAPTURE_YIELD_DURATION_MS)
Content copied to clipboard
Inherited functions
Link copied to clipboard
open override fun <R> createApiWrapper(iviInstanceId: IviInstanceId, callback: CreateApiCallback<R>): R
Content copied to clipboard
Link copied to clipboard
inline fun <T : TraceEventConsumer> createTraceEventConsumer(localProcessOnly: Boolean): T
Content copied to clipboard
Link copied to clipboard
open override fun getServiceIdsWrapper(iviInstanceId: IviInstanceId, callback: GetServiceIdsCallback): List<IviServiceId>
Content copied to clipboard
Link copied to clipboard
fun hasIviServiceMock(iviServiceMockIdentifier: IviServiceMockIdentifier<*>): Boolean
Content copied to clipboard
See the IviServiceRule.hasIviServiceMock overload that takes a IviServiceMockIdentifier instance.
fun hasIviServiceMock(iviServiceMockClass: KClass<out AnyIviServiceBase>): Boolean
Content copied to clipboard
See the IviServiceRule.hasIviServiceMock overload that takes a KClass instance.
Link copied to clipboard
Link copied to clipboard
fun registerTraceEventConsumer( traceEventConsumer: TraceEventConsumer, contextRegex: Regex?, localProcessOnly: Boolean)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : AnyIviServiceBase, R> withIviServiceMockOnMainThread(iviServiceMockIdentifier: IviServiceMockIdentifier<T>, block: T.() -> R): R
Content copied to clipboard
See the IviServiceRule.withIviServiceMockOnMainThread overload that takes a IviServiceMockIdentifier instance.
fun <T : AnyIviServiceBase, R> withIviServiceMockOnMainThread(iviServiceMockClass: KClass<T>, block: T.() -> R): R
Content copied to clipboard
See the IviServiceRule.withIviServiceMockOnMainThread overload that takes a KClass instance.
Link copied to clipboard
fun <T : AnyIviServiceBase, R> withIviServiceMockOnTestThread(iviServiceMockIdentifier: IviServiceMockIdentifier<T>, block: T.() -> R): R
Content copied to clipboard
See the IviServiceRule.withIviServiceMockOnTestThread overload that takes a IviServiceMockIdentifier instance.
fun <T : AnyIviServiceBase, R> withIviServiceMockOnTestThread(iviServiceMockClass: KClass<T>, block: T.() -> R): R
Content copied to clipboard
See the IviServiceRule.withIviServiceMockOnTestThread overload that takes a KClass instance.