Data representing the test app and the tested application/library.
Type | Name and description |
---|---|
String |
getApplicationId() Returns the application id. |
String |
getFlavorName() Returns the flavor name being test. |
String |
getInstrumentationRunner() |
Map<String, String> |
getInstrumentationRunnerArguments() |
com.android.builder.model.ApiVersion |
getMinSdkVersion() The min SDK version of the app |
File |
getTestApk() Returns the APK containing the test classes for the application. |
List<File> |
getTestDirectories() Returns the list of directories containing test so the build system can check the presence of tests before deploying anything. |
com.google.common.collect.ImmutableList<File> |
getTestedApks(com.android.ide.common.process.ProcessExecutor processExecutor, File splitSelectExe, com.android.builder.testing.api.DeviceConfigProvider deviceConfigProvider, com.android.utils.ILogger logger) Returns an APK file to install based on given density and abis. |
String |
getTestedApplicationId() Returns the tested application id. |
boolean |
isLibrary() |
boolean |
isTestCoverageEnabled() Returns whether the tested app is enabled for code coverage |
Returns the application id.
Returns the flavor name being test.
The min SDK version of the app
Returns the APK containing the test classes for the application.
Returns the list of directories containing test so the build system can check the presence of tests before deploying anything.
Returns an APK file to install based on given density and abis.
processExecutor
- an executor for slave processes.splitSelectExe
- path to the split-select native tool.deviceConfigProvider
- provider for the test device characteristics.Returns the tested application id. This can be empty if the test package is self-contained.
Returns whether the tested app is enabled for code coverage