HasDeviceTests

Added in 8.4.0

@Incubating
interface HasDeviceTests

Known direct subclasses
ApplicationVariant

Model for application components that only contains build-time properties.

DynamicFeatureVariant

Model for dynamic feature components that only contains build-time properties.

KotlinMultiplatformAndroidVariant

Properties for the main Variant of a kotlin multiplatform android library

LibraryVariant

Model for library components that only contains build-time properties.


Variant that optionally have DeviceTest components like AndroidTest.

Summary

Public properties

Map<StringDeviceTest>

Variant's Map of DeviceTest configurations, or empty if all devices tests (like android tests) are disabled for this variant.

Public properties

deviceTests

Added in 8.4.0
val deviceTestsMap<StringDeviceTest>

Variant's Map of DeviceTest configurations, or empty if all devices tests (like android tests) are disabled for this variant.

Returns
Map<StringDeviceTest>

a Map which keys are unique names within the tested variant like DeviceTestBuilder.ANDROID_TEST_TYPE and the values are DeviceTest for that host test suite.