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

TestConfigurationSource Class

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

Implements

public final class TestConfigurationSource
implements ConfigurationSource

Test configuration source implementation.

Constructor Summary

Constructor Description
TestConfigurationSource()

Creates TestConfigurationSource with given property names and values.

Method Summary

Modifier and Type Method and Description
Map<String,String> getProperties(String path)
TestConfigurationSource put(String name, String value)

Adds property name and value to the source.

Methods inherited from java.lang.Object

Constructor Details

TestConfigurationSource

public TestConfigurationSource()

Creates TestConfigurationSource with given property names and values.

Method Details

getProperties

public Map<String,String> getProperties(String path)

Parameters:

path

put

public TestConfigurationSource put(String name, String value)

Adds property name and value to the source.

Parameters:

name - property name
value - property value

Returns:

this TestConfigurationSource for chaining.

Applies to