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

TestProxyDownloader Class

  • java.lang.Object
    • com.azure.core.test.utils.TestProxyDownloader

public final class TestProxyDownloader

Class for managing downloads of the test proxy

Method Summary

Modifier and Type Method and Description
static Path getProxyDirectory()

Reports the directory the test proxy was installed to.

static void installTestProxy(Path testClassPath)

Requests that the test proxy be downloaded and unpacked.

Methods inherited from java.lang.Object

Method Details

getProxyDirectory

public static Path getProxyDirectory()

Reports the directory the test proxy was installed to.

Returns:

A Path with the test proxy location.

installTestProxy

public static void installTestProxy(Path testClassPath)

Requests that the test proxy be downloaded and unpacked. If it is already present this is a no-op.

Parameters:

testClassPath - the test class path

Applies to