CompositeTest
extends TestCase
in package
uses
TestState
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Resource\Detectors\Composite::class
Table of Contents
Properties
- $environmentVariables : array<string|int, mixed>
Methods
- tearDown() : void
- test_composite_get_resource() : void
- test_composite_get_resource_with_service_instance_id_from_resource_attributes() : mixed
- test_composite_with_empty_resource_detectors() : void
- restoreEnvironmentVariables() : void
- setEnvironmentVariable() : void
- tearDownSharedState() : void
Properties
$environmentVariables
private
array<string|int, mixed>
$environmentVariables
= []
Methods
tearDown()
public
tearDown() : void
test_composite_get_resource()
public
test_composite_get_resource() : void
test_composite_get_resource_with_service_instance_id_from_resource_attributes()
public
test_composite_get_resource_with_service_instance_id_from_resource_attributes() : mixed
test_composite_with_empty_resource_detectors()
public
test_composite_with_empty_resource_detectors() : void
restoreEnvironmentVariables()
protected
restoreEnvironmentVariables() : void
Attributes
- #[After]
setEnvironmentVariable()
protected
setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
- $variable : string
- $value : mixed
tearDownSharedState()
protected
tearDownSharedState() : void
Attributes
- #[After]