30 строки
2.2 KiB
YAML
30 строки
2.2 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.test.annotation.DoNotRecord"
|
|
fullName: "com.azure.core.test.annotation.DoNotRecord"
|
|
name: "DoNotRecord"
|
|
nameWithType: "DoNotRecord"
|
|
summary: "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."
|
|
syntax: "public interface **DoNotRecord**</br> implements <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
|
|
methods:
|
|
- uid: "com.azure.core.test.annotation.DoNotRecord.skipInPlayback()"
|
|
fullName: "com.azure.core.test.annotation.DoNotRecord.skipInPlayback()"
|
|
name: "skipInPlayback()"
|
|
nameWithType: "DoNotRecord.skipInPlayback()"
|
|
summary: "Returns whether the test will be ignored during a <xref uid=\"com.azure.core.test.TestMode.PLAYBACK\" data-throw-if-not-resolved=\"false\" data-raw-source=\"playback\"></xref> test run."
|
|
deprecatedTag: "If a test should not run in playback, use <xref uid=\"com.azure.core.test.annotation.LiveOnly\" data-throw-if-not-resolved=\"false\" data-raw-source=\"LiveOnly\"></xref> instead. This will be removed in a future release."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public abstract boolean skipInPlayback()"
|
|
desc: "Returns whether the test will be ignored during a <xref uid=\"com.azure.core.test.TestMode.PLAYBACK\" data-throw-if-not-resolved=\"false\" data-raw-source=\"playback\"></xref> test run."
|
|
hasDeprecatedTag: true
|
|
returns:
|
|
description: "Flag indicating if the test will be ignored during a playback test run."
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "interface"
|
|
desc: "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."
|
|
implements:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
|
|
metadata: {}
|
|
package: "com.azure.core.test.annotation"
|
|
artifact: com.azure:azure-core-test:1.26.2
|