TestProxyDownloader Class
- java.
lang. Object - com.
azure. core. test. utils. TestProxyDownloader
- com.
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