JUnitEngineSpecBuilder

Added in 9.0.0-alpha07

@Incubating
interface JUnitEngineSpecBuilder : JUnitEngineSpec


Summary

Public properties

MutableList<AgpTestSuiteInputParameters>

Returns a mutable list of inputs required by the junit engine running the test suite.

Inherited functions

From com.android.build.api.variant.JUnitEngineSpec
Unit
addInputProperty(propertyName: String, propertyValue: Provider<String>)

Adds a new key value pair property to the list of inputs of this test engine, the value will only be resolved at execution time.

Unit
@Incubating
addInputProperty(propertyName: String, propertyValue: String)

Adds a new key value pair property to the list of inputs for this test engine.

Inherited properties

From com.android.build.api.variant.JUnitEngineSpec
DependencyCollector

Returns a DependencyCollector that collects the set of runtime-only dependencies to find and load configured junit engines.

MutableSet<String>

Returns the final list of included engines for this tes suite.

Public properties

inputs

val inputsMutableList<AgpTestSuiteInputParameters>

Returns a mutable list of inputs required by the junit engine running the test suite.