AndroidInstrumentationTest class

A test of an Android application that can control an Android component independently of its normal lifecycle.

See for more information on types of Android tests.

Constructors

AndroidInstrumentationTest({String? testPackageId, String? testRunnerClass, List<String>? testTargets, bool? useOrchestrator})
AndroidInstrumentationTest.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testPackageId String?
The java package for the test to be executed.
getter/setter pair
testRunnerClass String?
The InstrumentationTestRunner class.
getter/setter pair
testTargets List<String>?
Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run.
getter/setter pair
useOrchestrator bool?
The flag indicates whether Android Test Orchestrator will be used to run test or not.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited