IviE2eTestCase

interface IviE2eTestCase : IviServiceAwareTestCase

Interface of E2E test case.

This interface allows E2E test case extensions functions to be used regardless of the test case (base) class.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun registerTraceEventConsumer(    traceEventConsumer: TraceEventConsumer,     contextRegex: Regex?,     localProcessOnly: Boolean = false)

Do not use. Use createTraceEventConsumer instead.

Link copied to clipboard
abstract fun webserviceMockCaptureYield(description: String)
abstract fun webserviceMockCaptureYield(description: String, durationMs: Long)

Inherited functions

Link copied to clipboard
abstract fun <R> createApiWrapper(iviInstanceId: IviInstanceId = IviFunctionalTestCase.defaultIviInstanceId, callback: CreateApiCallback<R>): R

Wrapper around <Service>.createApi() calls.

Link copied to clipboard
abstract fun getServiceIdsWrapper(iviInstanceId: IviInstanceId = IviFunctionalTestCase.defaultIviInstanceId, callback: GetServiceIdsCallback): List<IviServiceId>

Wrapper around <Service>.getServiceIds calls.

Extensions

Link copied to clipboard
inline fun <T : TraceEventConsumer> IviE2eTestCase.createTraceEventConsumer(contextRegex: Regex? = null, localProcessOnly: Boolean = false): T

Creates a TraceEventConsumer that can be used to verify whether trace events are generated during a test. See TraceEventConsumersRule for description and example usages.