PropagatorFactoryTest
extends TestCase
uses
TestState
-
#[CoversClass]
-
\OpenTelemetry\SDK\Propagation\PropagatorFactory::class
Table of Contents
Properties
-
$environmentVariables
: array<string|int, mixed>
Methods
-
propagatorsProvider()
: array<string|int, mixed>
-
setUp()
: void
-
test_create()
: void
-
test_unimplemented_propagators()
: void
-
unimplementedPropagatorProvider()
: array<string|int, mixed>
-
restoreEnvironmentVariables()
: void
-
setEnvironmentVariable()
: void
-
tearDownSharedState()
: void
$environmentVariables
private
array<string|int, mixed>
$environmentVariables
= []
propagatorsProvider()
public
static propagatorsProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
setUp()
public
setUp() : void
test_create()
public
test_create(string $propagators, string $expected) : void
Parameters
-
$propagators
: string
-
-
$expected
: string
-
-
psalm-suppress
-
-
#[DataProvider]
-
'propagatorsProvider'
test_unimplemented_propagators()
public
test_unimplemented_propagators(string $propagator) : void
Parameters
-
$propagator
: string
-
-
#[DataProvider]
-
'unimplementedPropagatorProvider'
unimplementedPropagatorProvider()
public
static unimplementedPropagatorProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
restoreEnvironmentVariables()
protected
restoreEnvironmentVariables() : void
setEnvironmentVariable()
protected
setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
-
$variable
: string
-
-
$value
: mixed
-
tearDownSharedState()
protected
tearDownSharedState() : void