IviServiceApiRule
class IviServiceApiRule(testLifecycleOwner: LifecycleOwner) : ResourceRule
Content copied to clipboard
Provides test access to IVI service APIs instances from the test thread.
Constructors
Properties
Link copied to clipboard
true
if the IVI service APIs instances can be created. false
if the SUT is not using a Android application that is derived from the IviApplication class.
Functions
Link copied to clipboard
fun <R> createApiWrapper(iviInstanceId: IviInstanceId = IviFunctionalTestCase.defaultIviInstanceId, callback: CreateApiCallback<R>): R
Content copied to clipboard
Wrapper around <Service>.createApi()
calls.
Link copied to clipboard
fun getServiceIdsWrapper(iviInstanceId: IviInstanceId = IviFunctionalTestCase.defaultIviInstanceId, callback: GetServiceIdsCallback): List<IviServiceId>
Content copied to clipboard
Wrapper around <Service>.getServiceIds
calls.