TracerProviderFactoryTest
extends TestCase
in package
uses
TestState
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Trace\TracerProviderFactory::class
Table of Contents
Properties
- $environmentVariables : array<string|int, mixed>
- $logWriter : LogWriterInterface|MockObject
Methods
- setUp() : void
- test_can_be_disabled() : void
- test_factory_creates_tracer() : void
- test_factory_logs_warnings_and_continues() : void
- restoreEnvironmentVariables() : void
- setEnvironmentVariable() : void
- tearDownSharedState() : void
Properties
$environmentVariables
private
array<string|int, mixed>
$environmentVariables
= []
$logWriter
private
LogWriterInterface|MockObject
$logWriter
Methods
setUp()
public
setUp() : void
test_can_be_disabled()
public
test_can_be_disabled() : void
test_factory_creates_tracer()
public
test_factory_creates_tracer() : void
test_factory_logs_warnings_and_continues()
public
test_factory_logs_warnings_and_continues() : 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]