base 'android' extension for plugins that have a test component.
Fields inherited from class | Fields |
---|---|
class BaseExtension |
logger, project |
Type | Name and description |
---|---|
String |
testBuildType Name of the build type that will be used when running Android (on-device) tests. |
Constructor and description |
---|
TestedExtension
(org.gradle.api.internal.project.ProjectInternal project, org.gradle.internal.reflect.Instantiator instantiator, AndroidBuilder androidBuilder, SdkHandler sdkHandler, org.gradle.api.NamedDomainObjectContainer<BuildType> buildTypes, org.gradle.api.NamedDomainObjectContainer<GroupableProductFlavor> productFlavors, org.gradle.api.NamedDomainObjectContainer<SigningConfig> signingConfigs, ExtraModelInfo extraModelInfo, boolean isLibrary) |
Type | Name and description |
---|---|
void |
addTestVariant(TestVariant testVariant) |
org.gradle.api.internal.DefaultDomainObjectSet<TestVariant> |
getTestVariants() Returns the list of test variants. |
Name of the build type that will be used when running Android (on-device) tests.
Defaults to "debug".
Returns the list of test variants. Since the collections is built after evaluation,
it should be used with Groovy's all
iterator to process future items.
Gradle API 1.2.3