TestSuiteSourceSet

Added in 9.1.0-alpha02

@Incubating
interface TestSuiteSourceSet : Named


A test source abstraction which can be either an asset folder, a host jar source, or a test apk source.

Test suite sources attached to the TestSuite. These are not specific to a single variant but shared between all variants that the test suite targets through the com.android.build.api.dsl.AgpTestSuite.targetVariants API.

Summary

Nested types

Represents a TestSuiteSourceSet for asset based tests.

Represents a TestSuiteSourceSet for host jars.

Represents a TestSuiteSourceSet for test apks.

Public properties

AgpTestSuiteDependencies?

The dependencies associated with this source or null if this type does not support source dependencies (like TestSuiteSourceType.ASSETS]).

TestSuiteSourceType

The source type.

Inherited functions

From org.gradle.api.Named

Public properties

dependencies

Added in 9.1.0-alpha02
val dependenciesAgpTestSuiteDependencies?

The dependencies associated with this source or null if this type does not support source dependencies (like TestSuiteSourceType.ASSETS]).

The dependencies added through the DSL declarations will not be queryable through the returned instance. This dependencies is only for adding new dependencies that were not added at the DSL declaration.

type

Added in 9.1.0-alpha02
val typeTestSuiteSourceType

The source type.