DoNotRecord Interface

Implements

public interface DoNotRecord
implements Annotation

Annotation given to some tests to indicate that network calls made during the test shouldn't be recorded or there won't be any network calls made during the test to prevent creating an empty recording.

Method Summary

Modifier and Type Method and Description
abstract boolean skipInPlayback()

Deprecated

If a test should not run in playback, use LiveOnly instead. This will be removed in a future release.

Returns whether the test will be ignored during a PLAYBACK test run.

Method Details

skipInPlayback

@Deprecated
public abstract boolean skipInPlayback()

Deprecated

If a test should not run in playback, use LiveOnly instead. This will be removed in a future release.

Returns whether the test will be ignored during a PLAYBACK test run.

Returns:

Flag indicating if the test will be ignored during a playback test run.

Applies to