API for tested variant api object.
Type | Name and description |
---|---|
TestVariant |
getTestVariant() Returns the build variant that will test this build variant. |
UnitTestVariant |
getUnitTestVariant() Returns the build variant that contains the unit tests for this variant. |
void |
setTestVariant(TestVariant testVariant) |
void |
setUnitTestVariant(UnitTestVariant testVariant) |
Returns the build variant that will test this build variant.
The android test variant exists only for one build type, by default "debug". This is controlled by TestedAndroidConfig.getTestBuildType.
Returns the build variant that contains the unit tests for this variant.