Implementation of TestData for separate test modules.
Constructor and description |
---|
TestApplicationTestData
(BaseVariantData<? extends BaseVariantOutputData> testVariantData, org.gradle.api.artifacts.Configuration testedConfiguration, org.gradle.api.artifacts.Configuration testedMetadata, AndroidBuilder androidBuilder) |
Type | Name and description |
---|---|
String |
getApplicationId() |
File |
getMainApk() Retrieve the main APK from the list of APKs published by the tested configuration. |
List<File> |
getSplitApks() |
File |
getTestApk() |
List<File> |
getTestDirectories() |
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) |
String |
getTestedApplicationId() |
boolean |
isLibrary() |
Methods inherited from class | Name |
---|---|
class AbstractTestDataImpl |
getFlavorName, getInstrumentationRunner, getInstrumentationRunnerArguments, getMinSdkVersion, isTestCoverageEnabled, setExtraInstrumentationTestRunnerArgs |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Retrieve the main APK from the list of APKs published by the tested configuration. There can be multiple split APKs along the main APK returned by the configuration.