SpanContextTest
extends TestCase
Table of Contents
Methods
-
invalidSpanData()
: array<string|int, mixed>
-
test_context_is_not_remote_from_constructor()
: void
-
test_context_is_remote_from_restore()
: void
-
test_getters_work()
: void
-
test_invalid_span()
: void
-
test_random_generated_ids_create_valid_context()
: void
-
test_sampled_span()
: void
-
test_valid_span()
: void
invalidSpanData()
public
static invalidSpanData() : array<string|int, mixed>
Return values
array<string|int, mixed>
test_context_is_not_remote_from_constructor()
public
test_context_is_not_remote_from_constructor() : void
test_context_is_remote_from_restore()
public
test_context_is_remote_from_restore() : void
-
#[Group]
-
'trace-compliance'
test_getters_work()
public
test_getters_work() : void
test_invalid_span()
public
test_invalid_span(string $traceId, string $spanId) : void
Parameters
-
$traceId
: string
-
-
$spanId
: string
-
-
#[DataProvider]
-
'invalidSpanData'
test_random_generated_ids_create_valid_context()
public
test_random_generated_ids_create_valid_context() : void
test_sampled_span()
public
test_sampled_span() : void
test_valid_span()
public
test_valid_span() : void
-
#[Group]
-
'trace-compliance'