IviActivityTestCase
abstract class IviActivityTestCase(activityIntent: Intent) : IviFunctionalTestCase
Content copied to clipboard
Base class for tests that require an IVI activity to be launched.
Constructors
Types
Properties
Link copied to clipboard
Link copied to clipboard
true
if location simulation is possible. If false
, location simulation is not possible because the SUT is not configured with the LocationSimulationService or the mock_location
permission is not granted.
Link copied to clipboard
Note: Not annotated with @Rule. See iviActivityTestRuleChain.
Link copied to clipboard
Inherited properties
Functions
Link copied to clipboard
Ensures system localization settings are always reset to default
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Verifies if Android soft input is hidden.
Link copied to clipboard
Verifies if Android soft input is shown.
Link copied to clipboard
Inherited functions
Link copied to clipboard
inline fun <T : TraceEventConsumer> createTraceEventConsumer(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.
Link copied to clipboard
Link copied to clipboard
fun registerTraceEventConsumer( traceEventConsumer: TraceEventConsumer, contextRegex: Regex?, localProcessOnly: Boolean = false)
Content copied to clipboard
Do not use. Use createTraceEventConsumer instead.