GeneratesTestApk

public interface GeneratesTestApk extends GeneratesApk

Known direct subclasses
AndroidTest

Properties for the android test Variant of a module.

TestVariant

Variant for test-only modules.


Summary

Public methods

abstract @NonNull Property<@NonNull Boolean>

The functionalTest value to use to run the tests.

abstract @NonNull Property<@NonNull Boolean>

The handleProfiling value to use to run the tests.

abstract @NonNull Property<@NonNull String>

The instrumentationRunner to use to run the tests.

abstract @NonNull MapProperty<@NonNull String, @NonNull String>

The instrumentationRunnerArguments to use to run the tests.

abstract @NonNull Property<String>

The test label.

Inherited methods

From com.android.build.api.variant.GeneratesApk
abstract @NonNull AndroidResources

Variant's android resources processing configuration, initialized by the corresponding global DSL element.

abstract @NonNull Provider<@NonNull String>

Variant's application ID as present in the final manifest file of the APK.

abstract @NonNull ApkPackaging

Variant's packagingOptions, initialized by the corresponding global DSL element.

abstract Renderscript

Variant specific settings for the renderscript compiler.

abstract @NonNull AndroidVersion

Target SDK version for this variant.

abstract @NonNull AndroidVersion

Public methods

getFunctionalTest

abstract @NonNull Property<@NonNull BooleangetFunctionalTest()

The functionalTest value to use to run the tests.

getHandleProfiling

abstract @NonNull Property<@NonNull BooleangetHandleProfiling()

The handleProfiling value to use to run the tests.

getInstrumentationRunner

abstract @NonNull Property<@NonNull StringgetInstrumentationRunner()

The instrumentationRunner to use to run the tests.

getInstrumentationRunnerArguments

abstract @NonNull MapProperty<@NonNull String, @NonNull StringgetInstrumentationRunnerArguments()

The instrumentationRunnerArguments to use to run the tests.

getTestLabel

abstract @NonNull Property<StringgetTestLabel()

The test label.