IviE2eTestCase
Interface of E2E test case.
This interface allows E2E test case extensions functions to be used regardless of the test case (base) class.
Types
Functions
Link copied to clipboard
abstract fun registerTraceEventConsumer( traceEventConsumer: TraceEventConsumer, contextRegex: Regex?, localProcessOnly: Boolean = false)
Content copied to clipboard
Do not use. Use createTraceEventConsumer instead.
Link copied to clipboard
abstract fun webserviceMockCaptureYield(description: String, durationMs: Long)
Content copied to clipboard
Inherited functions
Link copied to clipboard
abstract fun <R> createApiWrapper(iviInstanceId: IviInstanceId = IviFunctionalTestCase.defaultIviInstanceId, callback: CreateApiCallback<R>): R
Content copied to clipboard
Wrapper around <Service>.createApi()
calls.
Link copied to clipboard
abstract fun getServiceIdsWrapper(iviInstanceId: IviInstanceId = IviFunctionalTestCase.defaultIviInstanceId, callback: GetServiceIdsCallback): List<IviServiceId>
Content copied to clipboard
Wrapper around <Service>.getServiceIds
calls.
Extensions
Link copied to clipboard
inline fun <T : TraceEventConsumer> IviE2eTestCase.createTraceEventConsumer(contextRegex: Regex? = null, localProcessOnly: Boolean = false): T
Content copied to clipboard
Creates a TraceEventConsumer that can be used to verify whether trace events are generated during a test. See TraceEventConsumersRule for description and example usages.