FailureRetention
@Incubating interface FailureRetention : EmulatorSnapshots
This interface is deprecated. Renamed to EmulatorSnapshots
Options for configuring Android Test Retention.
When enabled, Android Test Retention automatically takes emulator snapshots on test failures.
Summary
Public properties
Boolean
This property is deprecated. Renamed to enableForTestFailures
Int
This property is deprecated. Renamed to maxSnapshotsForTestFailures
Inherited functions
From class EmulatorSnapshots
Unit
Call this function to take unlimited number of test failure snapshots (will ignore maxSnapshotsForTestFailures setting)
Public properties
enable
val enable : Boolean
This property is deprecated. Renamed to enableForTestFailures
maxSnapshots
val maxSnapshots : Int
This property is deprecated. Renamed to maxSnapshotsForTestFailures
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-09-14 UTC.
[null,null,["Last updated 2023-09-14 UTC."],[],[]]