# TestComponentProperties

# TestComponentProperties

```
@Incubating interface TestComponentProperties : ComponentProperties
```

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.component.TestComponentProperties](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/TestComponentProperties#) |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [AndroidTestProperties](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/AndroidTestProperties),[UnitTestProperties](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/UnitTestProperties) |---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------| | [AndroidTestProperties](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/AndroidTestProperties) | Properties for the android test Variant of a module | | [UnitTestProperties](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/UnitTestProperties)       | Properties for the unit test Variant of a module    | |

## Summary

|                                                                                                                                                                       ### Properties                                                                                                                                                                        ||
|-------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[VariantProperties](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/variant/VariantProperties.html#) | [testedVariant](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/TestComponentProperties#testedVariant:com.android.build.api.variant.VariantProperties) <br /> |

| ### Inherited properties ||
|---|---|
| From class[ComponentProperties](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/ComponentProperties) |--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Artifacts](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/artifact/Artifacts.html#) | [artifacts](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/ComponentProperties#artifacts:com.android.build.api.artifact.Artifacts) <br /> Access to the variant's buildable artifacts for build customization. <br /> | ||
| From class[ComponentIdentity](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/ComponentIdentity) |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?                                                                                                                                                                                                                                                            | [buildType](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/ComponentIdentity#buildType:kotlin.String) <br /> Build Type name, might be replaced with access to locked DSL object once ready <br />                                                                                                                                                                                      | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)                                                                                                                                                                                                                                                             | [flavorName](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/ComponentIdentity#flavorName:kotlin.String) <br /> The multi-flavor name of the variant. This does not include the build type. If no flavors are present, this is an empty string. The full name of the variant is queried via[getName](https://docs.gradle.org/current/javadoc/org/gradle/api/Named.html#getName()) <br /> | | [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Pair](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>> | [productFlavors](https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/component/ComponentIdentity#productFlavors:kotlin.collections.List) <br /> List of flavor names, might be replaced with access to locked DSL objects once ready The order is properly sorted based on the associated dimension order <br />                                                                                       | ||

## Properties

### testedVariant

```
abstract val testedVariant: VariantProperties
```