azure-docs-sdk-java/docs-ref-autogen/com.azure.core.test.TestPro...

66 строки
6.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.test.TestProxyTestBase"
fullName: "com.azure.core.test.TestProxyTestBase"
name: "TestProxyTestBase"
nameWithType: "TestProxyTestBase"
summary: "Base class for running live and playback tests using test-proxy"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.test.TestBase?alt=com.azure.core.test.TestBase&text=TestBase\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.test.TestBase.<T,U>setPlaybackPollerFluxPollInterval(com.azure.core.util.polling.PollerFlux<T,U>)?alt=com.azure.core.test.TestBase.<T,U>setPlaybackPollerFluxPollInterval&text=<T,U>setPlaybackPollerFluxPollInterval\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.<T,U>setPlaybackSyncPollerPollInterval(com.azure.core.util.polling.SyncPoller<T,U>)?alt=com.azure.core.test.TestBase.<T,U>setPlaybackSyncPollerPollInterval&text=<T,U>setPlaybackSyncPollerPollInterval\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.afterTest()?alt=com.azure.core.test.TestBase.afterTest&text=afterTest\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.beforeTest()?alt=com.azure.core.test.TestBase.beforeTest&text=beforeTest\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.getHttpClientOrUsePlayback(com.azure.core.http.HttpClient)?alt=com.azure.core.test.TestBase.getHttpClientOrUsePlayback&text=getHttpClientOrUsePlayback\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.getHttpClients()?alt=com.azure.core.test.TestBase.getHttpClients&text=getHttpClients\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.getTestClassPath()?alt=com.azure.core.test.TestBase.getTestClassPath&text=getTestClassPath\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.getTestMode()?alt=com.azure.core.test.TestBase.getTestMode&text=getTestMode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.getTestName()?alt=com.azure.core.test.TestBase.getTestName&text=getTestName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.isTestProxyEnabled()?alt=com.azure.core.test.TestBase.isTestProxyEnabled&text=isTestProxyEnabled\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.setTestProxyEnabled()?alt=com.azure.core.test.TestBase.setTestProxyEnabled&text=setTestProxyEnabled\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.setupClass()?alt=com.azure.core.test.TestBase.setupClass&text=setupClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.setupTest(com.azure.core.test.TestContextManager)?alt=com.azure.core.test.TestBase.setupTest&text=setupTest\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.shouldClientBeTested(com.azure.core.http.HttpClient)?alt=com.azure.core.test.TestBase.shouldClientBeTested&text=shouldClientBeTested\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.sleepIfRunningAgainstService(long)?alt=com.azure.core.test.TestBase.sleepIfRunningAgainstService&text=sleepIfRunningAgainstService\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.TestBase.teardownTest()?alt=com.azure.core.test.TestBase.teardownTest&text=teardownTest\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public abstract class **TestProxyTestBase**</br> extends <xref href=\"com.azure.core.test.TestBase?alt=com.azure.core.test.TestBase&text=TestBase\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.core.test.TestProxyTestBase.TestProxyTestBase()"
fullName: "com.azure.core.test.TestProxyTestBase.TestProxyTestBase()"
name: "TestProxyTestBase()"
nameWithType: "TestProxyTestBase.TestProxyTestBase()"
summary: "Creates an instance of <xref uid=\"com.azure.core.test.TestProxyTestBase\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TestProxyTestBase\"></xref>."
syntax: "public TestProxyTestBase()"
desc: "Creates an instance of <xref uid=\"com.azure.core.test.TestProxyTestBase\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TestProxyTestBase\"></xref>."
methods:
- uid: "com.azure.core.test.TestProxyTestBase.setupTestProxy()"
fullName: "com.azure.core.test.TestProxyTestBase.setupTestProxy()"
name: "setupTestProxy()"
nameWithType: "TestProxyTestBase.setupTestProxy()"
summary: "Before tests are executed, determines the test mode by reading the `AZURE_TEST_MODE` environment variable."
modifiers:
- "static"
syntax: "public static void setupTestProxy()"
desc: "Before tests are executed, determines the test mode by reading the `AZURE_TEST_MODE` environment variable. If it is not set, <xref uid=\"com.azure.core.test.TestMode.PLAYBACK\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TestMode#PLAYBACK\"></xref>"
type: "class"
desc: "Base class for running live and playback tests using test-proxy"
metadata: {}
package: "com.azure.core.test"
artifact: com.azure:azure-core-test:1.26.2