Package-level declarations

Types

Link copied to clipboard
@IviExperimental(reasons = [])
class DebugTab(val pageTitle: String)

A reference to a tab in TomTom Digital Cockpit's debug panel. It is used by functional tests to identify tabs, for example to "navigate to" by using navigateToDebugTab, openDebugPanelAndNavigateTo or withDebugTab.

Functions

Link copied to clipboard

Closes the debug panel by calling the showDebugPanelAsync(false) of the DebugPanelService. This may only be called when the debug menu is opened.

Link copied to clipboard

Navigates to the given debugTab within the opened debug panel.

Link copied to clipboard

Open the debug panel by calling the showDebugPanelAsync(true) of the DebugPanelService. This may only be called when the debug menu is not already opened.

Link copied to clipboard

Open the debug panel by calling the showDebugPanelAsync(true) of the DebugPanelService and navigate to debugTab. This may only be called when the debug menu is not already opened.

Link copied to clipboard
@IviExperimental(reasons = [])
fun IviServiceAwareTestCase.withDebugTab(debugTab: DebugTab, action: () -> Unit)

Opens the debug panel and executes action while the debugTab is selected in the debug panel. Afterwards the debug panel is closed.