SpanContextTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\API\Trace\SpanContext::class
Table of Contents
Constants
- FIRST_SPAN_ID = '0000000000000061'
- FIRST_TRACE_ID = '00000000000000000000000000000061'
- SECOND_SPAN_ID = '3000000000000000'
- SECOND_TRACE_ID = '00000000000000300000000000000000'
Properties
Methods
- test_get_span_id() : void
- test_get_trace_and_span_id_binary() : void
- test_get_trace_flags() : void
- test_get_trace_id() : void
- test_get_trace_state() : void
- test_is_remote() : void
- test_is_valid() : void
- setUp() : void
Constants
FIRST_SPAN_ID
private
mixed
FIRST_SPAN_ID
= '0000000000000061'
FIRST_TRACE_ID
private
mixed
FIRST_TRACE_ID
= '00000000000000000000000000000061'
SECOND_SPAN_ID
private
mixed
SECOND_SPAN_ID
= '3000000000000000'
SECOND_TRACE_ID
private
mixed
SECOND_TRACE_ID
= '00000000000000300000000000000000'
Properties
$first
private
SpanContextInterface
$first
$remote
private
SpanContextInterface
$remote
$second
private
SpanContextInterface
$second
Methods
test_get_span_id()
public
test_get_span_id() : void
test_get_trace_and_span_id_binary()
public
test_get_trace_and_span_id_binary() : void
test_get_trace_flags()
public
test_get_trace_flags() : void
test_get_trace_id()
public
test_get_trace_id() : void
test_get_trace_state()
public
test_get_trace_state() : void
test_is_remote()
public
test_is_remote() : void
test_is_valid()
public
test_is_valid() : void
setUp()
protected
setUp() : void