TracerTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Trace\Tracer::class
Table of Contents
Properties
- $instrumentationScope : InstrumentationScope
- $tracer : Tracer
- $tracerSharedState : TracerSharedState
Methods
- nameProvider() : array<string|int, mixed>
- test_enabled() : void
- test_get_instrumentation_scope() : void
- test_returns_noop_span_builder_if_shared_state_is_shutdown() : void
- test_span_builder() : void
- setUp() : void
Properties
$instrumentationScope
private
InstrumentationScope
$instrumentationScope
$tracer
private
Tracer
$tracer
$tracerSharedState
private
TracerSharedState
$tracerSharedState
Methods
nameProvider()
public
static nameProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>test_enabled()
public
test_enabled() : void
test_get_instrumentation_scope()
public
test_get_instrumentation_scope() : void
test_returns_noop_span_builder_if_shared_state_is_shutdown()
public
test_returns_noop_span_builder_if_shared_state_is_shutdown() : void
Tags
test_span_builder()
public
test_span_builder(non-empty-string $name, string $expected) : void
Parameters
- $name : non-empty-string
- $expected : string
Attributes
- #[DataProvider]
- 'nameProvider'
- #[Group]
- 'trace-compliance'
setUp()
protected
setUp() : void