Package com.tomtom.ivi.platform.safetylock.api.testing.functional


Link copied to clipboard
fun IviServiceAwareTestCase.forceDrivingState(drivingState: DrivingState?)

Uses the debug menu to force the driving state to the given drivingState. This can be used to enable or disable safety lock without having to rely on the true state of navigation or vehicle functions.

Link copied to clipboard
fun IviServiceAwareTestCase.waitForSafetyLockedEnabled(enabled: Boolean)

Waits for safety lock to be set to enabled, verified by observing the contents of the debug panel.