EnvironmentGetterSetterTest
extends TestCase
in package
uses
TestState
Attributes
- #[CoversClass]
- \OpenTelemetry\Context\Propagation\EnvironmentGetterSetter::class
Table of Contents
Properties
- $environmentVariables : array<string|int, mixed>
Methods
- test_can_get_all_values_from_environment() : void
- test_can_get_integer_value() : void
- test_for_empty_key() : void
- test_for_get_all_with_nonexistent_key() : void
- test_for_get_with_nonexistent_key() : void
- test_get_instance() : void
- test_get_values_from_environment() : void
- test_keys_from_environment() : void
- test_keys_with_empty_environment() : void
- test_set_empty_key() : void
- test_set_environment() : void
- restoreEnvironmentVariables() : void
- setEnvironmentVariable() : void
- tearDown() : void
- tearDownSharedState() : void
Properties
$environmentVariables
private
array<string|int, mixed>
$environmentVariables
= []
Methods
test_can_get_all_values_from_environment()
public
test_can_get_all_values_from_environment() : void
test_can_get_integer_value()
public
test_can_get_integer_value() : void
test_for_empty_key()
public
test_for_empty_key() : void
test_for_get_all_with_nonexistent_key()
public
test_for_get_all_with_nonexistent_key() : void
test_for_get_with_nonexistent_key()
public
test_for_get_with_nonexistent_key() : void
test_get_instance()
public
test_get_instance() : void
test_get_values_from_environment()
public
test_get_values_from_environment() : void
test_keys_from_environment()
public
test_keys_from_environment() : void
test_keys_with_empty_environment()
public
test_keys_with_empty_environment() : void
test_set_empty_key()
public
test_set_empty_key() : void
test_set_environment()
public
test_set_environment() : void
restoreEnvironmentVariables()
protected
restoreEnvironmentVariables() : void
Attributes
- #[After]
setEnvironmentVariable()
protected
setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
- $variable : string
- $value : mixed
tearDown()
protected
tearDown() : void
Attributes
- #[Override]
tearDownSharedState()
protected
tearDownSharedState() : void
Attributes
- #[After]