SamplingResultTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Trace\SamplingResult::class
Table of Contents
Methods
- provideAttributesAndLinks() : array<string|int, mixed>
- Provide different sets of data to test SamplingResult constructor and getters
- test_attributes_and_links_getters() : void
Methods
provideAttributesAndLinks()
Provide different sets of data to test SamplingResult constructor and getters
public
static provideAttributesAndLinks() : array<string|int, mixed>
Return values
array<string|int, mixed>test_attributes_and_links_getters()
public
test_attributes_and_links_getters(mixed $attributes, mixed $traceState) : void
Parameters
- $attributes : mixed
- $traceState : mixed
Attributes
- #[DataProvider]
- 'provideAttributesAndLinks'