ConfigurationFactoryTest
extends TestCase
in package
FinalYes
Attributes
- #[CoversClass]
- \OpenTelemetry\Config\SDK\Configuration\ConfigurationFactory::class
Table of Contents
Properties
- $cacheDir : string
- $properties : mixed
Methods
- openTelemetryConfigurationDataProvider() : iterable<string|int, mixed>
- setUp() : void
- tearDown() : void
- test_cache_configuration() : void
- test_env_substitution_non_string() : void
- test_env_substitution_spec_examples() : void
- test_env_substitution_string() : void
- test_open_telemetry_configuration() : void
- test_treat_null_as_unset() : void
- factory() : ConfigurationFactory
- getPropertiesFromPlugin() : array<string|int, mixed>
Properties
$cacheDir
public
string
$cacheDir
$properties
public
mixed
$properties
Methods
openTelemetryConfigurationDataProvider()
public
static openTelemetryConfigurationDataProvider() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>setUp()
public
setUp() : void
tearDown()
public
tearDown() : void
test_cache_configuration()
public
test_cache_configuration() : void
test_env_substitution_non_string()
public
test_env_substitution_non_string() : void
Attributes
- #[BackupGlobals]
- true
test_env_substitution_spec_examples()
public
test_env_substitution_spec_examples() : void
Tags
test_env_substitution_string()
public
test_env_substitution_string() : void
Attributes
- #[BackupGlobals]
- true
- #[CoversNothing]
test_open_telemetry_configuration()
public
test_open_telemetry_configuration(string $file) : void
Parameters
- $file : string
Attributes
- #[DataProvider]
- 'openTelemetryConfigurationDataProvider'
test_treat_null_as_unset()
public
test_treat_null_as_unset() : void
factory()
private
factory() : ConfigurationFactory
Return values
ConfigurationFactorygetPropertiesFromPlugin()
private
getPropertiesFromPlugin(ComponentPlugin $plugin) : array<string|int, mixed>
Parameters
- $plugin : ComponentPlugin