-
- All Implemented Interfaces:
public abstract class InstrumentationTestOptionsOptions for controlling instrumentation test execution
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanenabledprivate BooleanintegrityCheckEnabled
-
Constructor Summary
Constructors Constructor Description InstrumentationTestOptions()
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency. final UnitsetEnabled(Boolean enabled)Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency. final BooleangetIntegrityCheckEnabled()Whether to check if the instrumentation tests are correctly set up. final UnitsetIntegrityCheckEnabled(@Deprecated(message = "Starting with android-junit5 1.9.0.0, instrumentation tests are automatically configured correctly when the junit-jupiter-api dependency is added as an androidTestImplementation dependency; this flag no longer does anything and can be safely removed. If you don't want to automatically configure JUnit 5 instrumentation tests, use the `enabled` flag.") Boolean integrityCheckEnabled)Whether to check if the instrumentation tests are correctly set up. final Unitenabled(Boolean state)Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency. final UnitintegrityCheckEnabled(Boolean state)Whether to check if the instrumentation tests are correctly set up. -
-
Method Detail
-
getEnabled
@Input() final Boolean getEnabled()
Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.
-
setEnabled
final Unit setEnabled(Boolean enabled)
Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.
-
getIntegrityCheckEnabled
@Input() final Boolean getIntegrityCheckEnabled()
Whether to check if the instrumentation tests are correctly set up. If this is disabled, the plugin won't raise an error during evaluation if the instrumentation libraries or the test runner are missing.
-
setIntegrityCheckEnabled
final Unit setIntegrityCheckEnabled(@Deprecated(message = "Starting with android-junit5 1.9.0.0, instrumentation tests are automatically configured correctly when the junit-jupiter-api dependency is added as an androidTestImplementation dependency; this flag no longer does anything and can be safely removed. If you don't want to automatically configure JUnit 5 instrumentation tests, use the `enabled` flag.") Boolean integrityCheckEnabled)
Whether to check if the instrumentation tests are correctly set up. If this is disabled, the plugin won't raise an error during evaluation if the instrumentation libraries or the test runner are missing.
-
enabled
final Unit enabled(Boolean state)
Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.
-
integrityCheckEnabled
@Deprecated(message = "Starting with android-junit5 1.9.0.0, instrumentation tests are automatically configured correctly when the junit-jupiter-api dependency is added as an androidTestImplementation dependency; this flag no longer does anything and can be safely removed. If you don't want to automatically configure JUnit 5 instrumentation tests, use the `enabled` flag.") final Unit integrityCheckEnabled(Boolean state)
Whether to check if the instrumentation tests are correctly set up. If this is disabled, the plugin won't raise an error during evaluation if the instrumentation libraries or the test runner are missing.
-
-
-
-