HasAndroidTestBuilder

@Incubating interface HasAndroidTestBuilder
com.android.build.api.variant.HasAndroidTestBuilder

Interface that mark the potential existence of android tests associated with a variant.

Summary

Properties

abstract Boolean

Set to true if the variant's has any android tests, false otherwise.

abstract Boolean

Set to true if the variant's has any android tests, false otherwise.

Properties

androidTestEnabled

abstract var androidTestEnabled: Boolean

Deprecated.

Set to true if the variant's has any android tests, false otherwise. Value is Boolean#True by default.

enableAndroidTest

abstract var enableAndroidTest: Boolean

Set to true if the variant's has any android tests, false otherwise. Value is Boolean#True by default.