FrontendTestCase
abstract class FrontendTestCase(initialIviServiceTestConfiguration: IviServiceTestConfiguration? = defaultFrontendServiceTestConfiguration) : TestIviActivityTestCase
Content copied to clipboard
Base class for frontend tests which use the TestIviApplication.
See TestIviActivityTestCase for more information.
By default, this class configures the TestIviApplication with the map display mock frontend and the main menu frontend and adds the SystemUiMenuItemsServiceMock to the IVI service configuration.
Initializes the SystemUiMenuItemsServiceMock before starting the test when the iviServiceTestConfiguration contains the mock.
Constructors
Link copied to clipboard
fun FrontendTestCase(initialIviServiceTestConfiguration: IviServiceTestConfiguration? = defaultFrontendServiceTestConfiguration)
Content copied to clipboard
Types
Inherited properties
Functions
Inherited functions
Link copied to clipboard
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
fun hasIviServiceMock(iviServiceMockClass: KClass<out AnyIviServiceBase>): Boolean
Content copied to clipboard
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
Link 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
fun <T : AnyIviServiceBase, R> withIviServiceMockOnMainThread(iviServiceMockClass: KClass<T>, block: T.() -> R): R
Content copied to clipboard
Link copied to clipboard
fun <T : AnyIviServiceBase, R> withIviServiceMockOnTestThread(iviServiceMockIdentifier: IviServiceMockIdentifier<T>, block: T.() -> R): R
Content copied to clipboard
fun <T : AnyIviServiceBase, R> withIviServiceMockOnTestThread(iviServiceMockClass: KClass<T>, block: T.() -> R): R
Content copied to clipboard