你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

com.azure.core.test.utils

Package containing utility classes used for testing Azure client libraries.

Classes

HttpURLConnectionHttpClient

A HttpClient that uses the JDK HttpURLConnection.

MessageDigestUtils

Utilities to compute hashes in tests.

MockTokenCredential

This class mocks the behavior of TokenCredential without making a network call with dummy credentials.

ResourceNamer

A random string generator used in tests.

TestConfigurationSource

Test configuration source implementation.

TestProxyDownloader

Class for managing downloads of the test proxy

TestProxyManager

Manages running the test recording proxy server

TestProxyUtils

Utility functions for interaction with the test proxy.

TestResourceNamer

Provides random string names.

TestUtils

Contains utility methods used for testing.