共用方式為


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 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