com.android.builder.testing
Interface TestData

All Known Implementing Classes:
VariantConfiguration

public interface TestData


Method Summary
 java.lang.String getApplicationId()
          Returns the application id.
 java.lang.Boolean getFunctionalTest()
           
 java.lang.Boolean getHandleProfiling()
           
 java.lang.String getInstrumentationRunner()
           
 com.android.builder.model.ApiVersion getMinSdkVersion()
          The min SDK version of the app
 java.util.Set<java.lang.String> getSupportedAbis()
          List of supported ABIs.
 java.lang.String getTestedApplicationId()
          Returns the tested application id.
 boolean isTestCoverageEnabled()
          Returns whether the tested app is enabled for code coverage
 

Method Detail

getApplicationId

@NonNull
java.lang.String getApplicationId()
Returns the application id.

Returns:
the id

getTestedApplicationId

@Nullable
java.lang.String getTestedApplicationId()
Returns the tested application id. This can be empty if the test package is self-contained.

Returns:
the id or null.

getInstrumentationRunner

@NonNull
java.lang.String getInstrumentationRunner()

getHandleProfiling

@NonNull
java.lang.Boolean getHandleProfiling()

getFunctionalTest

@NonNull
java.lang.Boolean getFunctionalTest()

isTestCoverageEnabled

boolean isTestCoverageEnabled()
Returns whether the tested app is enabled for code coverage


getMinSdkVersion

com.android.builder.model.ApiVersion getMinSdkVersion()
The min SDK version of the app


getSupportedAbis

@Nullable
java.util.Set<java.lang.String> getSupportedAbis()
List of supported ABIs. Null means all.

Returns:
a list of abi or null for all