SdkTest
extends TestCase
uses
TestState
-
#[CoversClass]
-
\OpenTelemetry\SDK\Sdk::class
Table of Contents
Properties
-
$environmentVariables
: array<string|int, mixed>
-
$eventLoggerProvider
: EventLoggerProviderInterface
-
$loggerProvider
: LoggerProviderInterface
-
$meterProvider
: MeterProviderInterface
-
$propagator
: TextMapPropagatorInterface
-
$tracerProvider
: TracerProviderInterface
Methods
-
disabledProvider()
: array<string|int, mixed>
-
instrumentationDisabledProvider()
: array<string|int, mixed>
-
setUp()
: void
-
tearDown()
: void
-
test_builder()
: void
-
test_getters()
: void
-
test_is_disabled()
: void
-
test_is_instrumentation_disabled()
: void
-
test_is_not_disabled_by_default()
: void
-
restoreEnvironmentVariables()
: void
-
setEnvironmentVariable()
: void
-
tearDownSharedState()
: void
disabledProvider()
public
static disabledProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
instrumentationDisabledProvider()
public
static instrumentationDisabledProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
setUp()
public
setUp() : void
tearDown()
public
tearDown() : void
test_builder()
public
test_builder() : void
test_getters()
public
test_getters() : void
test_is_disabled()
public
test_is_disabled(string $value, bool $expected) : void
Parameters
-
$value
: string
-
-
$expected
: bool
-
-
#[DataProvider]
-
'disabledProvider'
test_is_instrumentation_disabled()
public
test_is_instrumentation_disabled(string $value, string $name, bool $expected) : void
Parameters
-
$value
: string
-
-
$name
: string
-
-
$expected
: bool
-
-
#[DataProvider]
-
'instrumentationDisabledProvider'
test_is_not_disabled_by_default()
public
test_is_not_disabled_by_default() : void
restoreEnvironmentVariables()
protected
restoreEnvironmentVariables() : void
setEnvironmentVariable()
protected
setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
-
$variable
: string
-
-
$value
: mixed
-
tearDownSharedState()
protected
tearDownSharedState() : void